majorSeaweed commited on
Commit
d8d71d2
·
verified ·
1 Parent(s): d01d68e

majorSeaweed/Pokemon-Image-Captioning

Browse files
Files changed (5) hide show
  1. README.md +69 -0
  2. config.json +29 -0
  3. generation_config.json +7 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: bsd-3-clause
4
+ base_model: Salesforce/blip-image-captioning-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: blip-finetuned-kag100
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # blip-finetuned-kag100
16
+
17
+ This model is a fine-tuned version of [Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.8447
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 1e-06
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 2
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 16
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 50
47
+ - num_epochs: 12
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:----:|:---------------:|
54
+ | 1.379 | 1.1130 | 50 | 1.3287 |
55
+ | 1.0477 | 2.2260 | 100 | 1.0919 |
56
+ | 0.8732 | 3.3390 | 150 | 0.9758 |
57
+ | 0.796 | 4.4520 | 200 | 0.9150 |
58
+ | 0.732 | 5.5650 | 250 | 0.9030 |
59
+ | 0.7011 | 6.6780 | 300 | 0.8376 |
60
+ | 0.6761 | 7.7910 | 350 | 0.8530 |
61
+ | 0.663 | 8.9040 | 400 | 0.8447 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.47.0
67
+ - Pytorch 2.5.1+cu121
68
+ - Datasets 3.2.0
69
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Salesforce/blip-image-captioning-base",
3
+ "architectures": [
4
+ "BlipForConditionalGeneration"
5
+ ],
6
+ "image_text_hidden_size": 256,
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "label_smoothing": 0.0,
10
+ "logit_scale_init_value": 2.6592,
11
+ "model_type": "blip",
12
+ "projection_dim": 512,
13
+ "text_config": {
14
+ "_attn_implementation_autoset": true,
15
+ "initializer_factor": 1.0,
16
+ "model_type": "blip_text_model",
17
+ "num_attention_heads": 12
18
+ },
19
+ "torch_dtype": "float32",
20
+ "transformers_version": "4.47.0",
21
+ "vision_config": {
22
+ "_attn_implementation_autoset": true,
23
+ "dropout": 0.0,
24
+ "initializer_factor": 1.0,
25
+ "initializer_range": 0.02,
26
+ "model_type": "blip_vision_model",
27
+ "num_channels": 3
28
+ }
29
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 30522,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.47.0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23a0af3b5f924deef9c4f3a0423a91e1ff35c313fdcc9732ef6fd3ec9e974063
3
+ size 989717056
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9743aba4dd469b172f436277f6c5e981c4854ba5d8fa7d60ec29534e2623a619
3
+ size 5304