Commit ·
3c95cb8
1
Parent(s): 52b2f85
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
model-index:
|
| 6 |
+
- name: t5-text2sql_v3
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# t5-text2sql_v3
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [mousaazari/t5-text2sql_v1](https://huggingface.co/mousaazari/t5-text2sql_v1) on the None dataset.
|
| 16 |
+
It achieves the following results on the evaluation set:
|
| 17 |
+
- Loss: 0.1501
|
| 18 |
+
- Rouge2 Precision: 0.6088
|
| 19 |
+
- Rouge2 Recall: 0.3597
|
| 20 |
+
- Rouge2 Fmeasure: 0.4201
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 8
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 20
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge2 Precision | Rouge2 Recall | Rouge2 Fmeasure |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|:----------------:|:-------------:|:---------------:|
|
| 51 |
+
| No log | 1.0 | 430 | 0.3126 | 0.3937 | 0.2301 | 0.2679 |
|
| 52 |
+
| 0.4851 | 2.0 | 860 | 0.2583 | 0.4656 | 0.2854 | 0.3289 |
|
| 53 |
+
| 0.3271 | 3.0 | 1290 | 0.2256 | 0.4858 | 0.2875 | 0.3337 |
|
| 54 |
+
| 0.2696 | 4.0 | 1720 | 0.2075 | 0.5193 | 0.3127 | 0.3614 |
|
| 55 |
+
| 0.2376 | 5.0 | 2150 | 0.1937 | 0.5387 | 0.3258 | 0.3773 |
|
| 56 |
+
| 0.2072 | 6.0 | 2580 | 0.1839 | 0.5524 | 0.3344 | 0.3876 |
|
| 57 |
+
| 0.1875 | 7.0 | 3010 | 0.1752 | 0.5644 | 0.3333 | 0.3882 |
|
| 58 |
+
| 0.1875 | 8.0 | 3440 | 0.1704 | 0.5751 | 0.3426 | 0.399 |
|
| 59 |
+
| 0.1736 | 9.0 | 3870 | 0.1653 | 0.5821 | 0.3458 | 0.4027 |
|
| 60 |
+
| 0.1585 | 10.0 | 4300 | 0.1603 | 0.5841 | 0.3435 | 0.4013 |
|
| 61 |
+
| 0.1498 | 11.0 | 4730 | 0.1576 | 0.5905 | 0.3535 | 0.4103 |
|
| 62 |
+
| 0.1427 | 12.0 | 5160 | 0.1548 | 0.6031 | 0.3533 | 0.4135 |
|
| 63 |
+
| 0.1342 | 13.0 | 5590 | 0.1541 | 0.5976 | 0.3519 | 0.411 |
|
| 64 |
+
| 0.1294 | 14.0 | 6020 | 0.1534 | 0.6058 | 0.3549 | 0.4161 |
|
| 65 |
+
| 0.1294 | 15.0 | 6450 | 0.1518 | 0.6117 | 0.3593 | 0.4203 |
|
| 66 |
+
| 0.1239 | 16.0 | 6880 | 0.1509 | 0.61 | 0.3597 | 0.4202 |
|
| 67 |
+
| 0.1198 | 17.0 | 7310 | 0.1508 | 0.6076 | 0.3588 | 0.4195 |
|
| 68 |
+
| 0.1147 | 18.0 | 7740 | 0.1503 | 0.6139 | 0.3607 | 0.4219 |
|
| 69 |
+
| 0.1155 | 19.0 | 8170 | 0.1503 | 0.6092 | 0.3597 | 0.4201 |
|
| 70 |
+
| 0.1115 | 20.0 | 8600 | 0.1501 | 0.6088 | 0.3597 | 0.4201 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.26.0
|
| 76 |
+
- Pytorch 2.0.0+cu118
|
| 77 |
+
- Datasets 2.8.0
|
| 78 |
+
- Tokenizers 0.13.3
|