Update README.md

This commit is contained in:
Cherrytest
2024-09-18 16:06:51 +00:00
parent 94598bdd70
commit f59da311d9

View File

@@ -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"