MisterOss commited on
Commit
e47321c
·
verified ·
1 Parent(s): a50e051

Add files using upload-large-folder tool

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
chat_template.jinja ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- '<|endoftext|>' }}
2
+ {%- if tools %}
3
+ {{- '<|im_start|>system\n' }}
4
+ {%- if messages[0]['role'] == 'system' %}
5
+ {{- messages[0]['content'] }}
6
+ {%- else %}
7
+ {{- 'You are a helpful assistant.' }}
8
+ {%- endif %}
9
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
10
+ {%- for tool in tools %}
11
+ {{- "\n" }}
12
+ {{- tool | tojson }}
13
+ {%- endfor %}
14
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
15
+ {%- else %}
16
+ {%- if messages[0]['role'] == 'system' %}
17
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
18
+ {%- else %}
19
+ {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
20
+ {%- endif %}
21
+ {%- endif %}
22
+ {%- for message in messages %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role }}
27
+ {%- if message.content %}
28
+ {{- '\n' + message.content }}
29
+ {%- endif %}
30
+ {%- for tool_call in message.tool_calls %}
31
+ {%- if tool_call.function is defined %}
32
+ {%- set tool_call = tool_call.function %}
33
+ {%- endif %}
34
+ {{- '\n<tool_call>\n{"name": "' }}
35
+ {{- tool_call.name }}
36
+ {{- '", "arguments": ' }}
37
+ {{- tool_call.arguments | tojson }}
38
+ {{- '}\n</tool_call>' }}
39
+ {%- endfor %}
40
+ {{- '<|im_end|>\n' }}
41
+ {%- elif message.role == "tool" %}
42
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
43
+ {{- '<|im_start|>user' }}
44
+ {%- endif %}
45
+ {{- '\n<tool_response>\n' }}
46
+ {{- message.content }}
47
+ {{- '\n</tool_response>' }}
48
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
49
+ {{- '<|im_end|>\n' }}
50
+ {%- endif %}
51
+ {%- endif %}
52
+ {%- endfor %}
53
+ {%- if add_generation_prompt %}
54
+ {{- '<|im_start|>assistant\n' }}
55
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LimiteForCausalLM"
4
+ ],
5
+ "attention_softmax_scale": 0.1,
6
+ "attn_gate_applied": "per_head_before_o_proj",
7
+ "attn_gate_channels": 128,
8
+ "attn_gate_scale": 2.0,
9
+ "bos_token_id": 151643,
10
+ "checkpoint_step": -1,
11
+ "checkpoint_world_size": 48,
12
+ "eos_token_id": 151645,
13
+ "final_softcap": 0.0,
14
+ "global_every": 4,
15
+ "global_layers": [
16
+ 3,
17
+ 7,
18
+ 11,
19
+ 15,
20
+ 19,
21
+ 23,
22
+ 27,
23
+ 31,
24
+ 35,
25
+ 39,
26
+ 43,
27
+ 47
28
+ ],
29
+ "global_nope": true,
30
+ "global_window": -1,
31
+ "head_dim": 128,
32
+ "hidden_size": 1280,
33
+ "intermediate_size": 3328,
34
+ "lm_head_precision_mode": "oracle_exact",
35
+ "max_position_embeddings": 131072,
36
+ "mlp_formula": "(silu(gate_proj(h)) * up_proj(h)) @ down_proj, no clamp on either factor",
37
+ "mlp_ratio": 4,
38
+ "mlp_type": "swiglu",
39
+ "model_type": "limite",
40
+ "mudd": true,
41
+ "mudd_accumulation": "ordered_left_to_right",
42
+ "mudd_at": [
43
+ 24,
44
+ 47
45
+ ],
46
+ "mudd_hist_convention": "hist[0] = rms_norm(embedding); hist[j] = output of layer j-1",
47
+ "mudd_inter": 32,
48
+ "mudd_layers": [
49
+ 24,
50
+ 47
51
+ ],
52
+ "mudd_mlp": true,
53
+ "mudd_r_site": "resid",
54
+ "mudd_tap_idx": {
55
+ "24": [
56
+ 0,
57
+ 12,
58
+ 24
59
+ ],
60
+ "47": [
61
+ 0,
62
+ 23,
63
+ 47
64
+ ]
65
+ },
66
+ "mudd_taps": 3,
67
+ "num_attention_heads": 10,
68
+ "num_hidden_layers": 48,
69
+ "num_key_value_heads": 2,
70
+ "pad_token_id": 151643,
71
+ "padded_vocab_size": 151680,
72
+ "pos_mode": "rope",
73
+ "qk_norm": "rms_pre_rope",
74
+ "rms_norm_eps_mode": "torch_finfo_default",
75
+ "rms_norm_has_weight": false,
76
+ "rope_base_global": 1024.0,
77
+ "rope_base_local": 1024.0,
78
+ "rope_cos_sin_dtype": "bfloat16",
79
+ "rope_frac": 0.5,
80
+ "rope_n_pairs": 32,
81
+ "rope_per_layer": false,
82
+ "rope_style": "interleaved_pairs_odd_lane_sign_flip",
83
+ "sliding_window": 1024,
84
+ "sliding_window_convention": "k >= q - sliding_window, inclusive of the query token (span = sliding_window + 1 keys)",
85
+ "softcap_logits": {
86
+ "a": 23.0,
87
+ "b": 5.0,
88
+ "c": 7.5,
89
+ "kind": "sigmoid"
90
+ },
91
+ "source_format": "guido-export-v1",
92
+ "source_metadata_assumptions": [],
93
+ "tie_word_embeddings": true,
94
+ "tokenizer_vocab_size": 151667,
95
+ "torch_dtype": "bfloat16",
96
+ "ve_applied_before_qk_norm": true,
97
+ "ve_dim": 128,
98
+ "ve_gate_channels": 12,
99
+ "ve_gate_scale": 2.0,
100
+ "ve_head_slice": "first_num_key_value_heads",
101
+ "ve_layers": [
102
+ 1,
103
+ 4,
104
+ 7,
105
+ 10,
106
+ 13,
107
+ 16,
108
+ 19,
109
+ 22,
110
+ 25,
111
+ 28,
112
+ 31,
113
+ 34,
114
+ 37,
115
+ 40,
116
+ 43,
117
+ 46
118
+ ],
119
+ "ve_stored_heads": 2,
120
+ "vocab_size": 151680,
121
+ "xsa": true,
122
+ "xsa_layers": [
123
+ 0,
124
+ 1,
125
+ 2,
126
+ 3,
127
+ 4,
128
+ 5,
129
+ 6,
130
+ 7,
131
+ 8,
132
+ 9,
133
+ 10,
134
+ 11,
135
+ 12,
136
+ 13,
137
+ 14,
138
+ 15,
139
+ 16,
140
+ 17,
141
+ 18,
142
+ 19,
143
+ 20,
144
+ 21,
145
+ 22,
146
+ 23,
147
+ 24,
148
+ 25,
149
+ 26,
150
+ 27,
151
+ 28,
152
+ 29,
153
+ 30,
154
+ 31,
155
+ 32,
156
+ 33,
157
+ 34,
158
+ 35,
159
+ 36,
160
+ 37,
161
+ 38,
162
+ 39,
163
+ 40,
164
+ 41,
165
+ 42,
166
+ 43,
167
+ 44,
168
+ 45,
169
+ 46,
170
+ 47
171
+ ],
172
+ "xsa_normalize_eps": 0.0001
173
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": 151645,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "pad_token_id": 151643,
8
+ "transformers_version": "5.6.2",
9
+ "use_cache": true
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dc7e89e30acf473629f98ac3ade535fb05cc044fe7e399b78d0bc957283a5f5
3
+ size 2070811520
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:296e081e2f5ecf9d87814aa9b0f4b12d670ed2b2e2be6c84e01a9466c953afb7
3
+ size 11422267
tokenizer_config.json ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<think>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</think>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ }
197
+ },
198
+ "additional_special_tokens": [
199
+ "<|im_start|>",
200
+ "<|im_end|>",
201
+ "<|object_ref_start|>",
202
+ "<|object_ref_end|>",
203
+ "<|box_start|>",
204
+ "<|box_end|>",
205
+ "<|quad_start|>",
206
+ "<|quad_end|>",
207
+ "<|vision_start|>",
208
+ "<|vision_end|>",
209
+ "<|vision_pad|>",
210
+ "<|image_pad|>",
211
+ "<|video_pad|>"
212
+ ],
213
+ "bos_token": null,
214
+ "clean_up_tokenization_spaces": false,
215
+ "eos_token": "<|endoftext|>",
216
+ "errors": "replace",
217
+ "extra_special_tokens": {},
218
+ "model_max_length": 131072,
219
+ "pad_token": "<|endoftext|>",
220
+ "padding_side": "right",
221
+ "split_special_tokens": false,
222
+ "tokenizer_class": "Qwen2Tokenizer",
223
+ "unk_token": null
224
+ }