Update README.md
Browse files
README.md
CHANGED
|
@@ -42,3 +42,35 @@ outputs = model.generate(chat.to(device), max_new_tokens=1024, do_sample=True)
|
|
| 42 |
print(tokenizer.decode(outputs[0]))
|
| 43 |
```
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
print(tokenizer.decode(outputs[0]))
|
| 43 |
```
|
| 44 |
|
| 45 |
+
Output:
|
| 46 |
+
```
|
| 47 |
+
<|begin▁of▁sentence|><|User|>What is 1.5+102.2?<|Assistant|><think>
|
| 48 |
+
First, I identify the numbers involved in the addition: 1.5 and 102.2.
|
| 49 |
+
|
| 50 |
+
Next, I add the whole numbers: 1 + 102 equals 103.
|
| 51 |
+
|
| 52 |
+
Then, I add the decimal parts: 0.5 + 0.2 equals 0.7.
|
| 53 |
+
|
| 54 |
+
Finally, I combine the results: 103 + 0.7 equals 103.7.
|
| 55 |
+
</think>
|
| 56 |
+
|
| 57 |
+
To solve the addition \(1.5 + 102.2\), follow these steps:
|
| 58 |
+
|
| 59 |
+
1. **Add the whole numbers:**
|
| 60 |
+
\[
|
| 61 |
+
1 + 102 = 103
|
| 62 |
+
\]
|
| 63 |
+
|
| 64 |
+
2. **Add the decimal parts:**
|
| 65 |
+
\[
|
| 66 |
+
0.5 + 0.2 = 0.7
|
| 67 |
+
\]
|
| 68 |
+
|
| 69 |
+
3. **Combine the results:**
|
| 70 |
+
\[
|
| 71 |
+
103 + 0.7 = 103.7
|
| 72 |
+
\]
|
| 73 |
+
|
| 74 |
+
So, the final answer is \(\boxed{103.7}\).<|end▁of▁sentence|>
|
| 75 |
+
```
|
| 76 |
+
|