Update README.md
This commit is contained in:
@@ -53,7 +53,7 @@ KeyError: 'qwen2'
|
||||
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
|
||||
|
||||
```python
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
from modelscope import AutoModelForCausalLM, AutoTokenizer
|
||||
|
||||
model_name = "Qwen/Qwen2.5-Coder-1.5B-Instruct"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user