End of training
Browse files- README.md +80 -0
- generation_config.json +7 -0
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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_COCOv6-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_COCOv6-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: 3.9193
|
| 22 |
+
- Meteor Score: {'meteor': 0.3883164385938583}
|
| 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: 5e-05
|
| 42 |
+
- train_batch_size: 8
|
| 43 |
+
- eval_batch_size: 8
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 8
|
| 46 |
+
- total_train_batch_size: 64
|
| 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 |
+
- lr_scheduler_warmup_steps: 5
|
| 50 |
+
- num_epochs: 80
|
| 51 |
+
- mixed_precision_training: Native AMP
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Meteor Score |
|
| 56 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------------------------------:|
|
| 57 |
+
| 92.0222 | 3.3333 | 5 | 10.6210 | {'meteor': 0.05527200117295446} |
|
| 58 |
+
| 80.4987 | 6.6667 | 10 | 9.3234 | {'meteor': 0.054478429471574795} |
|
| 59 |
+
| 70.872 | 10.0 | 15 | 7.9867 | {'meteor': 0.06444810159110426} |
|
| 60 |
+
| 61.8948 | 13.3333 | 20 | 7.1539 | {'meteor': 0.10729657965271497} |
|
| 61 |
+
| 55.8843 | 16.6667 | 25 | 6.5323 | {'meteor': 0.1313795489011057} |
|
| 62 |
+
| 51.3796 | 20.0 | 30 | 6.0059 | {'meteor': 0.1667987247524706} |
|
| 63 |
+
| 47.2696 | 23.3333 | 35 | 5.5433 | {'meteor': 0.1780717354914205} |
|
| 64 |
+
| 43.8752 | 26.6667 | 40 | 5.1460 | {'meteor': 0.29042241595126117} |
|
| 65 |
+
| 40.8073 | 30.0 | 45 | 4.8067 | {'meteor': 0.34065022984874654} |
|
| 66 |
+
| 38.3594 | 33.3333 | 50 | 4.5292 | {'meteor': 0.37185069963423434} |
|
| 67 |
+
| 36.2548 | 36.6667 | 55 | 4.3103 | {'meteor': 0.3764524310032932} |
|
| 68 |
+
| 34.7935 | 40.0 | 60 | 4.1477 | {'meteor': 0.38111013533600185} |
|
| 69 |
+
| 33.6518 | 43.3333 | 65 | 4.0357 | {'meteor': 0.3851995459070333} |
|
| 70 |
+
| 32.8234 | 46.6667 | 70 | 3.9670 | {'meteor': 0.38872719984995613} |
|
| 71 |
+
| 32.4724 | 50.0 | 75 | 3.9318 | {'meteor': 0.3883164385938583} |
|
| 72 |
+
| 32.2541 | 53.3333 | 80 | 3.9193 | {'meteor': 0.3883164385938583} |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
### Framework versions
|
| 76 |
+
|
| 77 |
+
- Transformers 4.46.1
|
| 78 |
+
- Pytorch 2.2.1+cu121
|
| 79 |
+
- Datasets 2.18.0
|
| 80 |
+
- 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 |
+
}
|