joaogante HF Staff commited on
Commit
bcbb8d6
·
verified ·
1 Parent(s): 0dfb499

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -2
README.md CHANGED
@@ -32,8 +32,6 @@ Most models. More specifically, any `transformer` LLM/VLM trained for causal lan
32
  ```py
33
  from transformers import AutoModelForCausalLM, AutoTokenizer
34
 
35
- # `generate` with `custom_generate` -> `generate` uses custom code
36
- # note: calling the custom method prints "✨ using a custom generation method ✨"
37
  tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
38
  model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct", device_map="auto")
39
 
 
32
  ```py
33
  from transformers import AutoModelForCausalLM, AutoTokenizer
34
 
 
 
35
  tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
36
  model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct", device_map="auto")
37