WafaaFraih commited on
Commit
dfa5ab5
·
verified ·
1 Parent(s): d4e3002

Model save

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - bleu
9
+ model-index:
10
+ - name: medical-caption-model-v1
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
+ # medical-caption-model-v1
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: 5.0189
22
+ - Bleu: 0.0332
23
+ - Meteor: 5.8196
24
+ - Rougel: 10.2378
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 4
45
+ - eval_batch_size: 4
46
+ - seed: 42
47
+ - gradient_accumulation_steps: 8
48
+ - total_train_batch_size: 32
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Meteor | Rougel |
57
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:-------:|
58
+ | 5.1913 | 2.0 | 200 | 5.2321 | 0.0396 | 7.0115 | 10.6658 |
59
+ | 4.6615 | 4.0 | 400 | 4.9947 | 0.0495 | 6.1088 | 10.9570 |
60
+ | 4.3567 | 6.0 | 600 | 4.9261 | 0.0384 | 5.7674 | 11.0691 |
61
+ | 4.0884 | 8.0 | 800 | 4.9632 | 0.0344 | 5.9190 | 10.6889 |
62
+ | 3.9311 | 10.0 | 1000 | 5.0189 | 0.0332 | 5.8196 | 10.2378 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.56.1
68
+ - Pytorch 2.8.0+cu126
69
+ - Datasets 4.0.0
70
+ - Tokenizers 0.22.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.56.1"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3eb3a299e110f68d0704df848bbc223ab886b80ca824caf5287728d80087f165
3
  size 956835520
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6193cdde95575a74618c1bdbc1815848955cd2e11aea365e92d9b96519b729b
3
  size 956835520
runs/Sep12_15-38-22_b15aef01be1c/events.out.tfevents.1757691504.b15aef01be1c.906.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47b972946f35f05dfeb9d29b0733b9a073e9309af5b001eabc122acb6021e581
3
- size 12763
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77bf2e20583ae70f29b0796fc542e0599c2c995edd6d46a8b03867e259c4d076
3
+ size 13117