Commit
·
70c5b2f
1
Parent(s):
e49a87e
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,15 @@ license: openrail
|
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
**Overview**
|
| 11 |
|
| 12 |
MathT5-base is a version of T5-base (_not FLAN-T5_) that is fine-tuned for 25 epochs on 15K (LaTeX) synthetic mathematical derivations (containing 5 - 9 equations), that were generated using a symbolic solver (SymPy). Paper available soon.
|
|
@@ -18,13 +27,4 @@ MathT5-base is a version of T5-base (_not FLAN-T5_) that is fine-tuned for 25 ep
|
|
| 18 |
then derive - \\sin{(q)} = \\frac{d}{d q} \\theta{(q)},
|
| 19 |
then obtain (- \\sin{(q)})^{q} (\\frac{d}{d q} \\cos{(q)})^{q} = (- \\sin{(q)})^{2 q}"```
|
| 20 |
|
| 21 |
-
Output derivations are equations separated by "and".
|
| 22 |
-
|
| 23 |
-
**To use MathT5 easily:**
|
| 24 |
-
|
| 25 |
-
1. Download ```MathT5.py``` to your working directory.
|
| 26 |
-
2. ```from MathT5 import load_model, inference```
|
| 27 |
-
3. ```tokenizer, model = load_model("jmeadows17/MathT5-base")```
|
| 28 |
-
4. ```inference(prompt, tokenizer, model)```
|
| 29 |
-
|
| 30 |
-
```MathT5.pretty_print(text, prompt=True)``` makes prompts and outputs (```prompt=False```) easier to read.
|
|
|
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
---
|
| 9 |
|
| 10 |
+
**To use MathT5 easily:**
|
| 11 |
+
|
| 12 |
+
1. Download ```MathT5.py``` to your working directory.
|
| 13 |
+
2. ```from MathT5 import load_model, inference```
|
| 14 |
+
3. ```tokenizer, model = load_model("jmeadows17/MathT5-base")```
|
| 15 |
+
4. ```inference(prompt, tokenizer, model)```
|
| 16 |
+
|
| 17 |
+
```MathT5.pretty_print(text, prompt=True)``` makes prompts and outputs (```prompt=False```) easier to read.
|
| 18 |
+
|
| 19 |
**Overview**
|
| 20 |
|
| 21 |
MathT5-base is a version of T5-base (_not FLAN-T5_) that is fine-tuned for 25 epochs on 15K (LaTeX) synthetic mathematical derivations (containing 5 - 9 equations), that were generated using a symbolic solver (SymPy). Paper available soon.
|
|
|
|
| 27 |
then derive - \\sin{(q)} = \\frac{d}{d q} \\theta{(q)},
|
| 28 |
then obtain (- \\sin{(q)})^{q} (\\frac{d}{d q} \\cos{(q)})^{q} = (- \\sin{(q)})^{2 q}"```
|
| 29 |
|
| 30 |
+
Output derivations are equations separated by "and".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|