sgraham commited on
Commit
58e1450
·
verified ·
1 Parent(s): 4246c33

Pushed the IDEFICS2 fine-tuned model on some archae context sheets just to figure out the workflow.

Browse files
checkpoint-25/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HuggingFaceM4/idefics2-8b",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": false,
10
+ "init_lora_weights": "gaussian",
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 8,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.1,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 8,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": ".*(text_model|modality_projection|perceiver_resampler).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$",
26
+ "task_type": null,
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
checkpoint-25/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be9e155a00a091ac429c9d7a002d77384488d3de0efeaae002cad2bbc9c46207
3
+ size 93378688
checkpoint-25/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.48.0.dev0"
18
+ }
checkpoint-25/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5cec25c51806ee812922158a4f65e6cf97e564598eb8475b8f6b140257657cd
3
+ size 48071944
checkpoint-25/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c206a7c9501ba9b5582e20e7f46c01b7303a14e0ff060a0a0208c8639ad21fa6
3
+ size 14244
checkpoint-25/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05716f05747fb967268b6b65bee49602693de25bf95ae9c915a7eff48a89265
3
+ size 1064
checkpoint-25/trainer_state.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.1403508771929824,
5
+ "eval_steps": 10,
6
+ "global_step": 25,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.7017543859649122,
13
+ "grad_norm": 86.28084564208984,
14
+ "learning_rate": 0.00017600000000000002,
15
+ "loss": 3.9501,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 1.280701754385965,
20
+ "grad_norm": 109.0323486328125,
21
+ "learning_rate": 0.000144,
22
+ "loss": 2.0948,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 1.280701754385965,
27
+ "eval_loss": 0.6712124943733215,
28
+ "eval_runtime": 31.8555,
29
+ "eval_samples_per_second": 0.722,
30
+ "eval_steps_per_second": 0.377,
31
+ "step": 10
32
+ },
33
+ {
34
+ "epoch": 1.9824561403508771,
35
+ "grad_norm": 51.63697052001953,
36
+ "learning_rate": 0.00010400000000000001,
37
+ "loss": 2.2882,
38
+ "step": 15
39
+ },
40
+ {
41
+ "epoch": 2.56140350877193,
42
+ "grad_norm": 53.5184326171875,
43
+ "learning_rate": 6.400000000000001e-05,
44
+ "loss": 1.3999,
45
+ "step": 20
46
+ },
47
+ {
48
+ "epoch": 2.56140350877193,
49
+ "eval_loss": 0.5531365871429443,
50
+ "eval_runtime": 31.7285,
51
+ "eval_samples_per_second": 0.725,
52
+ "eval_steps_per_second": 0.378,
53
+ "step": 20
54
+ },
55
+ {
56
+ "epoch": 3.1403508771929824,
57
+ "grad_norm": 20.981565475463867,
58
+ "learning_rate": 3.2000000000000005e-05,
59
+ "loss": 1.3415,
60
+ "step": 25
61
+ }
62
+ ],
63
+ "logging_steps": 5,
64
+ "max_steps": 25,
65
+ "num_input_tokens_seen": 0,
66
+ "num_train_epochs": 4,
67
+ "save_steps": 25,
68
+ "stateful_callbacks": {
69
+ "TrainerControl": {
70
+ "args": {
71
+ "should_epoch_stop": false,
72
+ "should_evaluate": false,
73
+ "should_log": false,
74
+ "should_save": true,
75
+ "should_training_stop": true
76
+ },
77
+ "attributes": {}
78
+ }
79
+ },
80
+ "total_flos": 1666311723127392.0,
81
+ "train_batch_size": 2,
82
+ "trial_name": null,
83
+ "trial_params": null
84
+ }
checkpoint-25/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4f668871e21e05e5e1625fecbdb54559b75b1aff22294454ac78ae0c7e83537
3
+ size 5304