End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Salesforce/codet5-small
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- rouge
|
| 8 |
+
model-index:
|
| 9 |
+
- name: codet5-small-ft-v8-cpatd
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# codet5-small-ft-v8-cpatd
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.4831
|
| 21 |
+
- Rouge1: 63.6456
|
| 22 |
+
- Rouge2: 52.7919
|
| 23 |
+
- Rougel: 63.1978
|
| 24 |
+
- Rougelsum: 63.2113
|
| 25 |
+
- Gen Len: 17.0514
|
| 26 |
+
|
| 27 |
+
## Model description
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Intended uses & limitations
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training and evaluation data
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training procedure
|
| 40 |
+
|
| 41 |
+
### Training hyperparameters
|
| 42 |
+
|
| 43 |
+
The following hyperparameters were used during training:
|
| 44 |
+
- learning_rate: 2e-05
|
| 45 |
+
- train_batch_size: 16
|
| 46 |
+
- eval_batch_size: 16
|
| 47 |
+
- seed: 42
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- num_epochs: 4
|
| 51 |
+
- mixed_precision_training: Native AMP
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
| 56 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
| 57 |
+
| 0.6958 | 1.0 | 3063 | 0.5815 | 61.3112 | 50.8406 | 60.8334 | 60.8509 | 17.2215 |
|
| 58 |
+
| 0.6116 | 2.0 | 6126 | 0.5190 | 62.7088 | 51.7838 | 62.2533 | 62.2661 | 17.0108 |
|
| 59 |
+
| 0.5564 | 3.0 | 9189 | 0.4942 | 63.4158 | 52.592 | 62.9418 | 62.9443 | 17.1236 |
|
| 60 |
+
| 0.5447 | 4.0 | 12252 | 0.4831 | 63.6456 | 52.7919 | 63.1978 | 63.2113 | 17.0514 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
### Framework versions
|
| 64 |
+
|
| 65 |
+
- Transformers 4.38.0.dev0
|
| 66 |
+
- Pytorch 2.1.0+cu121
|
| 67 |
+
- Datasets 2.16.1
|
| 68 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.38.0.dev0"
|
| 7 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 241984552
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9184f5c29a9bff65c95836ab635ad7666f777637368b75e17bc4a5c2d707e8fb
|
| 3 |
size 241984552
|
runs/Jan23_07-42-00_cb8327c47678/events.out.tfevents.1705995731.cb8327c47678.1437.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:cb37a1b66c8d4a6e6f546d07caabf04297b08d802ee9e972ce9b52de06a044fd
|
| 3 |
+
size 11774
|