Initial training completion.
Browse files- README.md +76 -0
- generation_config.json +7 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Yu-yang/text2sql-3
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: text2sql-4
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# text2sql-4
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Yu-yang/text2sql-3](https://huggingface.co/Yu-yang/text2sql-3) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0276
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.005
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 2
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
49 |
+
| 0.0714 | 0.1 | 500 | 0.0557 |
|
50 |
+
| 0.0567 | 0.2 | 1000 | 0.0487 |
|
51 |
+
| 0.0488 | 0.3 | 1500 | 0.0431 |
|
52 |
+
| 0.0498 | 0.4 | 2000 | 0.0397 |
|
53 |
+
| 0.0458 | 0.5 | 2500 | 0.0369 |
|
54 |
+
| 0.0398 | 0.6 | 3000 | 0.0352 |
|
55 |
+
| 0.0409 | 0.7 | 3500 | 0.0337 |
|
56 |
+
| 0.0423 | 0.8 | 4000 | 0.0325 |
|
57 |
+
| 0.0382 | 0.9 | 4500 | 0.0312 |
|
58 |
+
| 0.0354 | 1.0 | 5000 | 0.0305 |
|
59 |
+
| 0.0335 | 1.1 | 5500 | 0.0300 |
|
60 |
+
| 0.0336 | 1.2 | 6000 | 0.0294 |
|
61 |
+
| 0.0304 | 1.3 | 6500 | 0.0288 |
|
62 |
+
| 0.0294 | 1.4 | 7000 | 0.0283 |
|
63 |
+
| 0.0312 | 1.5 | 7500 | 0.0282 |
|
64 |
+
| 0.0322 | 1.6 | 8000 | 0.0279 |
|
65 |
+
| 0.0345 | 1.7 | 8500 | 0.0278 |
|
66 |
+
| 0.0287 | 1.8 | 9000 | 0.0277 |
|
67 |
+
| 0.0312 | 1.9 | 9500 | 0.0276 |
|
68 |
+
| 0.033 | 2.0 | 10000 | 0.0276 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.41.0
|
74 |
+
- Pytorch 2.3.0+cu121
|
75 |
+
- Datasets 2.19.1
|
76 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.41.0"
|
7 |
+
}
|