End of training
Browse files- README.md +103 -0
- generation_config.json +7 -0
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: microsoft/git-large-r-coco
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- imagefolder
|
| 9 |
+
model-index:
|
| 10 |
+
- name: git-large-r-coco-IDB_ADv1_COCOv5-r
|
| 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 |
+
# git-large-r-coco-IDB_ADv1_COCOv5-r
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [microsoft/git-large-r-coco](https://huggingface.co/microsoft/git-large-r-coco) on the imagefolder dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.5782
|
| 22 |
+
- Meteor Score: {'meteor': 0.43529378209579345}
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 3e-05
|
| 42 |
+
- train_batch_size: 128
|
| 43 |
+
- eval_batch_size: 128
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 2
|
| 46 |
+
- total_train_batch_size: 256
|
| 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: cosine
|
| 49 |
+
- num_epochs: 200
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Meteor Score |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------------------------------:|
|
| 56 |
+
| 11.236 | 5.0 | 5 | 9.8199 | {'meteor': 0.05000941416227949} |
|
| 57 |
+
| 9.5116 | 10.0 | 10 | 8.9302 | {'meteor': 0.06888825361200754} |
|
| 58 |
+
| 8.5445 | 15.0 | 15 | 8.0066 | {'meteor': 0.07658363117362794} |
|
| 59 |
+
| 7.7742 | 20.0 | 20 | 7.4076 | {'meteor': 0.10068865616368518} |
|
| 60 |
+
| 7.2295 | 25.0 | 25 | 6.9591 | {'meteor': 0.12953121268132864} |
|
| 61 |
+
| 6.7977 | 30.0 | 30 | 6.5770 | {'meteor': 0.14872303127353242} |
|
| 62 |
+
| 6.4229 | 35.0 | 35 | 6.2313 | {'meteor': 0.18601687502881598} |
|
| 63 |
+
| 6.0817 | 40.0 | 40 | 5.9050 | {'meteor': 0.20791117066420076} |
|
| 64 |
+
| 5.7611 | 45.0 | 45 | 5.5912 | {'meteor': 0.28544676381053413} |
|
| 65 |
+
| 5.4527 | 50.0 | 50 | 5.2874 | {'meteor': 0.3457040051211254} |
|
| 66 |
+
| 5.1549 | 55.0 | 55 | 4.9940 | {'meteor': 0.3631485633921628} |
|
| 67 |
+
| 4.8674 | 60.0 | 60 | 4.7089 | {'meteor': 0.38114762009930053} |
|
| 68 |
+
| 4.5889 | 65.0 | 65 | 4.4332 | {'meteor': 0.3824704216640198} |
|
| 69 |
+
| 4.3214 | 70.0 | 70 | 4.1692 | {'meteor': 0.39054817686730436} |
|
| 70 |
+
| 4.0648 | 75.0 | 75 | 3.9181 | {'meteor': 0.39770219926742423} |
|
| 71 |
+
| 3.82 | 80.0 | 80 | 3.6776 | {'meteor': 0.39821438468166165} |
|
| 72 |
+
| 3.5883 | 85.0 | 85 | 3.4520 | {'meteor': 0.4006363818211416} |
|
| 73 |
+
| 3.3691 | 90.0 | 90 | 3.2386 | {'meteor': 0.4088494653441806} |
|
| 74 |
+
| 3.1632 | 95.0 | 95 | 3.0393 | {'meteor': 0.40813507133495963} |
|
| 75 |
+
| 2.9714 | 100.0 | 100 | 2.8547 | {'meteor': 0.4121213886499203} |
|
| 76 |
+
| 2.7933 | 105.0 | 105 | 2.6853 | {'meteor': 0.40631422866306843} |
|
| 77 |
+
| 2.6298 | 110.0 | 110 | 2.5288 | {'meteor': 0.4176601921136396} |
|
| 78 |
+
| 2.4807 | 115.0 | 115 | 2.3878 | {'meteor': 0.416016003322137} |
|
| 79 |
+
| 2.3448 | 120.0 | 120 | 2.2611 | {'meteor': 0.4143538762574485} |
|
| 80 |
+
| 2.2228 | 125.0 | 125 | 2.1471 | {'meteor': 0.42051867408358123} |
|
| 81 |
+
| 2.1142 | 130.0 | 130 | 2.0472 | {'meteor': 0.42285459063149106} |
|
| 82 |
+
| 2.0185 | 135.0 | 135 | 1.9589 | {'meteor': 0.42723540638399116} |
|
| 83 |
+
| 1.9344 | 140.0 | 140 | 1.8824 | {'meteor': 0.4257406882186523} |
|
| 84 |
+
| 1.8619 | 145.0 | 145 | 1.8166 | {'meteor': 0.4318881141629731} |
|
| 85 |
+
| 1.8 | 150.0 | 150 | 1.7615 | {'meteor': 0.43481067197032736} |
|
| 86 |
+
| 1.7475 | 155.0 | 155 | 1.7155 | {'meteor': 0.42917999638162835} |
|
| 87 |
+
| 1.7044 | 160.0 | 160 | 1.6778 | {'meteor': 0.43414301724517024} |
|
| 88 |
+
| 1.6692 | 165.0 | 165 | 1.6481 | {'meteor': 0.43017388847733734} |
|
| 89 |
+
| 1.6413 | 170.0 | 170 | 1.6249 | {'meteor': 0.43558543551664686} |
|
| 90 |
+
| 1.6198 | 175.0 | 175 | 1.6075 | {'meteor': 0.4337503894317305} |
|
| 91 |
+
| 1.6037 | 180.0 | 180 | 1.5950 | {'meteor': 0.4371972495757157} |
|
| 92 |
+
| 1.5931 | 185.0 | 185 | 1.5865 | {'meteor': 0.4358110350215978} |
|
| 93 |
+
| 1.5862 | 190.0 | 190 | 1.5817 | {'meteor': 0.4360941103451662} |
|
| 94 |
+
| 1.5821 | 195.0 | 195 | 1.5792 | {'meteor': 0.43563638347125505} |
|
| 95 |
+
| 1.58 | 200.0 | 200 | 1.5782 | {'meteor': 0.43529378209579345} |
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
### Framework versions
|
| 99 |
+
|
| 100 |
+
- Transformers 4.46.1
|
| 101 |
+
- Pytorch 2.2.1+cu121
|
| 102 |
+
- Datasets 2.18.0
|
| 103 |
+
- Tokenizers 0.20.2
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 101,
|
| 4 |
+
"eos_token_id": 102,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.46.1"
|
| 7 |
+
}
|