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