Update README.md
Browse files
README.md
CHANGED
@@ -1,67 +1,67 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
license: apache-2.0
|
4 |
-
base_model: Salesforce/codet5-base
|
5 |
-
tags:
|
6 |
-
- generated_from_trainer
|
7 |
-
metrics:
|
8 |
-
- bleu
|
9 |
-
model-index:
|
10 |
-
- name: codet5-base-sql-create-context
|
11 |
-
results: []
|
12 |
-
---
|
13 |
-
|
14 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
-
should probably proofread and complete it, then remove this comment. -->
|
16 |
-
|
17 |
-
# codet5-base-sql-create-context
|
18 |
-
|
19 |
-
This model is a fine-tuned version of [Salesforce/codet5-base](https://huggingface.co/Salesforce/codet5-base) on
|
20 |
-
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.0036
|
22 |
-
- Exact Match: 0.2451
|
23 |
-
- Rouge2: 0.8839
|
24 |
-
- Bleu: 75.6780
|
25 |
-
|
26 |
-
## Model description
|
27 |
-
|
28 |
-
More information needed
|
29 |
-
|
30 |
-
## Intended uses & limitations
|
31 |
-
|
32 |
-
More information needed
|
33 |
-
|
34 |
-
## Training and evaluation data
|
35 |
-
|
36 |
-
More information needed
|
37 |
-
|
38 |
-
## Training procedure
|
39 |
-
|
40 |
-
### Training hyperparameters
|
41 |
-
|
42 |
-
The following hyperparameters were used during training:
|
43 |
-
- learning_rate: 5e-05
|
44 |
-
- train_batch_size: 8
|
45 |
-
- eval_batch_size: 8
|
46 |
-
- seed: 42
|
47 |
-
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
-
- lr_scheduler_type: linear
|
49 |
-
- num_epochs: 5
|
50 |
-
|
51 |
-
### Training results
|
52 |
-
|
53 |
-
| Training Loss | Epoch | Step | Validation Loss | Exact Match | Rouge2 | Bleu |
|
54 |
-
|:-------------:|:-----:|:-----:|:---------------:|:-----------:|:------:|:-------:|
|
55 |
-
| 0.0071 | 1.0 | 7858 | 0.0047 | 0.2360 | 0.8808 | 75.1891 |
|
56 |
-
| 0.0041 | 2.0 | 15716 | 0.0039 | 0.2393 | 0.8820 | 75.4061 |
|
57 |
-
| 0.0028 | 3.0 | 23574 | 0.0037 | 0.2447 | 0.8832 | 75.5863 |
|
58 |
-
| 0.0019 | 4.0 | 31432 | 0.0035 | 0.2469 | 0.8837 | 75.7130 |
|
59 |
-
| 0.0013 | 5.0 | 39290 | 0.0036 | 0.2451 | 0.8839 | 75.6780 |
|
60 |
-
|
61 |
-
|
62 |
-
### Framework versions
|
63 |
-
|
64 |
-
- Transformers 4.50.3
|
65 |
-
- Pytorch 2.5.1+cu121
|
66 |
-
- Datasets 3.5.0
|
67 |
-
- Tokenizers 0.21.1
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Salesforce/codet5-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: codet5-base-sql-create-context
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# codet5-base-sql-create-context
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [Salesforce/codet5-base](https://huggingface.co/Salesforce/codet5-base) on [b-mc2/sql-create-context](https://huggingface.co/datasets/b-mc2/sql-create-context) dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0036
|
22 |
+
- Exact Match: 0.2451
|
23 |
+
- Rouge2: 0.8839
|
24 |
+
- Bleu: 75.6780
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 5e-05
|
44 |
+
- train_batch_size: 8
|
45 |
+
- eval_batch_size: 8
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 5
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Exact Match | Rouge2 | Bleu |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-----------:|:------:|:-------:|
|
55 |
+
| 0.0071 | 1.0 | 7858 | 0.0047 | 0.2360 | 0.8808 | 75.1891 |
|
56 |
+
| 0.0041 | 2.0 | 15716 | 0.0039 | 0.2393 | 0.8820 | 75.4061 |
|
57 |
+
| 0.0028 | 3.0 | 23574 | 0.0037 | 0.2447 | 0.8832 | 75.5863 |
|
58 |
+
| 0.0019 | 4.0 | 31432 | 0.0035 | 0.2469 | 0.8837 | 75.7130 |
|
59 |
+
| 0.0013 | 5.0 | 39290 | 0.0036 | 0.2451 | 0.8839 | 75.6780 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.50.3
|
65 |
+
- Pytorch 2.5.1+cu121
|
66 |
+
- Datasets 3.5.0
|
67 |
+
- Tokenizers 0.21.1
|