Update README.md
Browse files
README.md
CHANGED
|
@@ -9,6 +9,7 @@ tags:
|
|
| 9 |
- chat
|
| 10 |
---
|
| 11 |
|
|
|
|
| 12 |
# Qwen2-Math
|
| 13 |
|
| 14 |
## Introduction
|
|
@@ -60,7 +61,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 60 |
)
|
| 61 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 62 |
|
| 63 |
-
prompt = "
|
| 64 |
messages = [
|
| 65 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 66 |
{"role": "user", "content": prompt}
|
|
@@ -89,8 +90,13 @@ We strongly advise users especially those in mainland China to use ModelScope. `
|
|
| 89 |
|
| 90 |
## Citation
|
| 91 |
|
| 92 |
-
If you find our work helpful, feel free to give us a
|
| 93 |
|
| 94 |
```
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
```
|
|
|
|
| 9 |
- chat
|
| 10 |
---
|
| 11 |
|
| 12 |
+
|
| 13 |
# Qwen2-Math
|
| 14 |
|
| 15 |
## Introduction
|
|
|
|
| 61 |
)
|
| 62 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 63 |
|
| 64 |
+
prompt = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."
|
| 65 |
messages = [
|
| 66 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 67 |
{"role": "user", "content": prompt}
|
|
|
|
| 90 |
|
| 91 |
## Citation
|
| 92 |
|
| 93 |
+
If you find our work helpful, feel free to give us a citation.
|
| 94 |
|
| 95 |
```
|
| 96 |
+
@article{yang2024qwen2,
|
| 97 |
+
title={Qwen2 technical report},
|
| 98 |
+
author={Yang, An and Yang, Baosong and Hui, Binyuan and Zheng, Bo and Yu, Bowen and Zhou, Chang and Li, Chengpeng and Li, Chengyuan and Liu, Dayiheng and Huang, Fei and others},
|
| 99 |
+
journal={arXiv preprint arXiv:2407.10671},
|
| 100 |
+
year={2024}
|
| 101 |
+
}
|
| 102 |
```
|