NourFakih commited on
Commit
4058d69
·
verified ·
1 Parent(s): ecd8829

End of training

Browse files
Files changed (2) hide show
  1. README.md +75 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: nlpconnect/vit-gpt2-image-captioning
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: Vit-GPT2-UCA-UCF-06
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
+ # Vit-GPT2-UCA-UCF-06
18
+
19
+ This model is a fine-tuned version of [nlpconnect/vit-gpt2-image-captioning](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1937
22
+ - Rouge1: 29.6433
23
+ - Rouge2: 8.3589
24
+ - Rougel: 25.256
25
+ - Rougelsum: 25.5825
26
+ - Gen Len: 15.63
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 4
47
+ - eval_batch_size: 4
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 4
50
+ - total_train_batch_size: 16
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
58
+ |:-------------:|:------:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:|
59
+ | 0.8073 | 0.3258 | 500 | 0.1840 | 31.5942 | 9.2754 | 27.0997 | 27.4879 | 17.309 |
60
+ | 0.6562 | 0.6516 | 1000 | 0.1805 | 31.3758 | 9.5474 | 26.788 | 27.1031 | 16.271 |
61
+ | 0.6123 | 0.9774 | 1500 | 0.1795 | 32.219 | 9.7783 | 27.4235 | 27.7537 | 16.455 |
62
+ | 0.5502 | 1.3030 | 2000 | 0.1821 | 31.0914 | 9.2688 | 26.5321 | 26.8962 | 15.66 |
63
+ | 0.5281 | 1.6288 | 2500 | 0.1832 | 31.0119 | 9.0876 | 26.4645 | 26.7925 | 16.042 |
64
+ | 0.5085 | 1.9546 | 3000 | 0.1847 | 31.0869 | 9.0206 | 26.2838 | 26.6729 | 16.004 |
65
+ | 0.4584 | 2.2802 | 3500 | 0.1919 | 29.6475 | 8.3551 | 25.1859 | 25.455 | 15.92 |
66
+ | 0.4536 | 2.6060 | 4000 | 0.1922 | 30.3476 | 8.7192 | 25.8444 | 26.0811 | 15.981 |
67
+ | 0.4477 | 2.9317 | 4500 | 0.1937 | 29.6433 | 8.3589 | 25.256 | 25.5825 | 15.63 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.47.0
73
+ - Pytorch 2.5.1+cu121
74
+ - Datasets 3.3.1
75
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 50256,
3
+ "decoder_start_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 50256,
6
+ "transformers_version": "4.47.0"
7
+ }