gimarchetti commited on
Commit
f47429a
1 Parent(s): 30fb249

End of training

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: HuggingFaceM4/idefics2-8b
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: gm-lora-bfloat16-idefics2-8b-xrayvqa-finetuned-medir2
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # gm-lora-bfloat16-idefics2-8b-xrayvqa-finetuned-medir2
15
+
16
+ This model is a fine-tuned version of [HuggingFaceM4/idefics2-8b](https://huggingface.co/HuggingFaceM4/idefics2-8b) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.6349
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 10
42
+ - total_train_batch_size: 80
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 3
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:------:|:----:|:---------------:|
51
+ | 1.1259 | 0.0764 | 50 | 1.4468 |
52
+ | 1.2502 | 0.1529 | 100 | 1.4544 |
53
+ | 1.2599 | 0.2293 | 150 | 1.4605 |
54
+ | 1.1477 | 0.3058 | 200 | 1.4844 |
55
+ | 1.1041 | 0.3822 | 250 | 1.4835 |
56
+ | 1.0958 | 0.4586 | 300 | 1.4724 |
57
+ | 1.0975 | 0.5351 | 350 | 1.4800 |
58
+ | 1.133 | 0.6115 | 400 | 1.4656 |
59
+ | 1.1785 | 0.6880 | 450 | 1.4458 |
60
+ | 1.3751 | 0.7644 | 500 | 1.4227 |
61
+ | 1.3751 | 0.8409 | 550 | 1.4187 |
62
+ | 1.3983 | 0.9173 | 600 | 1.4158 |
63
+ | 1.4147 | 0.9937 | 650 | 1.4073 |
64
+ | 0.9615 | 1.0702 | 700 | 1.4901 |
65
+ | 0.9026 | 1.1466 | 750 | 1.5204 |
66
+ | 0.8919 | 1.2231 | 800 | 1.4997 |
67
+ | 0.917 | 1.2995 | 850 | 1.4994 |
68
+ | 0.9149 | 1.3759 | 900 | 1.4998 |
69
+ | 0.9342 | 1.4524 | 950 | 1.4971 |
70
+ | 0.9363 | 1.5288 | 1000 | 1.5039 |
71
+ | 0.9087 | 1.6053 | 1050 | 1.4907 |
72
+ | 0.9272 | 1.6817 | 1100 | 1.4920 |
73
+ | 0.9195 | 1.7581 | 1150 | 1.4955 |
74
+ | 0.9488 | 1.8346 | 1200 | 1.4900 |
75
+ | 0.9209 | 1.9110 | 1250 | 1.4887 |
76
+ | 0.9463 | 1.9875 | 1300 | 1.4891 |
77
+ | 0.7123 | 2.0639 | 1350 | 1.6077 |
78
+ | 0.646 | 2.1403 | 1400 | 1.6182 |
79
+ | 0.6405 | 2.2168 | 1450 | 1.6390 |
80
+ | 0.6481 | 2.2932 | 1500 | 1.6198 |
81
+ | 0.6372 | 2.3697 | 1550 | 1.6340 |
82
+ | 0.6618 | 2.4461 | 1600 | 1.6311 |
83
+ | 0.6499 | 2.5226 | 1650 | 1.6277 |
84
+ | 0.6471 | 2.5990 | 1700 | 1.6344 |
85
+ | 0.6554 | 2.6754 | 1750 | 1.6303 |
86
+ | 0.6475 | 2.7519 | 1800 | 1.6333 |
87
+ | 0.641 | 2.8283 | 1850 | 1.6315 |
88
+ | 0.6274 | 2.9048 | 1900 | 1.6343 |
89
+ | 0.6309 | 2.9812 | 1950 | 1.6349 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.41.0.dev0
95
+ - Pytorch 2.0.1
96
+ - Datasets 2.19.1
97
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HuggingFaceM4/idefics2-8b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": false,
8
+ "init_lora_weights": "gaussian",
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 8,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": ".*(text_model|modality_projection|perceiver_resampler).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$",
23
+ "task_type": null,
24
+ "use_dora": true,
25
+ "use_rslora": false
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c8f142234c95b49dc57b234d6755e5e7196e29a71a0881ae21d2200244e01f3
3
+ size 49840864
generation_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 32000
6
+ ],
7
+ [
8
+ 32001
9
+ ]
10
+ ],
11
+ "bos_token_id": 1,
12
+ "eos_token_id": [
13
+ 2,
14
+ 32002
15
+ ],
16
+ "pad_token_id": 0,
17
+ "transformers_version": "4.41.0.dev0"
18
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b7d198db92f78761db8af45b251aa2a7ad400c9e2d45772d7c1d32d36045afe
3
+ size 4731