sophiayk20 commited on
Commit
8284ef7
·
verified ·
1 Parent(s): 56f718b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: Salesforce/blip2-opt-2.7b
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: blip-gqa-ft-trial2
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-gqa-ft-trial2
16
+
17
+ This model is a fine-tuned version of [Salesforce/blip2-opt-2.7b](https://huggingface.co/Salesforce/blip2-opt-2.7b) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.8559
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: 5e-05
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 32
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 128
44
+ - optimizer: Use OptimizerNames.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
+ - num_epochs: 5
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:----:|:---------------:|
53
+ | 2.0074 | 1.0 | 313 | 2.0112 |
54
+ | 1.7625 | 2.0 | 626 | 1.9272 |
55
+ | 1.853 | 3.0 | 939 | 1.8629 |
56
+ | 1.6087 | 4.0 | 1252 | 1.8508 |
57
+ | 1.6017 | 4.9856 | 1560 | 1.8559 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.51.3
63
+ - Pytorch 2.4.0+cu121
64
+ - Datasets 3.5.0
65
+ - Tokenizers 0.21.1
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image>": 50265
3
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 50118,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.51.3"
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d207637e937b29aac68e374ddac7f7de1028237370d09ecdab1ffeb7359f664
3
  size 4987223832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5d462422cae0eada995cac9a6a17bf417eb4c7950a6bec8408597fccf4fb441
3
  size 4987223832
model-00002-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa842b20c7cabb56fe7ffd680f99a0a77fb6657bc6aec8dc447ec4e59a95ec31
3
  size 4982878872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce3f3fb670a6791a60d7c2723a4a3841132baabd77fe8e2972e2ad546bddc9a9
3
  size 4982878872
model-00003-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12d95121fa35744ea266de435dd38282155a0da2697b182069afe21ebc783c3a
3
  size 4904215096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa62ffa4c29918b46d5fa6192126160acae0648b9ecef8a85fa6d352606351cc
3
  size 4904215096
model-00004-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c7baea48c214e56a6fa8e81751fe730887730c59204d76a2c55cedc2f64014f
3
  size 104888856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f68ce668d7ed1360c7eb1c274b27ede8d2b91e2bedaca3868017a56747ca2901
3
  size 104888856
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "50265": {
22
+ "content": "<image>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "bos_token": "</s>",
31
+ "clean_up_tokenization_spaces": false,
32
+ "eos_token": "</s>",
33
+ "errors": "replace",
34
+ "extra_special_tokens": {},
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "<pad>",
37
+ "processor_class": "Blip2Processor",
38
+ "tokenizer_class": "GPT2Tokenizer",
39
+ "unk_token": "</s>"
40
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff