File size: 1,945 Bytes
7afd52f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
license: apache-2.0
base_model: google/flan-t5-base
tags:
- generated_from_trainer
metrics:
- bleu
model-index:
- name: SQL_Kaggle
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# SQL_Kaggle

This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0548
- Bleu: 43.7723
- Gen Len: 18.9204

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 12
- eval_batch_size: 12
- seed: 42
- gradient_accumulation_steps: 20
- total_train_batch_size: 240
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 1

### Training results

| Training Loss | Epoch | Step | Validation Loss | Bleu    | Gen Len |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
| 0.3225        | 0.12  | 100  | 0.1124          | 42.6318 | 18.9124 |
| 0.1451        | 0.23  | 200  | 0.0851          | 43.0481 | 18.9202 |
| 0.1218        | 0.35  | 300  | 0.0733          | 43.4809 | 18.9254 |
| 0.1062        | 0.46  | 400  | 0.0670          | 43.4753 | 18.9186 |
| 0.0978        | 0.58  | 500  | 0.0621          | 43.59   | 18.9205 |
| 0.0901        | 0.69  | 600  | 0.0587          | 43.68   | 18.9214 |
| 0.0859        | 0.81  | 700  | 0.0565          | 43.7207 | 18.9206 |
| 0.0824        | 0.93  | 800  | 0.0548          | 43.7723 | 18.9204 |


### Framework versions

- Transformers 4.33.3
- Pytorch 2.0.0
- Datasets 2.14.5
- Tokenizers 0.13.3