rinogrego commited on
Commit
fef143d
1 Parent(s): 35a7900

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: HuggingFaceM4/idefics2-8b
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: idefics2-8b-path_vqa-finetuned-tutorial
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
+ # idefics2-8b-path_vqa-finetuned-tutorial
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.0688
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: 0.0001
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 2
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 8
42
+ - total_train_batch_size: 16
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 50
46
+ - num_epochs: 2
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 6.0779 | 0.16 | 10 | 3.3574 |
54
+ | 2.0221 | 0.32 | 20 | 1.2580 |
55
+ | 1.0361 | 0.48 | 30 | 1.0355 |
56
+ | 0.7289 | 0.64 | 40 | 1.0705 |
57
+ | 0.6758 | 0.8 | 50 | 1.0496 |
58
+ | 0.5689 | 0.96 | 60 | 1.0893 |
59
+ | 0.4038 | 1.12 | 70 | 1.1230 |
60
+ | 0.3773 | 1.28 | 80 | 1.0498 |
61
+ | 0.3227 | 1.44 | 90 | 1.1104 |
62
+ | 0.2934 | 1.6 | 100 | 1.0788 |
63
+ | 0.2968 | 1.76 | 110 | 1.0667 |
64
+ | 0.3099 | 1.92 | 120 | 1.0688 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.42.0.dev0
70
+ - Pytorch 2.3.0+cu121
71
+ - Datasets 2.19.2
72
+ - 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": false,
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:bdb5f9788ae05ebd8fea35cb7d53d1ecc0c40cbca53f4c5cda2214a09e09ad47
3
+ size 93378688
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.42.0.dev0"
18
+ }
reproduce and run idefics on VQA task.ipynb 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:fd2d8d42147c78cb6423a8350e9aac69755a333f90dc42da8394f8ba4afdf03b
3
+ size 5176