End of training
Browse files- README.md +83 -0
- generation_config.json +7 -0
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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_COCO
|
| 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_COCO
|
| 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: 4.7575
|
| 22 |
+
- Meteor Score: {'meteor': 0.44741221632780354}
|
| 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: 8
|
| 46 |
+
- total_train_batch_size: 1024
|
| 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: 100
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Meteor Score |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------------------------------:|
|
| 56 |
+
| 11.2864 | 5.0 | 5 | 9.7914 | {'meteor': 0.04785905013283249} |
|
| 57 |
+
| 9.5446 | 10.0 | 10 | 8.8688 | {'meteor': 0.06898572959442757} |
|
| 58 |
+
| 8.5964 | 15.0 | 15 | 7.9379 | {'meteor': 0.09355329647609742} |
|
| 59 |
+
| 7.8313 | 20.0 | 20 | 7.3407 | {'meteor': 0.11334545855859698} |
|
| 60 |
+
| 7.3003 | 25.0 | 25 | 6.9032 | {'meteor': 0.15999516391015553} |
|
| 61 |
+
| 6.8931 | 30.0 | 30 | 6.5469 | {'meteor': 0.186323487530305} |
|
| 62 |
+
| 6.5514 | 35.0 | 35 | 6.2431 | {'meteor': 0.21803131978135007} |
|
| 63 |
+
| 6.2571 | 40.0 | 40 | 5.9791 | {'meteor': 0.23221717283346363} |
|
| 64 |
+
| 5.9994 | 45.0 | 45 | 5.7449 | {'meteor': 0.2811991986842099} |
|
| 65 |
+
| 5.7716 | 50.0 | 50 | 5.5381 | {'meteor': 0.3320404999594528} |
|
| 66 |
+
| 5.5727 | 55.0 | 55 | 5.3578 | {'meteor': 0.38961711439431945} |
|
| 67 |
+
| 5.4006 | 60.0 | 60 | 5.2035 | {'meteor': 0.41465764293498697} |
|
| 68 |
+
| 5.256 | 65.0 | 65 | 5.0758 | {'meteor': 0.43295611927196415} |
|
| 69 |
+
| 5.1374 | 70.0 | 70 | 4.9732 | {'meteor': 0.43822389602945405} |
|
| 70 |
+
| 5.0437 | 75.0 | 75 | 4.8945 | {'meteor': 0.44028335974497207} |
|
| 71 |
+
| 4.9731 | 80.0 | 80 | 4.8369 | {'meteor': 0.44568543666821964} |
|
| 72 |
+
| 4.9224 | 85.0 | 85 | 4.7976 | {'meteor': 0.44726915255893274} |
|
| 73 |
+
| 4.8891 | 90.0 | 90 | 4.7739 | {'meteor': 0.44619071947824196} |
|
| 74 |
+
| 4.8705 | 95.0 | 95 | 4.7618 | {'meteor': 0.4463902471662178} |
|
| 75 |
+
| 4.8613 | 100.0 | 100 | 4.7575 | {'meteor': 0.44741221632780354} |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.46.1
|
| 81 |
+
- Pytorch 2.2.1+cu121
|
| 82 |
+
- Datasets 2.18.0
|
| 83 |
+
- 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 |
+
}
|