Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -59,7 +59,7 @@ class StopCriteria(StoppingCriteria):
|
|
| 59 |
def __iter__(self):
|
| 60 |
yield self
|
| 61 |
|
| 62 |
-
prompt = "Input: (5 + 5)\n"
|
| 63 |
|
| 64 |
tokenizer = AutoTokenizer.from_pretrained("bart1259/MiniCOTMath")
|
| 65 |
model = AutoModelForCausalLM.from_pretrained("bart1259/MiniCOTMath").cuda()
|
|
@@ -81,14 +81,18 @@ _ = model.generate(
|
|
| 81 |
|
| 82 |
Outputs:
|
| 83 |
```
|
| 84 |
-
Input: (5 + 5)
|
| 85 |
|
| 86 |
Step 1:
|
| 87 |
-
(5 + 5)
|
| 88 |
(5 + 5) = 10
|
| 89 |
|
| 90 |
Step 2:
|
| 91 |
-
10
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
<end>
|
| 94 |
```
|
|
|
|
| 59 |
def __iter__(self):
|
| 60 |
yield self
|
| 61 |
|
| 62 |
+
prompt = "Input: (3 * (5 + 5))\n"
|
| 63 |
|
| 64 |
tokenizer = AutoTokenizer.from_pretrained("bart1259/MiniCOTMath")
|
| 65 |
model = AutoModelForCausalLM.from_pretrained("bart1259/MiniCOTMath").cuda()
|
|
|
|
| 81 |
|
| 82 |
Outputs:
|
| 83 |
```
|
| 84 |
+
Input: (3 * (5 + 5))
|
| 85 |
|
| 86 |
Step 1:
|
| 87 |
+
(3 * (5 + 5))
|
| 88 |
(5 + 5) = 10
|
| 89 |
|
| 90 |
Step 2:
|
| 91 |
+
(3 * 10)
|
| 92 |
+
(3 * 10) = 30
|
| 93 |
+
|
| 94 |
+
Step 3:
|
| 95 |
+
30
|
| 96 |
+
Final Result: 30
|
| 97 |
<end>
|
| 98 |
```
|