End of training
Browse files
README.md
CHANGED
|
@@ -14,6 +14,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
# codet5-small-v6
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
@@ -33,14 +37,23 @@ More information needed
|
|
| 33 |
|
| 34 |
The following hyperparameters were used during training:
|
| 35 |
- learning_rate: 2e-05
|
| 36 |
-
- train_batch_size:
|
| 37 |
-
- eval_batch_size:
|
| 38 |
- seed: 42
|
| 39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 40 |
- lr_scheduler_type: linear
|
| 41 |
- num_epochs: 3
|
| 42 |
- mixed_precision_training: Native AMP
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
### Framework versions
|
| 45 |
|
| 46 |
- Transformers 4.38.0.dev0
|
|
|
|
| 14 |
# codet5-small-v6
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.1977
|
| 19 |
+
- Bleu Score: 0.0006
|
| 20 |
+
- Gen Len: 14.9669
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
- learning_rate: 2e-05
|
| 40 |
+
- train_batch_size: 20
|
| 41 |
+
- eval_batch_size: 20
|
| 42 |
- seed: 42
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
- num_epochs: 3
|
| 46 |
- mixed_precision_training: Native AMP
|
| 47 |
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu Score | Gen Len |
|
| 51 |
+
|:-------------:|:-----:|:-----:|:---------------:|:----------:|:-------:|
|
| 52 |
+
| 0.1709 | 1.0 | 6738 | 0.2015 | 0.0006 | 14.9169 |
|
| 53 |
+
| 0.1249 | 2.0 | 13476 | 0.1950 | 0.0006 | 14.9628 |
|
| 54 |
+
| 0.1076 | 3.0 | 20214 | 0.1977 | 0.0006 | 14.9669 |
|
| 55 |
+
|
| 56 |
+
|
| 57 |
### Framework versions
|
| 58 |
|
| 59 |
- Transformers 4.38.0.dev0
|
generation_config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
"bos_token_id": 1,
|
| 4 |
"decoder_start_token_id": 0,
|
| 5 |
"eos_token_id": 2,
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"bos_token_id": 1,
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 2,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 241990696
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a49d4901270091344a16798e0f6144668700c8b0a41f357d02c7027070e12b5
|
| 3 |
size 241990696
|
runs/Jan28_13-51-34_bbab5494bb78/events.out.tfevents.1706449895.bbab5494bb78.13686.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15d921c79bd0c76b94209ec33855ef651d5d0f4d2b7b6f4f5006e3cfb652e33f
|
| 3 |
+
size 13362
|