TeeA commited on
Commit
bc4df66
·
verified ·
1 Parent(s): df558f0

TeeA/T5-Text2SQL-Bilingual

Browse files
README.md CHANGED
@@ -1,8 +1,9 @@
1
  ---
2
- license: apache-2.0
3
- base_model: cssupport/t5-small-awesome-text-to-sql
4
  tags:
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: Text2SQL-Bilingual
8
  results: []
@@ -13,18 +14,13 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # Text2SQL-Bilingual
15
 
16
- This model is a fine-tuned version of [cssupport/t5-small-awesome-text-to-sql](https://huggingface.co/cssupport/t5-small-awesome-text-to-sql) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: 1.7774
19
- - eval_rouge1: 0.8291
20
- - eval_rouge2: 0.7099
21
- - eval_rougeL: 0.8137
22
- - eval_rougeLsum: 0.8138
23
- - eval_runtime: 58.4843
24
- - eval_samples_per_second: 8.549
25
- - eval_steps_per_second: 2.137
26
- - epoch: 9.0
27
- - step: 39501
28
 
29
  ## Model description
30
 
@@ -52,6 +48,22 @@ The following hyperparameters were used during training:
52
  - num_epochs: 10
53
  - mixed_precision_training: Native AMP
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  ### Framework versions
56
 
57
  - Transformers 4.38.2
 
1
  ---
2
+ base_model: TeeA/T5-Text2SQL-Bilingual
 
3
  tags:
4
  - generated_from_trainer
5
+ metrics:
6
+ - rouge
7
  model-index:
8
  - name: Text2SQL-Bilingual
9
  results: []
 
14
 
15
  # Text2SQL-Bilingual
16
 
17
+ This model is a fine-tuned version of [TeeA/T5-Text2SQL-Bilingual](https://huggingface.co/TeeA/T5-Text2SQL-Bilingual) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 1.5456
20
+ - Rouge1: 0.8237
21
+ - Rouge2: 0.7136
22
+ - Rougel: 0.8142
23
+ - Rougelsum: 0.8137
 
 
 
 
 
24
 
25
  ## Model description
26
 
 
48
  - num_epochs: 10
49
  - mixed_precision_training: Native AMP
50
 
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
54
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|
55
+ | 1.891 | 1.0 | 4389 | 1.7024 | 0.8289 | 0.7133 | 0.8163 | 0.8159 |
56
+ | 1.8333 | 2.0 | 8778 | 1.6619 | 0.8220 | 0.7113 | 0.8091 | 0.8089 |
57
+ | 1.7995 | 3.0 | 13167 | 1.6317 | 0.8213 | 0.7100 | 0.8102 | 0.8098 |
58
+ | 1.7632 | 4.0 | 17556 | 1.6076 | 0.8189 | 0.7074 | 0.8081 | 0.8076 |
59
+ | 1.7368 | 5.0 | 21945 | 1.5912 | 0.8219 | 0.7107 | 0.8106 | 0.8104 |
60
+ | 1.7121 | 6.0 | 26334 | 1.5715 | 0.8177 | 0.7052 | 0.8062 | 0.8060 |
61
+ | 1.7042 | 7.0 | 30723 | 1.5595 | 0.8210 | 0.7098 | 0.8104 | 0.8103 |
62
+ | 1.688 | 8.0 | 35112 | 1.5515 | 0.8220 | 0.7111 | 0.8118 | 0.8114 |
63
+ | 1.6647 | 9.0 | 39501 | 1.5482 | 0.8236 | 0.7122 | 0.8135 | 0.8131 |
64
+ | 1.6854 | 10.0 | 43890 | 1.5456 | 0.8237 | 0.7136 | 0.8142 | 0.8137 |
65
+
66
+
67
  ### Framework versions
68
 
69
  - Transformers 4.38.2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "cssupport/t5-small-awesome-text-to-sql",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
1
  {
2
+ "_name_or_path": "TeeA/T5-Text2SQL-Bilingual",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70c36a5f2097b6b594941fc8cb61942eb579e58cc2f67b93c30ff6b0867e89a1
3
  size 282739752
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e8024809e80ca5fe00d16d4c2002416172fb9e557c4e626df2e81c257a8c738
3
  size 282739752
runs/Mar14_07-25-00_618cbbff9d2b/events.out.tfevents.1710401142.618cbbff9d2b.164.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6df957355c7feff3d3a4da19c029d7686c70cc2e57f0ba3f507d04d3e2aa3fc
3
+ size 29737
tokenizer_config.json CHANGED
@@ -931,9 +931,13 @@
931
  "eos_token": "</s>",
932
  "extra_ids": 100,
933
  "legacy": true,
 
934
  "model_max_length": 512,
935
  "pad_token": "<pad>",
936
  "sp_model_kwargs": {},
 
937
  "tokenizer_class": "T5Tokenizer",
 
 
938
  "unk_token": "<unk>"
939
  }
 
931
  "eos_token": "</s>",
932
  "extra_ids": 100,
933
  "legacy": true,
934
+ "max_length": 512,
935
  "model_max_length": 512,
936
  "pad_token": "<pad>",
937
  "sp_model_kwargs": {},
938
+ "stride": 0,
939
  "tokenizer_class": "T5Tokenizer",
940
+ "truncation_side": "right",
941
+ "truncation_strategy": "longest_first",
942
  "unk_token": "<unk>"
943
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:11c4d0b009c3245e71020ca63ab25d427ab8fbcd3edbfa5bf3ce8306a515072a
3
  size 5048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f44cba0bd3facf025c99a6b61ee18166b309f146d60ad60b18c987e3c31c5942
3
  size 5048