Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: other
|
3 |
-
license_name:
|
4 |
license_link: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE
|
5 |
language:
|
6 |
- en
|
@@ -56,7 +56,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
56 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
57 |
prompt = "Give me a short introduction to large language model."
|
58 |
messages = [
|
59 |
-
{"role": "system", "content": "You are a helpful assistant."},
|
60 |
{"role": "user", "content": prompt}
|
61 |
]
|
62 |
text = tokenizer.apply_chat_template(
|
|
|
1 |
---
|
2 |
license: other
|
3 |
+
license_name: qwen-research
|
4 |
license_link: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE
|
5 |
language:
|
6 |
- en
|
|
|
56 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
57 |
prompt = "Give me a short introduction to large language model."
|
58 |
messages = [
|
59 |
+
{"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
|
60 |
{"role": "user", "content": prompt}
|
61 |
]
|
62 |
text = tokenizer.apply_chat_template(
|