Update README.md
Browse files
README.md
CHANGED
|
@@ -103,7 +103,7 @@ model = AutoModelForCausalLM.from_pretrained(model_name)
|
|
| 103 |
|
| 104 |
prompt = "Translate the following text from English into Chinese.
|
| 105 |
English: The concept came from China where plum blossoms were the flower of choice.
|
| 106 |
-
Chinese:
|
| 107 |
messages = [{"role": "user", "content": prompt}]
|
| 108 |
text = tokenizer.apply_chat_template(
|
| 109 |
messages,
|
|
|
|
| 103 |
|
| 104 |
prompt = "Translate the following text from English into Chinese.
|
| 105 |
English: The concept came from China where plum blossoms were the flower of choice.
|
| 106 |
+
Chinese:"
|
| 107 |
messages = [{"role": "user", "content": prompt}]
|
| 108 |
text = tokenizer.apply_chat_template(
|
| 109 |
messages,
|