Theon1130 commited on
Commit
7635a07
1 Parent(s): 67d068d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: ROCO_pmc_llava-v1.6-mistral_qfomer
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # ROCO_pmc_llava-v1.6-mistral_qfomer
13
+
14
+ This model was trained from scratch on the None dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Loss: 2.0025
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 2e-05
36
+ - train_batch_size: 2
37
+ - eval_batch_size: 2
38
+ - seed: 42
39
+ - gradient_accumulation_steps: 16
40
+ - total_train_batch_size: 32
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: cosine
43
+ - lr_scheduler_warmup_ratio: 0.03
44
+ - num_epochs: 1
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 1.875 | 0.24 | 500 | 2.0133 |
51
+ | 2.125 | 0.49 | 1000 | 2.0040 |
52
+ | 2.0469 | 0.73 | 1500 | 2.0028 |
53
+ | 1.9609 | 0.98 | 2000 | 2.0025 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.37.2
59
+ - Pytorch 2.1.2+cu121
60
+ - Datasets 2.19.1
61
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/pmc_llava-v1.6-mistral_qfomer",
3
+ "architectures": [
4
+ "LlavaMistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "freeze_mm_mlp_adapter": false,
10
+ "freeze_mm_vision_resampler": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "image_aspect_ratio": "anyres",
14
+ "image_crop_resolution": 224,
15
+ "image_grid_pinpoints": [
16
+ [
17
+ 672,
18
+ 672
19
+ ]
20
+ ],
21
+ "image_split_resolution": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 14336,
24
+ "max_position_embeddings": 32768,
25
+ "mm_hidden_size": 1024,
26
+ "mm_patch_merge_type": "spatial_unpad",
27
+ "mm_projector_lr": null,
28
+ "mm_projector_type": "mlp2x_gelu",
29
+ "mm_resampler_type": null,
30
+ "mm_use_im_patch_token": false,
31
+ "mm_use_im_start_end": false,
32
+ "mm_vision_select_feature": "patch",
33
+ "mm_vision_select_layer": -2,
34
+ "mm_vision_tower": "/workspace/pmc_vit-l-14_hf",
35
+ "mm_vision_tower_lr": 2e-06,
36
+ "model_type": "llava_mistral",
37
+ "num_attention_heads": 32,
38
+ "num_hidden_layers": 32,
39
+ "num_key_value_heads": 8,
40
+ "rms_norm_eps": 1e-05,
41
+ "rope_theta": 1000000.0,
42
+ "sliding_window": null,
43
+ "tie_word_embeddings": false,
44
+ "tokenizer_model_max_length": 4096,
45
+ "tokenizer_padding_side": "left",
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.37.2",
48
+ "tune_mm_mlp_adapter": false,
49
+ "tune_mm_vision_resampler": false,
50
+ "unfreeze_mm_vision_tower": true,
51
+ "use_cache": false,
52
+ "use_mm_proj": true,
53
+ "use_q": true,
54
+ "vocab_size": 32000
55
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.37.2"
6
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f11463314a7b628842ba55008c323fbc8d2c6d48a90f02343d550d61321d8e
3
+ size 4943170624
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e88a821d441aef6685311cb319eebbac47fa99d523c71519a3cfa59478da451
3
+ size 4999819336
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c50d50c924751d1a3038364ef2f9069a968d6957a5b7683e4047bfa45e7e9f4
3
+ size 4991925944
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03d8dbeee2e0f5dbda7c08656d153d26cc8c944882a1c836be23538cd17e35f
3
+ size 572850160
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15de73a91ea62f0e7b04a80dd7597ff08599a803d23fb3225ee07a1309f51713
3
+ size 4792