Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,8 @@ language:
|
|
5 |
base_model:
|
6 |
- Qwen/Qwen2.5-1.5B-Instruct
|
7 |
pipeline_tag: text-generation
|
|
|
|
|
8 |
---
|
9 |
|
10 |
# A language model with calculator-like functionality
|
@@ -38,6 +40,7 @@ prompt="1234-12345=?"
|
|
38 |
prompt="1234*12345=?"
|
39 |
|
40 |
messages = [
|
|
|
41 |
{"role": "user", "content": prompt}
|
42 |
]
|
43 |
text = tokenizer.apply_chat_template(
|
@@ -85,4 +88,4 @@ calculate 1623 + 10820:
|
|
85 |
gather results: 12443
|
86 |
final answer: 12443
|
87 |
|
88 |
-
```
|
|
|
5 |
base_model:
|
6 |
- Qwen/Qwen2.5-1.5B-Instruct
|
7 |
pipeline_tag: text-generation
|
8 |
+
datasets:
|
9 |
+
- yuyijiong/llm_calculator_data
|
10 |
---
|
11 |
|
12 |
# A language model with calculator-like functionality
|
|
|
40 |
prompt="1234*12345=?"
|
41 |
|
42 |
messages = [
|
43 |
+
|
44 |
{"role": "user", "content": prompt}
|
45 |
]
|
46 |
text = tokenizer.apply_chat_template(
|
|
|
88 |
gather results: 12443
|
89 |
final answer: 12443
|
90 |
|
91 |
+
```
|