Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- chat_template.jinja +263 -0
- config.json +117 -0
- crossbreed_report.json +425 -0
- generation_config.json +14 -0
- model.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +95 -0
.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,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
| 1 |
+
{%- macro format_parameters(properties, required) -%}
|
| 2 |
+
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
| 3 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 4 |
+
{%- for key, value in properties | dictsort -%}
|
| 5 |
+
{%- set add_comma = false -%}
|
| 6 |
+
{%- if key not in standard_keys -%}
|
| 7 |
+
{%- if ns.found_first %},{% endif -%}
|
| 8 |
+
{%- set ns.found_first = true -%}
|
| 9 |
+
{{ key }}:{
|
| 10 |
+
{%- if value['description'] -%}
|
| 11 |
+
description:<|"|>{{ value['description'] }}<|"|>
|
| 12 |
+
{%- set add_comma = true -%}
|
| 13 |
+
{%- endif -%}
|
| 14 |
+
{%- if value['nullable'] %}
|
| 15 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 16 |
+
nullable:true
|
| 17 |
+
{%- endif -%}
|
| 18 |
+
{%- if value['type'] | upper == 'STRING' -%}
|
| 19 |
+
{%- if value['enum'] -%}
|
| 20 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 21 |
+
enum:{{ format_argument(value['enum']) }}
|
| 22 |
+
{%- endif -%}
|
| 23 |
+
{%- elif value['type'] | upper == 'OBJECT' -%}
|
| 24 |
+
,properties:{
|
| 25 |
+
{%- if value['properties'] is defined and value['properties'] is mapping -%}
|
| 26 |
+
{{- format_parameters(value['properties'], value['required'] | default([])) -}}
|
| 27 |
+
{%- elif value is mapping -%}
|
| 28 |
+
{{- format_parameters(value, value['required'] | default([])) -}}
|
| 29 |
+
{%- endif -%}
|
| 30 |
+
}
|
| 31 |
+
{%- if value['required'] -%}
|
| 32 |
+
,required:[
|
| 33 |
+
{%- for item in value['required'] | default([]) -%}
|
| 34 |
+
<|"|>{{- item -}}<|"|>
|
| 35 |
+
{%- if not loop.last %},{% endif -%}
|
| 36 |
+
{%- endfor -%}
|
| 37 |
+
]
|
| 38 |
+
{%- endif -%}
|
| 39 |
+
{%- elif value['type'] | upper == 'ARRAY' -%}
|
| 40 |
+
{%- if value['items'] is mapping and value['items'] -%}
|
| 41 |
+
,items:{
|
| 42 |
+
{%- set ns_items = namespace(found_first=false) -%}
|
| 43 |
+
{%- for item_key, item_value in value['items'] | dictsort -%}
|
| 44 |
+
{%- if item_value is not none -%}
|
| 45 |
+
{%- if ns_items.found_first %},{% endif -%}
|
| 46 |
+
{%- set ns_items.found_first = true -%}
|
| 47 |
+
{%- if item_key == 'properties' -%}
|
| 48 |
+
properties:{
|
| 49 |
+
{%- if item_value is mapping -%}
|
| 50 |
+
{{- format_parameters(item_value, value['items']['required'] | default([])) -}}
|
| 51 |
+
{%- endif -%}
|
| 52 |
+
}
|
| 53 |
+
{%- elif item_key == 'required' -%}
|
| 54 |
+
required:[
|
| 55 |
+
{%- for req_item in item_value -%}
|
| 56 |
+
<|"|>{{- req_item -}}<|"|>
|
| 57 |
+
{%- if not loop.last %},{% endif -%}
|
| 58 |
+
{%- endfor -%}
|
| 59 |
+
]
|
| 60 |
+
{%- elif item_key == 'type' -%}
|
| 61 |
+
{%- if item_value is string -%}
|
| 62 |
+
type:{{ format_argument(item_value | upper) }}
|
| 63 |
+
{%- else -%}
|
| 64 |
+
type:{{ format_argument(item_value | map('upper') | list) }}
|
| 65 |
+
{%- endif -%}
|
| 66 |
+
{%- else -%}
|
| 67 |
+
{{ item_key }}:{{ format_argument(item_value) }}
|
| 68 |
+
{%- endif -%}
|
| 69 |
+
{%- endif -%}
|
| 70 |
+
{%- endfor -%}
|
| 71 |
+
}
|
| 72 |
+
{%- endif -%}
|
| 73 |
+
{%- endif -%}
|
| 74 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 75 |
+
type:<|"|>{{ value['type'] | upper }}<|"|>}
|
| 76 |
+
{%- endif -%}
|
| 77 |
+
{%- endfor -%}
|
| 78 |
+
{%- endmacro -%}
|
| 79 |
+
{%- macro format_function_declaration(tool_data) -%}
|
| 80 |
+
declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
|
| 81 |
+
{%- set params = tool_data['function']['parameters'] -%}
|
| 82 |
+
{%- if params -%}
|
| 83 |
+
,parameters:{
|
| 84 |
+
{%- if params['properties'] -%}
|
| 85 |
+
properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
|
| 86 |
+
{%- endif -%}
|
| 87 |
+
{%- if params['required'] -%}
|
| 88 |
+
required:[
|
| 89 |
+
{%- for item in params['required'] -%}
|
| 90 |
+
<|"|>{{- item -}}<|"|>
|
| 91 |
+
{{- ',' if not loop.last -}}
|
| 92 |
+
{%- endfor -%}
|
| 93 |
+
],
|
| 94 |
+
{%- endif -%}
|
| 95 |
+
{%- if params['type'] -%}
|
| 96 |
+
type:<|"|>{{- params['type'] | upper -}}<|"|>}
|
| 97 |
+
{%- endif -%}
|
| 98 |
+
{%- endif -%}
|
| 99 |
+
{%- if 'response' in tool_data['function'] -%}
|
| 100 |
+
{%- set response_declaration = tool_data['function']['response'] -%}
|
| 101 |
+
,response:{
|
| 102 |
+
{%- if response_declaration['description'] -%}
|
| 103 |
+
description:<|"|>{{- response_declaration['description'] -}}<|"|>,
|
| 104 |
+
{%- endif -%}
|
| 105 |
+
{%- if response_declaration['type'] | upper == 'OBJECT' -%}
|
| 106 |
+
type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
|
| 107 |
+
{%- endif -%}
|
| 108 |
+
{%- endif -%}
|
| 109 |
+
}
|
| 110 |
+
{%- endmacro -%}
|
| 111 |
+
{%- macro format_argument(argument, escape_keys=True) -%}
|
| 112 |
+
{%- if argument is string -%}
|
| 113 |
+
{{- '<|"|>' + argument + '<|"|>' -}}
|
| 114 |
+
{%- elif argument is boolean -%}
|
| 115 |
+
{{- 'true' if argument else 'false' -}}
|
| 116 |
+
{%- elif argument is mapping -%}
|
| 117 |
+
{{- '{' -}}
|
| 118 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 119 |
+
{%- for key, value in argument | dictsort -%}
|
| 120 |
+
{%- if ns.found_first %},{% endif -%}
|
| 121 |
+
{%- set ns.found_first = true -%}
|
| 122 |
+
{%- if escape_keys -%}
|
| 123 |
+
{{- '<|"|>' + key + '<|"|>' -}}
|
| 124 |
+
{%- else -%}
|
| 125 |
+
{{- key -}}
|
| 126 |
+
{%- endif -%}
|
| 127 |
+
:{{- format_argument(value, escape_keys=escape_keys) -}}
|
| 128 |
+
{%- endfor -%}
|
| 129 |
+
{{- '}' -}}
|
| 130 |
+
{%- elif argument is sequence -%}
|
| 131 |
+
{{- '[' -}}
|
| 132 |
+
{%- for item in argument -%}
|
| 133 |
+
{{- format_argument(item, escape_keys=escape_keys) -}}
|
| 134 |
+
{%- if not loop.last %},{% endif -%}
|
| 135 |
+
{%- endfor -%}
|
| 136 |
+
{{- ']' -}}
|
| 137 |
+
{%- else -%}
|
| 138 |
+
{{- argument -}}
|
| 139 |
+
{%- endif -%}
|
| 140 |
+
{%- endmacro -%}
|
| 141 |
+
{%- macro strip_thinking(text) -%}
|
| 142 |
+
{%- set ns = namespace(result='') -%}
|
| 143 |
+
{%- for part in text.split('<channel|>') -%}
|
| 144 |
+
{%- if '<|channel>' in part -%}
|
| 145 |
+
{%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
|
| 146 |
+
{%- else -%}
|
| 147 |
+
{%- set ns.result = ns.result + part -%}
|
| 148 |
+
{%- endif -%}
|
| 149 |
+
{%- endfor -%}
|
| 150 |
+
{{- ns.result | trim -}}
|
| 151 |
+
{%- endmacro -%}
|
| 152 |
+
|
| 153 |
+
{%- set ns = namespace(prev_message_type=None) -%}
|
| 154 |
+
{%- set loop_messages = messages -%}
|
| 155 |
+
{{ bos_token }}
|
| 156 |
+
{#- Handle System/Tool Definitions Block -#}
|
| 157 |
+
{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
|
| 158 |
+
{{- '<|turn>system\n' -}}
|
| 159 |
+
|
| 160 |
+
{#- Inject Thinking token at the very top of the FIRST system turn -#}
|
| 161 |
+
{%- if enable_thinking is defined and enable_thinking -%}
|
| 162 |
+
{{- '<|think|>' -}}
|
| 163 |
+
{%- set ns.prev_message_type = 'think' -%}
|
| 164 |
+
{%- endif -%}
|
| 165 |
+
|
| 166 |
+
{%- if messages[0]['role'] in ['system', 'developer'] -%}
|
| 167 |
+
{{- messages[0]['content'] | trim -}}
|
| 168 |
+
{%- set loop_messages = messages[1:] -%}
|
| 169 |
+
{%- endif -%}
|
| 170 |
+
|
| 171 |
+
{%- if tools -%}
|
| 172 |
+
{%- for tool in tools %}
|
| 173 |
+
{{- '<|tool>' -}}
|
| 174 |
+
{{- format_function_declaration(tool) | trim -}}
|
| 175 |
+
{{- '<tool|>' -}}
|
| 176 |
+
{%- endfor %}
|
| 177 |
+
{%- set ns.prev_message_type = 'tool' -%}
|
| 178 |
+
{%- endif -%}
|
| 179 |
+
|
| 180 |
+
{{- '<turn|>\n' -}}
|
| 181 |
+
{%- endif %}
|
| 182 |
+
|
| 183 |
+
{#- Loop through messages -#}
|
| 184 |
+
{%- for message in loop_messages -%}
|
| 185 |
+
{%- set ns.prev_message_type = None -%}
|
| 186 |
+
{%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
|
| 187 |
+
{{- '<|turn>' + role + '\n' }}
|
| 188 |
+
|
| 189 |
+
{%- if message['tool_calls'] -%}
|
| 190 |
+
{%- for tool_call in message['tool_calls'] -%}
|
| 191 |
+
{%- set function = tool_call['function'] -%}
|
| 192 |
+
{{- '<|tool_call>call:' + function['name'] + '{' -}}
|
| 193 |
+
{%- if function['arguments'] is mapping -%}
|
| 194 |
+
{%- set ns_args = namespace(found_first=false) -%}
|
| 195 |
+
{%- for key, value in function['arguments'] | dictsort -%}
|
| 196 |
+
{%- if ns_args.found_first %},{% endif -%}
|
| 197 |
+
{%- set ns_args.found_first = true -%}
|
| 198 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 199 |
+
{%- endfor -%}
|
| 200 |
+
{%- elif function['arguments'] is string -%}
|
| 201 |
+
{{- function['arguments'] -}}
|
| 202 |
+
{%- endif -%}
|
| 203 |
+
{{- '}<tool_call|>' -}}
|
| 204 |
+
{%- endfor -%}
|
| 205 |
+
{%- set ns.prev_message_type = 'tool_call' -%}
|
| 206 |
+
{%- endif -%}
|
| 207 |
+
|
| 208 |
+
{%- if message['tool_responses'] -%}
|
| 209 |
+
{#- Tool Response handling -#}
|
| 210 |
+
{%- for tool_response in message['tool_responses'] -%}
|
| 211 |
+
{{- '<|tool_response>' -}}
|
| 212 |
+
{%- if tool_response['response'] is mapping -%}
|
| 213 |
+
{{- 'response:' + tool_response['name'] | default('unknown') + '{' -}}
|
| 214 |
+
{%- for key, value in tool_response['response'] | dictsort -%}
|
| 215 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 216 |
+
{%- if not loop.last %},{% endif -%}
|
| 217 |
+
{%- endfor -%}
|
| 218 |
+
{{- '}' -}}
|
| 219 |
+
{%- else -%}
|
| 220 |
+
{{- 'response:' + tool_response['name'] | default('unknown') + '{value:' + format_argument(tool_response['response'], escape_keys=False) + '}' -}}
|
| 221 |
+
{%- endif -%}
|
| 222 |
+
{{- '<tool_response|>' -}}
|
| 223 |
+
{%- endfor -%}
|
| 224 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 225 |
+
{%- endif -%}
|
| 226 |
+
|
| 227 |
+
{%- if message['content'] is string -%}
|
| 228 |
+
{%- if role == 'model' -%}
|
| 229 |
+
{{- strip_thinking(message['content']) -}}
|
| 230 |
+
{%- else -%}
|
| 231 |
+
{{- message['content'] | trim -}}
|
| 232 |
+
{%- endif -%}
|
| 233 |
+
{%- elif message['content'] is sequence -%}
|
| 234 |
+
{%- for item in message['content'] -%}
|
| 235 |
+
{%- if item['type'] == 'text' -%}
|
| 236 |
+
{%- if role == 'model' -%}
|
| 237 |
+
{{- strip_thinking(item['text']) -}}
|
| 238 |
+
{%- else -%}
|
| 239 |
+
{{- item['text'] | trim -}}
|
| 240 |
+
{%- endif -%}
|
| 241 |
+
{%- elif item['type'] == 'image' -%}
|
| 242 |
+
{{- '\n\n<|image|>\n\n' -}}
|
| 243 |
+
{%- set ns.prev_message_type = 'image' -%}
|
| 244 |
+
{%- elif item['type'] == 'audio' -%}
|
| 245 |
+
{{- '<|audio|>' -}}
|
| 246 |
+
{%- set ns.prev_message_type = 'audio' -%}
|
| 247 |
+
{%- elif item['type'] == 'video' -%}
|
| 248 |
+
{{- '\n\n<|video|>\n\n' -}}
|
| 249 |
+
{%- set ns.prev_message_type = 'video' -%}
|
| 250 |
+
{%- endif -%}
|
| 251 |
+
{%- endfor -%}
|
| 252 |
+
{%- endif -%}
|
| 253 |
+
|
| 254 |
+
{%- if not (message['tool_responses'] and not message['content']) -%}
|
| 255 |
+
{{- '<turn|>\n' -}}
|
| 256 |
+
{%- endif -%}
|
| 257 |
+
{%- endfor -%}
|
| 258 |
+
|
| 259 |
+
{%- if add_generation_prompt -%}
|
| 260 |
+
{%- if ns.prev_message_type != 'tool_response' -%}
|
| 261 |
+
{{- '<|turn>model\n' -}}
|
| 262 |
+
{%- endif -%}
|
| 263 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma4ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"audio_config": null,
|
| 6 |
+
"audio_token_id": 258881,
|
| 7 |
+
"boa_token_id": 256000,
|
| 8 |
+
"boi_token_id": 255999,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eoa_token_id": 258883,
|
| 11 |
+
"eoa_token_index": 258883,
|
| 12 |
+
"eoi_token_id": 258882,
|
| 13 |
+
"eos_token_id": [
|
| 14 |
+
1,
|
| 15 |
+
106
|
| 16 |
+
],
|
| 17 |
+
"image_token_id": 258880,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"model_type": "gemma4",
|
| 20 |
+
"text_config": {
|
| 21 |
+
"attention_bias": false,
|
| 22 |
+
"attention_dropout": 0.0,
|
| 23 |
+
"attention_k_eq_v": false,
|
| 24 |
+
"bos_token_id": 2,
|
| 25 |
+
"dtype": "bfloat16",
|
| 26 |
+
"enable_moe_block": false,
|
| 27 |
+
"eos_token_id": 1,
|
| 28 |
+
"expert_intermediate_size": null,
|
| 29 |
+
"final_logit_softcapping": 30.0,
|
| 30 |
+
"global_head_dim": 512,
|
| 31 |
+
"head_dim": 256,
|
| 32 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 33 |
+
"hidden_size": 2560,
|
| 34 |
+
"hidden_size_per_layer_input": 256,
|
| 35 |
+
"initializer_range": 0.02,
|
| 36 |
+
"intermediate_size": 10240,
|
| 37 |
+
"layer_types": [
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"sliding_attention",
|
| 65 |
+
"sliding_attention",
|
| 66 |
+
"sliding_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"sliding_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"sliding_attention",
|
| 71 |
+
"sliding_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"sliding_attention",
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"full_attention"
|
| 80 |
+
],
|
| 81 |
+
"max_position_embeddings": 131072,
|
| 82 |
+
"model_type": "gemma4_text",
|
| 83 |
+
"moe_intermediate_size": null,
|
| 84 |
+
"num_attention_heads": 8,
|
| 85 |
+
"num_experts": null,
|
| 86 |
+
"num_global_key_value_heads": null,
|
| 87 |
+
"num_hidden_layers": 42,
|
| 88 |
+
"num_key_value_heads": 2,
|
| 89 |
+
"num_kv_shared_layers": 18,
|
| 90 |
+
"pad_token_id": 0,
|
| 91 |
+
"rms_norm_eps": 1e-06,
|
| 92 |
+
"rope_parameters": {
|
| 93 |
+
"full_attention": {
|
| 94 |
+
"partial_rotary_factor": 0.25,
|
| 95 |
+
"rope_theta": 1000000.0,
|
| 96 |
+
"rope_type": "proportional"
|
| 97 |
+
},
|
| 98 |
+
"sliding_attention": {
|
| 99 |
+
"rope_theta": 10000.0,
|
| 100 |
+
"rope_type": "default"
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"sliding_window": 512,
|
| 104 |
+
"tie_word_embeddings": true,
|
| 105 |
+
"top_k_experts": null,
|
| 106 |
+
"use_bidirectional_attention": null,
|
| 107 |
+
"use_cache": true,
|
| 108 |
+
"use_double_wide_mlp": false,
|
| 109 |
+
"vocab_size": 262144,
|
| 110 |
+
"vocab_size_per_layer_input": 262144
|
| 111 |
+
},
|
| 112 |
+
"tie_word_embeddings": true,
|
| 113 |
+
"transformers_version": "5.6.0.dev0",
|
| 114 |
+
"video_token_id": 258884,
|
| 115 |
+
"vision_config": null,
|
| 116 |
+
"vision_soft_tokens_per_image": 280
|
| 117 |
+
}
|
crossbreed_report.json
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"method": "Darwin V6 FFN Cross-Architecture Breeding",
|
| 3 |
+
"father": "FINAL-Bench/Darwin-4B-David",
|
| 4 |
+
"mother": "Qwen/Qwen3.5-4B",
|
| 5 |
+
"best_score": 0.8600000000000001,
|
| 6 |
+
"best_genome": {
|
| 7 |
+
"layer_ratios": [
|
| 8 |
+
0.20647537706794558,
|
| 9 |
+
0.14823192392605827,
|
| 10 |
+
0.0,
|
| 11 |
+
0.17255649055377628,
|
| 12 |
+
0.13624945227921445,
|
| 13 |
+
0.01479710117133131,
|
| 14 |
+
0.08801326081040438,
|
| 15 |
+
0.0,
|
| 16 |
+
0.06046052630532496,
|
| 17 |
+
0.056009156141461305,
|
| 18 |
+
0.0024092496762064264,
|
| 19 |
+
0.1261309679397987,
|
| 20 |
+
0.04828750057970729,
|
| 21 |
+
0.053275827295554884,
|
| 22 |
+
0.15780548864527766,
|
| 23 |
+
0.0,
|
| 24 |
+
0.0,
|
| 25 |
+
0.14072768357469992,
|
| 26 |
+
0.0,
|
| 27 |
+
0.14538068622584463,
|
| 28 |
+
0.06922625936437449,
|
| 29 |
+
0.111020864912764,
|
| 30 |
+
0.0,
|
| 31 |
+
0.0,
|
| 32 |
+
0.0,
|
| 33 |
+
0.0,
|
| 34 |
+
0.05803946391147091,
|
| 35 |
+
0.07135313327306363,
|
| 36 |
+
0.0,
|
| 37 |
+
0.2911474201445217,
|
| 38 |
+
0.19313766748231753,
|
| 39 |
+
0.24353827123418265,
|
| 40 |
+
0.2733483853035385,
|
| 41 |
+
0.2552905188846425,
|
| 42 |
+
0.24517950479346443,
|
| 43 |
+
0.17269703961840893,
|
| 44 |
+
0.05182227315946832,
|
| 45 |
+
0.1261048170624301,
|
| 46 |
+
0.030886470312547362,
|
| 47 |
+
0.30040019496717263,
|
| 48 |
+
0.01853314361778055,
|
| 49 |
+
0.18194639710507124
|
| 50 |
+
],
|
| 51 |
+
"frozen_layers": [
|
| 52 |
+
15,
|
| 53 |
+
16,
|
| 54 |
+
22,
|
| 55 |
+
23,
|
| 56 |
+
24,
|
| 57 |
+
25
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
"frozen_layers": [
|
| 61 |
+
15,
|
| 62 |
+
16,
|
| 63 |
+
22,
|
| 64 |
+
23,
|
| 65 |
+
24,
|
| 66 |
+
25
|
| 67 |
+
],
|
| 68 |
+
"father_layers": 42,
|
| 69 |
+
"mother_layers": 32,
|
| 70 |
+
"blend_dim": 9216,
|
| 71 |
+
"population": 10,
|
| 72 |
+
"steps": 50,
|
| 73 |
+
"history": [
|
| 74 |
+
{
|
| 75 |
+
"step": 1,
|
| 76 |
+
"best_score": 0.8033333333333333,
|
| 77 |
+
"step_best": 0.8033333333333333,
|
| 78 |
+
"mean_ratio": 0.06290678970639335,
|
| 79 |
+
"sigma": 0.0634404317603052
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"step": 2,
|
| 83 |
+
"best_score": 0.8333333333333334,
|
| 84 |
+
"step_best": 0.8333333333333334,
|
| 85 |
+
"mean_ratio": 0.07781023986570348,
|
| 86 |
+
"sigma": 0.0646884194918551
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"step": 3,
|
| 90 |
+
"best_score": 0.8333333333333334,
|
| 91 |
+
"step_best": 0.8333333333333334,
|
| 92 |
+
"mean_ratio": 0.08880605810847592,
|
| 93 |
+
"sigma": 0.06783077008249229
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"step": 4,
|
| 97 |
+
"best_score": 0.8333333333333334,
|
| 98 |
+
"step_best": 0.8333333333333334,
|
| 99 |
+
"mean_ratio": 0.0875377099665294,
|
| 100 |
+
"sigma": 0.07246831497330888
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"step": 5,
|
| 104 |
+
"best_score": 0.8333333333333334,
|
| 105 |
+
"step_best": 0.8333333333333334,
|
| 106 |
+
"mean_ratio": 0.07235673891852008,
|
| 107 |
+
"sigma": 0.07355498738778984
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"step": 6,
|
| 111 |
+
"best_score": 0.8333333333333334,
|
| 112 |
+
"step_best": 0.8333333333333334,
|
| 113 |
+
"mean_ratio": 0.08893151321934065,
|
| 114 |
+
"sigma": 0.07863044719946359
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"step": 7,
|
| 118 |
+
"best_score": 0.8600000000000001,
|
| 119 |
+
"step_best": 0.8600000000000001,
|
| 120 |
+
"mean_ratio": 0.10224743557856028,
|
| 121 |
+
"sigma": 0.08705722955505009
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"step": 8,
|
| 125 |
+
"best_score": 0.8600000000000001,
|
| 126 |
+
"step_best": 0.8333333333333334,
|
| 127 |
+
"mean_ratio": 0.10904590150041411,
|
| 128 |
+
"sigma": 0.10103246785714566
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"step": 9,
|
| 132 |
+
"best_score": 0.8600000000000001,
|
| 133 |
+
"step_best": 0.8333333333333334,
|
| 134 |
+
"mean_ratio": 0.12075370728399674,
|
| 135 |
+
"sigma": 0.11337025202197282
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"step": 10,
|
| 139 |
+
"best_score": 0.8600000000000001,
|
| 140 |
+
"step_best": 0.8600000000000001,
|
| 141 |
+
"mean_ratio": 0.12633176528207413,
|
| 142 |
+
"sigma": 0.11807554992374279
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"step": 11,
|
| 146 |
+
"best_score": 0.8600000000000001,
|
| 147 |
+
"step_best": 0.8066666666666666,
|
| 148 |
+
"mean_ratio": 0.1360039520684083,
|
| 149 |
+
"sigma": 0.12052408658697357
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"step": 12,
|
| 153 |
+
"best_score": 0.8600000000000001,
|
| 154 |
+
"step_best": 0.8600000000000001,
|
| 155 |
+
"mean_ratio": 0.13936414687282414,
|
| 156 |
+
"sigma": 0.1289517265467281
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"step": 13,
|
| 160 |
+
"best_score": 0.8600000000000001,
|
| 161 |
+
"step_best": 0.8066666666666666,
|
| 162 |
+
"mean_ratio": 0.14874480886048833,
|
| 163 |
+
"sigma": 0.13549734195764399
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"step": 14,
|
| 167 |
+
"best_score": 0.8600000000000001,
|
| 168 |
+
"step_best": 0.8600000000000001,
|
| 169 |
+
"mean_ratio": 0.13908605940040214,
|
| 170 |
+
"sigma": 0.140514158071659
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"step": 15,
|
| 174 |
+
"best_score": 0.8600000000000001,
|
| 175 |
+
"step_best": 0.8600000000000001,
|
| 176 |
+
"mean_ratio": 0.15050216822758744,
|
| 177 |
+
"sigma": 0.13797636310450967
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"step": 16,
|
| 181 |
+
"best_score": 0.8600000000000001,
|
| 182 |
+
"step_best": 0.8333333333333334,
|
| 183 |
+
"mean_ratio": 0.14460856892680315,
|
| 184 |
+
"sigma": 0.14159146100351827
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"step": 17,
|
| 188 |
+
"best_score": 0.8600000000000001,
|
| 189 |
+
"step_best": 0.8033333333333333,
|
| 190 |
+
"mean_ratio": 0.16025742024472867,
|
| 191 |
+
"sigma": 0.1422776654358227
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"step": 18,
|
| 195 |
+
"best_score": 0.8600000000000001,
|
| 196 |
+
"step_best": 0.8300000000000001,
|
| 197 |
+
"mean_ratio": 0.15554231513226557,
|
| 198 |
+
"sigma": 0.13420694226282484
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"step": 19,
|
| 202 |
+
"best_score": 0.8600000000000001,
|
| 203 |
+
"step_best": 0.8066666666666666,
|
| 204 |
+
"mean_ratio": 0.14643616444218682,
|
| 205 |
+
"sigma": 0.13023324254225802
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"step": 20,
|
| 209 |
+
"best_score": 0.8600000000000001,
|
| 210 |
+
"step_best": 0.8066666666666666,
|
| 211 |
+
"mean_ratio": 0.14936636321246355,
|
| 212 |
+
"sigma": 0.12533258523547494
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"step": 21,
|
| 216 |
+
"best_score": 0.8600000000000001,
|
| 217 |
+
"step_best": 0.7766666666666666,
|
| 218 |
+
"mean_ratio": 0.1534663446960059,
|
| 219 |
+
"sigma": 0.13762706492711088
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"step": 22,
|
| 223 |
+
"best_score": 0.8600000000000001,
|
| 224 |
+
"step_best": 0.75,
|
| 225 |
+
"mean_ratio": 0.1627801122395406,
|
| 226 |
+
"sigma": 0.1505341747990411
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"step": 23,
|
| 230 |
+
"best_score": 0.8600000000000001,
|
| 231 |
+
"step_best": 0.8333333333333334,
|
| 232 |
+
"mean_ratio": 0.15923176743481993,
|
| 233 |
+
"sigma": 0.14799216541987317
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"step": 24,
|
| 237 |
+
"best_score": 0.8600000000000001,
|
| 238 |
+
"step_best": 0.7766666666666666,
|
| 239 |
+
"mean_ratio": 0.1677333219026785,
|
| 240 |
+
"sigma": 0.14774402574980733
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"step": 25,
|
| 244 |
+
"best_score": 0.8600000000000001,
|
| 245 |
+
"step_best": 0.7733333333333333,
|
| 246 |
+
"mean_ratio": 0.16422066609570704,
|
| 247 |
+
"sigma": 0.13843034269180055
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"step": 26,
|
| 251 |
+
"best_score": 0.8600000000000001,
|
| 252 |
+
"step_best": 0.7733333333333333,
|
| 253 |
+
"mean_ratio": 0.13906027861386117,
|
| 254 |
+
"sigma": 0.13242693786187337
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"step": 27,
|
| 258 |
+
"best_score": 0.8600000000000001,
|
| 259 |
+
"step_best": 0.7466666666666666,
|
| 260 |
+
"mean_ratio": 0.15264091379157918,
|
| 261 |
+
"sigma": 0.12790371883066087
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"step": 28,
|
| 265 |
+
"best_score": 0.8600000000000001,
|
| 266 |
+
"step_best": 0.7766666666666666,
|
| 267 |
+
"mean_ratio": 0.15489601769619152,
|
| 268 |
+
"sigma": 0.12755566453158676
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"step": 29,
|
| 272 |
+
"best_score": 0.8600000000000001,
|
| 273 |
+
"step_best": 0.8300000000000001,
|
| 274 |
+
"mean_ratio": 0.1569011973937426,
|
| 275 |
+
"sigma": 0.1408499857258934
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"step": 30,
|
| 279 |
+
"best_score": 0.8600000000000001,
|
| 280 |
+
"step_best": 0.8033333333333333,
|
| 281 |
+
"mean_ratio": 0.15239983824794084,
|
| 282 |
+
"sigma": 0.1401183829818277
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"step": 31,
|
| 286 |
+
"best_score": 0.8600000000000001,
|
| 287 |
+
"step_best": 0.75,
|
| 288 |
+
"mean_ratio": 0.16504790158283703,
|
| 289 |
+
"sigma": 0.1397318196414391
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"step": 32,
|
| 293 |
+
"best_score": 0.8600000000000001,
|
| 294 |
+
"step_best": 0.7166666666666666,
|
| 295 |
+
"mean_ratio": 0.17022579569707286,
|
| 296 |
+
"sigma": 0.14776185561134852
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"step": 33,
|
| 300 |
+
"best_score": 0.8600000000000001,
|
| 301 |
+
"step_best": 0.75,
|
| 302 |
+
"mean_ratio": 0.16990917826740068,
|
| 303 |
+
"sigma": 0.1511193869383969
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"step": 34,
|
| 307 |
+
"best_score": 0.8600000000000001,
|
| 308 |
+
"step_best": 0.75,
|
| 309 |
+
"mean_ratio": 0.1662469295861985,
|
| 310 |
+
"sigma": 0.14280401329995637
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"step": 35,
|
| 314 |
+
"best_score": 0.8600000000000001,
|
| 315 |
+
"step_best": 0.7233333333333334,
|
| 316 |
+
"mean_ratio": 0.15841638718823015,
|
| 317 |
+
"sigma": 0.14253965477777314
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"step": 36,
|
| 321 |
+
"best_score": 0.8600000000000001,
|
| 322 |
+
"step_best": 0.7766666666666666,
|
| 323 |
+
"mean_ratio": 0.15146795147357647,
|
| 324 |
+
"sigma": 0.1439933714094963
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"step": 37,
|
| 328 |
+
"best_score": 0.8600000000000001,
|
| 329 |
+
"step_best": 0.69,
|
| 330 |
+
"mean_ratio": 0.16384951542843323,
|
| 331 |
+
"sigma": 0.14494179174105692
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"step": 38,
|
| 335 |
+
"best_score": 0.8600000000000001,
|
| 336 |
+
"step_best": 0.75,
|
| 337 |
+
"mean_ratio": 0.1537324421566684,
|
| 338 |
+
"sigma": 0.14168105367926756
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"step": 39,
|
| 342 |
+
"best_score": 0.8600000000000001,
|
| 343 |
+
"step_best": 0.6633333333333333,
|
| 344 |
+
"mean_ratio": 0.15970050125209775,
|
| 345 |
+
"sigma": 0.14510887362344935
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"step": 40,
|
| 349 |
+
"best_score": 0.8600000000000001,
|
| 350 |
+
"step_best": 0.75,
|
| 351 |
+
"mean_ratio": 0.17459025377647835,
|
| 352 |
+
"sigma": 0.14284720765256412
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"step": 41,
|
| 356 |
+
"best_score": 0.8600000000000001,
|
| 357 |
+
"step_best": 0.7166666666666666,
|
| 358 |
+
"mean_ratio": 0.17482397301205677,
|
| 359 |
+
"sigma": 0.141806358821768
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"step": 42,
|
| 363 |
+
"best_score": 0.8600000000000001,
|
| 364 |
+
"step_best": 0.8066666666666666,
|
| 365 |
+
"mean_ratio": 0.17565062165216766,
|
| 366 |
+
"sigma": 0.13769978752156617
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"step": 43,
|
| 370 |
+
"best_score": 0.8600000000000001,
|
| 371 |
+
"step_best": 0.78,
|
| 372 |
+
"mean_ratio": 0.18855555348725378,
|
| 373 |
+
"sigma": 0.154657603603785
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"step": 44,
|
| 377 |
+
"best_score": 0.8600000000000001,
|
| 378 |
+
"step_best": 0.69,
|
| 379 |
+
"mean_ratio": 0.19082400740817784,
|
| 380 |
+
"sigma": 0.1574354863056092
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"step": 45,
|
| 384 |
+
"best_score": 0.8600000000000001,
|
| 385 |
+
"step_best": 0.6866666666666666,
|
| 386 |
+
"mean_ratio": 0.19942602590353126,
|
| 387 |
+
"sigma": 0.15601461390541457
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"step": 46,
|
| 391 |
+
"best_score": 0.8600000000000001,
|
| 392 |
+
"step_best": 0.69,
|
| 393 |
+
"mean_ratio": 0.20906959596828187,
|
| 394 |
+
"sigma": 0.17428205146474535
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"step": 47,
|
| 398 |
+
"best_score": 0.8600000000000001,
|
| 399 |
+
"step_best": 0.75,
|
| 400 |
+
"mean_ratio": 0.20388207036040726,
|
| 401 |
+
"sigma": 0.17887711098551665
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"step": 48,
|
| 405 |
+
"best_score": 0.8600000000000001,
|
| 406 |
+
"step_best": 0.7166666666666666,
|
| 407 |
+
"mean_ratio": 0.20167068354690648,
|
| 408 |
+
"sigma": 0.16735493919167624
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"step": 49,
|
| 412 |
+
"best_score": 0.8600000000000001,
|
| 413 |
+
"step_best": 0.8066666666666666,
|
| 414 |
+
"mean_ratio": 0.19931687316581534,
|
| 415 |
+
"sigma": 0.16107798896733172
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"step": 50,
|
| 419 |
+
"best_score": 0.8600000000000001,
|
| 420 |
+
"step_best": 0.8300000000000001,
|
| 421 |
+
"mean_ratio": 0.17980169993450223,
|
| 422 |
+
"sigma": 0.15804274374915395
|
| 423 |
+
}
|
| 424 |
+
]
|
| 425 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106,
|
| 7 |
+
50
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.6.0.dev0"
|
| 14 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a55c85d7d21c6ec45de9cded3d8e444e1a19dbdebba36994a76e75db5a72373b
|
| 3 |
+
size 15036233372
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4c18ffebe9ef41e463a6c99b4a23736b91ed4a2588cbfe761fef29bfd3688cf
|
| 3 |
+
size 32169725
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_token": "<|audio|>",
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"boa_token": "<|audio>",
|
| 5 |
+
"boi_token": "<|image>",
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eoa_token": "<audio|>",
|
| 8 |
+
"eoc_token": "<channel|>",
|
| 9 |
+
"eoi_token": "<image|>",
|
| 10 |
+
"eos_token": "<eos>",
|
| 11 |
+
"eot_token": "<turn|>",
|
| 12 |
+
"escape_token": "<|\"|>",
|
| 13 |
+
"etc_token": "<tool_call|>",
|
| 14 |
+
"etd_token": "<tool|>",
|
| 15 |
+
"etr_token": "<tool_response|>",
|
| 16 |
+
"extra_special_tokens": [
|
| 17 |
+
"<|video|>"
|
| 18 |
+
],
|
| 19 |
+
"image_token": "<|image|>",
|
| 20 |
+
"is_local": false,
|
| 21 |
+
"mask_token": "<mask>",
|
| 22 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 23 |
+
"model_specific_special_tokens": {
|
| 24 |
+
"audio_token": "<|audio|>",
|
| 25 |
+
"boa_token": "<|audio>",
|
| 26 |
+
"boi_token": "<|image>",
|
| 27 |
+
"eoa_token": "<audio|>",
|
| 28 |
+
"eoc_token": "<channel|>",
|
| 29 |
+
"eoi_token": "<image|>",
|
| 30 |
+
"eot_token": "<turn|>",
|
| 31 |
+
"escape_token": "<|\"|>",
|
| 32 |
+
"etc_token": "<tool_call|>",
|
| 33 |
+
"etd_token": "<tool|>",
|
| 34 |
+
"etr_token": "<tool_response|>",
|
| 35 |
+
"image_token": "<|image|>",
|
| 36 |
+
"soc_token": "<|channel>",
|
| 37 |
+
"sot_token": "<|turn>",
|
| 38 |
+
"stc_token": "<|tool_call>",
|
| 39 |
+
"std_token": "<|tool>",
|
| 40 |
+
"str_token": "<|tool_response>",
|
| 41 |
+
"think_token": "<|think|>"
|
| 42 |
+
},
|
| 43 |
+
"pad_token": "<pad>",
|
| 44 |
+
"padding_side": "left",
|
| 45 |
+
"processor_class": "Gemma4Processor",
|
| 46 |
+
"response_schema": {
|
| 47 |
+
"properties": {
|
| 48 |
+
"content": {
|
| 49 |
+
"type": "string"
|
| 50 |
+
},
|
| 51 |
+
"role": {
|
| 52 |
+
"const": "assistant"
|
| 53 |
+
},
|
| 54 |
+
"thinking": {
|
| 55 |
+
"type": "string"
|
| 56 |
+
},
|
| 57 |
+
"tool_calls": {
|
| 58 |
+
"items": {
|
| 59 |
+
"properties": {
|
| 60 |
+
"function": {
|
| 61 |
+
"properties": {
|
| 62 |
+
"arguments": {
|
| 63 |
+
"additionalProperties": {},
|
| 64 |
+
"type": "object",
|
| 65 |
+
"x-parser": "gemma4-tool-call"
|
| 66 |
+
},
|
| 67 |
+
"name": {
|
| 68 |
+
"type": "string"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"type": "object",
|
| 72 |
+
"x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
|
| 73 |
+
},
|
| 74 |
+
"type": {
|
| 75 |
+
"const": "function"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"type": "object"
|
| 79 |
+
},
|
| 80 |
+
"type": "array",
|
| 81 |
+
"x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"type": "object",
|
| 85 |
+
"x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<content>(?:(?!\\<\\|tool_call\\>)(?!\\<turn\\|\\>).)+)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?:\\<turn\\|\\>)?"
|
| 86 |
+
},
|
| 87 |
+
"soc_token": "<|channel>",
|
| 88 |
+
"sot_token": "<|turn>",
|
| 89 |
+
"stc_token": "<|tool_call>",
|
| 90 |
+
"std_token": "<|tool>",
|
| 91 |
+
"str_token": "<|tool_response>",
|
| 92 |
+
"think_token": "<|think|>",
|
| 93 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 94 |
+
"unk_token": "<unk>"
|
| 95 |
+
}
|