From d45597fa3cb7a1d91c1be9e0bfeca96cac6f061a Mon Sep 17 00:00:00 2001 From: Yang An Date: Thu, 3 Aug 2023 16:55:54 +0800 Subject: [PATCH] Update README_CN.md --- README_CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_CN.md b/README_CN.md index 3b80510..6154766 100644 --- a/README_CN.md +++ b/README_CN.md @@ -94,7 +94,7 @@ print(tokenizer.decode(pred.cpu()[0], skip_special_tokens=True)) 运行Qwen-7B-Chat同样非常简单。下面是一个IPython的示例来展示如何交互式地使用`Qwen-7B-Chat`。 -```ipython +```python >>> from transformers import AutoModelForCausalLM, AutoTokenizer >>> from transformers.generation import GenerationConfig