Commit
·
d773610
1
Parent(s):
b74c191
update
Browse files
README.md
CHANGED
|
@@ -8,6 +8,34 @@ tags:
|
|
| 8 |
- code
|
| 9 |
---
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
#Copy below piece of code to your notebook to use the model
|
| 12 |
|
| 13 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
|
|
| 8 |
- code
|
| 9 |
---
|
| 10 |
|
| 11 |
+
Base Model:t5-small
|
| 12 |
+
|
| 13 |
+
#Training Result
|
| 14 |
+
|
| 15 |
+
[17610/17610 1:32:31, Epoch 9/10]
|
| 16 |
+
Step Training Loss Validation Loss
|
| 17 |
+
1000 2.682400 0.829368
|
| 18 |
+
2000 0.914000 0.568155
|
| 19 |
+
3000 0.707700 0.465733
|
| 20 |
+
4000 0.613500 0.408758
|
| 21 |
+
5000 0.557300 0.374811
|
| 22 |
+
6000 0.515800 0.350752
|
| 23 |
+
7000 0.487000 0.331517
|
| 24 |
+
8000 0.466100 0.319071
|
| 25 |
+
9000 0.449400 0.309488
|
| 26 |
+
10000 0.438800 0.301829
|
| 27 |
+
11000 0.430000 0.296482
|
| 28 |
+
12000 0.420200 0.292672
|
| 29 |
+
13000 0.418200 0.290445
|
| 30 |
+
14000 0.413400 0.288662
|
| 31 |
+
15000 0.410100 0.287757
|
| 32 |
+
16000 0.412600 0.287280
|
| 33 |
+
17000 0.410000 0.287134
|
| 34 |
+
|
| 35 |
+
question: what is id with name jui and age equal 25
|
| 36 |
+
table: ['id', 'name', 'age']
|
| 37 |
+
SELECT ID FROM table WHEREname = jui AND age equal 25
|
| 38 |
+
|
| 39 |
#Copy below piece of code to your notebook to use the model
|
| 40 |
|
| 41 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|