silviasapora commited on
Commit
4fc7839
·
verified ·
1 Parent(s): 3edb7a0

Model save

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: gemma
4
+ base_model: google/gemma-7b
5
+ tags:
6
+ - trl
7
+ - orpo
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: gemma-7b-orpo-low-quality
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # gemma-7b-orpo-low-quality
18
+
19
+ This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.7140
22
+ - Rewards/chosen: -0.0627
23
+ - Rewards/rejected: -0.0713
24
+ - Rewards/accuracies: 0.5468
25
+ - Rewards/margins: 0.0086
26
+ - Logps/rejected: -1.4256
27
+ - Logps/chosen: -1.2543
28
+ - Logits/rejected: 254.8359
29
+ - Logits/chosen: 284.1839
30
+ - Nll Loss: 1.6445
31
+ - Log Odds Ratio: -0.7198
32
+ - Log Odds Chosen: 0.2700
33
+
34
+ ## Model description
35
+
36
+ More information needed
37
+
38
+ ## Intended uses & limitations
39
+
40
+ More information needed
41
+
42
+ ## Training and evaluation data
43
+
44
+ More information needed
45
+
46
+ ## Training procedure
47
+
48
+ ### Training hyperparameters
49
+
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 5e-06
52
+ - train_batch_size: 1
53
+ - eval_batch_size: 1
54
+ - seed: 42
55
+ - distributed_type: multi-GPU
56
+ - num_devices: 4
57
+ - total_train_batch_size: 4
58
+ - total_eval_batch_size: 4
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: inverse_sqrt
61
+ - lr_scheduler_warmup_steps: 100
62
+ - num_epochs: 3
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Nll Loss | Log Odds Ratio | Log Odds Chosen |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
68
+ | 1.4383 | 1.0 | 1341 | 1.4377 | -0.0510 | -0.0574 | 0.5396 | 0.0064 | -1.1482 | -1.0204 | 305.7246 | 332.3974 | 1.3887 | -0.7026 | 0.2118 |
69
+ | 0.7446 | 2.0 | 2682 | 1.4665 | -0.0520 | -0.0604 | 0.5180 | 0.0084 | -1.2083 | -1.0407 | 290.7071 | 318.0078 | 1.4117 | -0.6996 | 0.2745 |
70
+ | 0.3228 | 3.0 | 4023 | 1.7140 | -0.0627 | -0.0713 | 0.5468 | 0.0086 | -1.4256 | -1.2543 | 254.8359 | 284.1839 | 1.6445 | -0.7198 | 0.2700 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.44.2
76
+ - Pytorch 2.3.1+cu121
77
+ - Datasets 2.20.0
78
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.9688140684296591,
5
+ "train_runtime": 3597.9931,
6
+ "train_samples": 5364,
7
+ "train_samples_per_second": 4.472,
8
+ "train_steps_per_second": 1.118
9
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/gemma-7b",
3
+ "architectures": [
4
+ "GemmaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 106,
9
+ "eos_token_id": 107,
10
+ "head_dim": 256,
11
+ "hidden_act": "gelu",
12
+ "hidden_activation": "gelu_pytorch_tanh",
13
+ "hidden_size": 3072,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 24576,
16
+ "max_position_embeddings": 8192,
17
+ "model_type": "gemma",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 28,
20
+ "num_key_value_heads": 16,
21
+ "pad_token_id": 107,
22
+ "rms_norm_eps": 1e-06,
23
+ "rope_scaling": null,
24
+ "rope_theta": 10000.0,
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.44.2",
27
+ "use_cache": false,
28
+ "vocab_size": 256000
29
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 106,
4
+ "eos_token_id": 107,
5
+ "pad_token_id": 107,
6
+ "transformers_version": "4.44.2"
7
+ }
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8737b4c600771ab20d0d2f09311033b7feabceaa17cc3a7d0bb271d8c802cc2c
3
+ size 4913707856
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d8572f9111983531dd0668a08d12ab4067af64bed25781fed3d85c41188d963
3
+ size 4932629336
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:987d8a009c097cbdea22dc44412cce9502abcf809358f8e1d0d7907c64ea5fd2
3
+ size 4731277496
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36ba0a13c1b8ae2f8dea98906f8803a7dea6ac13b6c046f59db5d4278ca453d6
3
+ size 4731277512
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c5276b475881536ab88adb01e19b9db6a1b07d4ab7540e6eeb4632a7ddaeee
3
+ size 4932629384
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50856c14a3455edb5642bda397b512626a325a5440c9759697c3821d8e6937de
3
+ size 4731277512
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eb88cf37b3d58d35a5879422c7f21b01cfdd03892598f3074dbaccb0ad55f11
3
+ size 2818648664
model.safetensors.index.json ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 31791418368
4
+ },
5
+ "weight_map": {
6
+ "model.embed_tokens.weight": "model-00001-of-00007.safetensors",
7
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors",
8
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
9
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
10
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
11
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
12
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
13
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
14
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
15
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
16
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors",
17
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
18
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
19
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
20
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
21
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
22
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
23
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
24
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
25
+ "model.layers.10.input_layernorm.weight": "model-00003-of-00007.safetensors",
26
+ "model.layers.10.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
27
+ "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
28
+ "model.layers.10.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
29
+ "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
30
+ "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
31
+ "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
32
+ "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
33
+ "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
34
+ "model.layers.11.input_layernorm.weight": "model-00003-of-00007.safetensors",
35
+ "model.layers.11.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
36
+ "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
37
+ "model.layers.11.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
38
+ "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
39
+ "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
40
+ "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
41
+ "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
42
+ "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
43
+ "model.layers.12.input_layernorm.weight": "model-00004-of-00007.safetensors",
44
+ "model.layers.12.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
45
+ "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
46
+ "model.layers.12.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
47
+ "model.layers.12.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
48
+ "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
49
+ "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
50
+ "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
51
+ "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
52
+ "model.layers.13.input_layernorm.weight": "model-00004-of-00007.safetensors",
53
+ "model.layers.13.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
54
+ "model.layers.13.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
55
+ "model.layers.13.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
56
+ "model.layers.13.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
57
+ "model.layers.13.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
58
+ "model.layers.13.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
59
+ "model.layers.13.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
60
+ "model.layers.13.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
61
+ "model.layers.14.input_layernorm.weight": "model-00004-of-00007.safetensors",
62
+ "model.layers.14.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
63
+ "model.layers.14.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
64
+ "model.layers.14.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
65
+ "model.layers.14.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
66
+ "model.layers.14.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
67
+ "model.layers.14.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
68
+ "model.layers.14.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
69
+ "model.layers.14.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
70
+ "model.layers.15.input_layernorm.weight": "model-00004-of-00007.safetensors",
71
+ "model.layers.15.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
72
+ "model.layers.15.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
73
+ "model.layers.15.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
74
+ "model.layers.15.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
75
+ "model.layers.15.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
76
+ "model.layers.15.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
77
+ "model.layers.15.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
78
+ "model.layers.15.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
79
+ "model.layers.16.input_layernorm.weight": "model-00005-of-00007.safetensors",
80
+ "model.layers.16.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
81
+ "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
82
+ "model.layers.16.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
83
+ "model.layers.16.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
84
+ "model.layers.16.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
85
+ "model.layers.16.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
86
+ "model.layers.16.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
87
+ "model.layers.16.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
88
+ "model.layers.17.input_layernorm.weight": "model-00005-of-00007.safetensors",
89
+ "model.layers.17.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
90
+ "model.layers.17.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
91
+ "model.layers.17.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
92
+ "model.layers.17.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
93
+ "model.layers.17.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
94
+ "model.layers.17.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
95
+ "model.layers.17.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
96
+ "model.layers.17.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
97
+ "model.layers.18.input_layernorm.weight": "model-00005-of-00007.safetensors",
98
+ "model.layers.18.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
99
+ "model.layers.18.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
100
+ "model.layers.18.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
101
+ "model.layers.18.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
102
+ "model.layers.18.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
103
+ "model.layers.18.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
104
+ "model.layers.18.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
105
+ "model.layers.18.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
106
+ "model.layers.19.input_layernorm.weight": "model-00005-of-00007.safetensors",
107
+ "model.layers.19.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
108
+ "model.layers.19.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
109
+ "model.layers.19.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
110
+ "model.layers.19.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
111
+ "model.layers.19.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
112
+ "model.layers.19.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
113
+ "model.layers.19.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
114
+ "model.layers.19.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
115
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00007.safetensors",
116
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
117
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
118
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
119
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
120
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
121
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
122
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
123
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
124
+ "model.layers.20.input_layernorm.weight": "model-00005-of-00007.safetensors",
125
+ "model.layers.20.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
126
+ "model.layers.20.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
127
+ "model.layers.20.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
128
+ "model.layers.20.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
129
+ "model.layers.20.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
130
+ "model.layers.20.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
131
+ "model.layers.20.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
132
+ "model.layers.20.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
133
+ "model.layers.21.input_layernorm.weight": "model-00006-of-00007.safetensors",
134
+ "model.layers.21.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
135
+ "model.layers.21.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
136
+ "model.layers.21.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
137
+ "model.layers.21.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
138
+ "model.layers.21.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
139
+ "model.layers.21.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
140
+ "model.layers.21.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
141
+ "model.layers.21.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
142
+ "model.layers.22.input_layernorm.weight": "model-00006-of-00007.safetensors",
143
+ "model.layers.22.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
144
+ "model.layers.22.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
145
+ "model.layers.22.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
146
+ "model.layers.22.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
147
+ "model.layers.22.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
148
+ "model.layers.22.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
149
+ "model.layers.22.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
150
+ "model.layers.22.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
151
+ "model.layers.23.input_layernorm.weight": "model-00006-of-00007.safetensors",
152
+ "model.layers.23.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
153
+ "model.layers.23.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
154
+ "model.layers.23.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
155
+ "model.layers.23.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
156
+ "model.layers.23.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
157
+ "model.layers.23.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
158
+ "model.layers.23.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
159
+ "model.layers.23.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
160
+ "model.layers.24.input_layernorm.weight": "model-00006-of-00007.safetensors",
161
+ "model.layers.24.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
162
+ "model.layers.24.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
163
+ "model.layers.24.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
164
+ "model.layers.24.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
165
+ "model.layers.24.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
166
+ "model.layers.24.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
167
+ "model.layers.24.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
168
+ "model.layers.24.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
169
+ "model.layers.25.input_layernorm.weight": "model-00007-of-00007.safetensors",
170
+ "model.layers.25.mlp.down_proj.weight": "model-00007-of-00007.safetensors",
171
+ "model.layers.25.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
172
+ "model.layers.25.mlp.up_proj.weight": "model-00007-of-00007.safetensors",
173
+ "model.layers.25.post_attention_layernorm.weight": "model-00007-of-00007.safetensors",
174
+ "model.layers.25.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
175
+ "model.layers.25.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
176
+ "model.layers.25.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
177
+ "model.layers.25.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
178
+ "model.layers.26.input_layernorm.weight": "model-00007-of-00007.safetensors",
179
+ "model.layers.26.mlp.down_proj.weight": "model-00007-of-00007.safetensors",
180
+ "model.layers.26.mlp.gate_proj.weight": "model-00007-of-00007.safetensors",
181
+ "model.layers.26.mlp.up_proj.weight": "model-00007-of-00007.safetensors",
182
+ "model.layers.26.post_attention_layernorm.weight": "model-00007-of-00007.safetensors",
183
+ "model.layers.26.self_attn.k_proj.weight": "model-00007-of-00007.safetensors",
184
+ "model.layers.26.self_attn.o_proj.weight": "model-00007-of-00007.safetensors",
185
+ "model.layers.26.self_attn.q_proj.weight": "model-00007-of-00007.safetensors",
186
+ "model.layers.26.self_attn.v_proj.weight": "model-00007-of-00007.safetensors",
187
+ "model.layers.27.input_layernorm.weight": "model-00007-of-00007.safetensors",
188
+ "model.layers.27.mlp.down_proj.weight": "model-00007-of-00007.safetensors",
189
+ "model.layers.27.mlp.gate_proj.weight": "model-00007-of-00007.safetensors",
190
+ "model.layers.27.mlp.up_proj.weight": "model-00007-of-00007.safetensors",
191
+ "model.layers.27.post_attention_layernorm.weight": "model-00007-of-00007.safetensors",
192
+ "model.layers.27.self_attn.k_proj.weight": "model-00007-of-00007.safetensors",
193
+ "model.layers.27.self_attn.o_proj.weight": "model-00007-of-00007.safetensors",
194
+ "model.layers.27.self_attn.q_proj.weight": "model-00007-of-00007.safetensors",
195
+ "model.layers.27.self_attn.v_proj.weight": "model-00007-of-00007.safetensors",
196
+ "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors",
197
+ "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
198
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
199
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
200
+ "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
201
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
202
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
203
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
204
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
205
+ "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors",
206
+ "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
207
+ "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
208
+ "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
209
+ "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
210
+ "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
211
+ "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
212
+ "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
213
+ "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
214
+ "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors",
215
+ "model.layers.5.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
216
+ "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
217
+ "model.layers.5.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
218
+ "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
219
+ "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
220
+ "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
221
+ "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
222
+ "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
223
+ "model.layers.6.input_layernorm.weight": "model-00002-of-00007.safetensors",
224
+ "model.layers.6.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
225
+ "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
226
+ "model.layers.6.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
227
+ "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
228
+ "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
229
+ "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
230
+ "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
231
+ "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
232
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors",
233
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
234
+ "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
235
+ "model.layers.7.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
236
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
237
+ "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
238
+ "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
239
+ "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
240
+ "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
241
+ "model.layers.8.input_layernorm.weight": "model-00003-of-00007.safetensors",
242
+ "model.layers.8.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
243
+ "model.layers.8.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
244
+ "model.layers.8.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
245
+ "model.layers.8.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
246
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
247
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
248
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
249
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
250
+ "model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors",
251
+ "model.layers.9.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
252
+ "model.layers.9.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
253
+ "model.layers.9.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
254
+ "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
255
+ "model.layers.9.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
256
+ "model.layers.9.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
257
+ "model.layers.9.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
258
+ "model.layers.9.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
259
+ "model.norm.weight": "model-00007-of-00007.safetensors"
260
+ }
261
+ }
runs/Sep15_16-12-02_8bf5d89973e8/events.out.tfevents.1726416796.8bf5d89973e8.2457.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e6f72935e825238825e1124092ae880d71cc89f3548e9948793692f5c835866
3
+ size 5404
runs/Sep15_16-23-36_8bf5d89973e8/events.out.tfevents.1726417490.8bf5d89973e8.2803.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da7b2d3f9caa57ace9bacf9bcbcbb24d2094a7ace86fbfdc937c30c4525e25d7
3
+ size 699550
special_tokens_map.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|im_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|im_end|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ }
17
+ ],
18
+ "bos_token": "<|im_start|>",
19
+ "eos_token": "<|im_end|>",
20
+ "pad_token": "<|im_end|>",
21
+ "unk_token": {
22
+ "content": "<unk>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ }
28
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322a5f52ab5cab196761ab397a022d6fa3a2e1418585e532bb6efb2fedd2ae94
3
+ size 17477501
tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "106": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<|im_start|>",
59
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
60
+ "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<|im_end|>",
62
+ "legacy": null,
63
+ "model_max_length": 2048,
64
+ "pad_token": "<|im_end|>",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "tokenizer_class": "GemmaTokenizer",
68
+ "unk_token": "<unk>",
69
+ "use_default_system_prompt": false
70
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.9688140684296591,
5
+ "train_runtime": 3597.9931,
6
+ "train_samples": 5364,
7
+ "train_samples_per_second": 4.472,
8
+ "train_steps_per_second": 1.118
9
+ }
trainer_state.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:32c96f68a91bf205c2da2a13d2daa71e49ee0c2cc2d69c45155dd589645971dd
3
+ size 5560