From f59da311d9e8563ffc761c80d67faed99b576163 Mon Sep 17 00:00:00 2001 From: Cherrytest Date: Wed, 18 Sep 2024 16:06:51 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 282cdd3..01d92fa 100644 --- a/README.md +++ b/README.md @@ -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"