Commit ·
8e901ea
0
Parent(s):
Duplicate from rene98c/Step-5-Preview-BF16
Browse filesCo-authored-by: Rene Prost <rene98c@users.noreply.huggingface.co>
- .gitattributes +35 -0
- chat_template.jinja +97 -0
- config.json +690 -0
- model-00001.safetensors +3 -0
- model-00002.safetensors +3 -0
- model-00003.safetensors +3 -0
- model-00004.safetensors +3 -0
- model-00005.safetensors +3 -0
- model-00006.safetensors +3 -0
- model-00007.safetensors +3 -0
- model-00008.safetensors +3 -0
- model-00009.safetensors +3 -0
- model-00010.safetensors +3 -0
- model-00011.safetensors +3 -0
- model-00012.safetensors +3 -0
- model-00013.safetensors +3 -0
- model-00014.safetensors +3 -0
- model-00015.safetensors +3 -0
- model-00016.safetensors +3 -0
- model-00017.safetensors +3 -0
- model-00018.safetensors +3 -0
- model-00019.safetensors +3 -0
- model-00020.safetensors +3 -0
- model-00021.safetensors +3 -0
- model-00022.safetensors +3 -0
- model-00023.safetensors +3 -0
- model-00024.safetensors +3 -0
- model-mtp3-00001.safetensors +3 -0
- model-mtp3-full-00001.safetensors +3 -0
- model-vit-00001.safetensors +3 -0
- model.safetensors.index.json +0 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer_config.json +0 -0
- vit.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% macro render_message_content(message) %}{% if message.content is none %}{{- '' }}{% elif message.content is string %}{{- message.content }}{% elif message.content is mapping %}{{- message.content['value'] if 'value' in message.content else message.content['text'] }}{% elif message.content is iterable %}{% set ns = namespace(needs_text_separator=false) %}{% for item in message.content %}{% if item.type == 'text' %}{% if ns.needs_text_separator %}{{- ' ' }}{% endif %}{{- item['value'] if 'value' in item else item['text'] }}{% set ns.needs_text_separator = true %}{% elif item.type == 'image' %}<im_patch>{% set ns.needs_text_separator = false %}{% endif %}{% endfor %}{% endif %}{% endmacro %}
|
| 2 |
+
{{bos_token}}{%- if tools %}
|
| 3 |
+
{{- '<|im_start|>system\n' }}
|
| 4 |
+
{%- if reasoning_effort is defined %}
|
| 5 |
+
{{- "Reasoning: " + reasoning_effort + '\n\n' }}
|
| 6 |
+
{%- endif %}
|
| 7 |
+
{%- if messages[0].role == 'system' %}
|
| 8 |
+
{{- render_message_content(messages[0]) + '\n\n' }}
|
| 9 |
+
{%- endif %}
|
| 10 |
+
{{- "# Tools\n\nYou have access to the following functions in JSONSchema format:\n\n<tools>" }}
|
| 11 |
+
{%- for tool in tools %}
|
| 12 |
+
{{- "\n" }}
|
| 13 |
+
{{- tool | tojson(ensure_ascii=False) }}
|
| 14 |
+
{%- endfor %}
|
| 15 |
+
{{- "\n</tools>\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...>\n...\n</function> block must be nested within <tool_call>\n...\n</tool_call> XML tags\n- Required parameters MUST be specified\n</IMPORTANT><|im_end|>\n" }}
|
| 16 |
+
{%- else %}
|
| 17 |
+
{%- if messages[0].role == 'system' %}
|
| 18 |
+
{{- '<|im_start|>system\n' }}
|
| 19 |
+
{%- if reasoning_effort is defined %}
|
| 20 |
+
{{- "Reasoning: " + reasoning_effort + '\n\n' }}
|
| 21 |
+
{%- endif %}
|
| 22 |
+
{{- render_message_content(messages[0]) + '<|im_end|>\n' }}
|
| 23 |
+
{%- elif reasoning_effort is defined %}
|
| 24 |
+
{{- '<|im_start|>system\n' + "Reasoning: " + reasoning_effort + '\n\n' + '<|im_end|>\n' }}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- endif %}
|
| 27 |
+
{%- set preserve_thinking = preserve_thinking | default(true) %}
|
| 28 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 29 |
+
{%- for message in messages[::-1] %}
|
| 30 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 31 |
+
{%- if ns.multi_step_tool and message.role == "user" and render_message_content(message) is string and not(render_message_content(message).startswith('<tool_response>') and render_message_content(message).endswith('</tool_response>')) %}
|
| 32 |
+
{%- set ns.multi_step_tool = false %}
|
| 33 |
+
{%- set ns.last_query_index = index %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- for message in messages %}
|
| 37 |
+
{%- set content = render_message_content(message) %}
|
| 38 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 39 |
+
{%- set role_name = 'observation' if (message.role == "system" and not loop.first and message.name == 'observation') else message.role %}
|
| 40 |
+
{{- '<|im_start|>' + role_name + '\n' + content + '<|im_end|>' + '\n' }}
|
| 41 |
+
{%- elif message.role == "assistant" %}
|
| 42 |
+
{%- if message.reasoning_content is string %}
|
| 43 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 44 |
+
{%- else %}
|
| 45 |
+
{%- if '</think>' in content %}
|
| 46 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 47 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 48 |
+
{%- else %}
|
| 49 |
+
{%- set reasoning_content = '' %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if preserve_thinking or loop.index0 > ns.last_query_index %}
|
| 53 |
+
{{- '<|im_start|>' + message.role + '\n<think>' }}
|
| 54 |
+
{%- else %}
|
| 55 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- generation %}
|
| 58 |
+
{%- if preserve_thinking or loop.index0 > ns.last_query_index %}
|
| 59 |
+
{{- reasoning_content + '</think>' + content }}
|
| 60 |
+
{%- else %}
|
| 61 |
+
{{- content }}
|
| 62 |
+
{%- endif %}
|
| 63 |
+
{%- if message.tool_calls %}
|
| 64 |
+
{%- for tool_call in message.tool_calls %}
|
| 65 |
+
{%- if tool_call.function is defined %}
|
| 66 |
+
{%- set tool_call = tool_call.function %}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 69 |
+
{%- if tool_call.arguments is defined %}
|
| 70 |
+
{%- set arguments = tool_call.arguments | fromjson if tool_call.arguments is string else tool_call.arguments %}
|
| 71 |
+
{%- for args_name, args_value in arguments|items %}
|
| 72 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 73 |
+
{%- set args_value = args_value | tojson(ensure_ascii=False) | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 74 |
+
{{- args_value }}
|
| 75 |
+
{{- '\n</parameter>\n' }}
|
| 76 |
+
{%- endfor %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '</function>\n</tool_call>' }}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{{- '<|im_end|>\n' }}
|
| 82 |
+
{%- endgeneration %}
|
| 83 |
+
{%- elif message.role == "tool" %}
|
| 84 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 85 |
+
{{- '<|im_start|>tool_response\n' }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{{- '<tool_response>' }}
|
| 88 |
+
{{- content }}
|
| 89 |
+
{{- '</tool_response>' }}
|
| 90 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 91 |
+
{{- '<|im_end|>\n' }}
|
| 92 |
+
{%- endif %}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{%- endfor %}
|
| 95 |
+
{%- if add_generation_prompt %}
|
| 96 |
+
{{- '<|im_start|>assistant\n<think>' }}
|
| 97 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,690 @@
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MMGPTStepRoboticsForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_step_robotics.StepRoboticsConfig"
|
| 7 |
+
},
|
| 8 |
+
"model_type": "step3p5v",
|
| 9 |
+
"im_end_token": "<im_end>",
|
| 10 |
+
"im_patch_token": "<im_patch>",
|
| 11 |
+
"im_start_token": "<im_start>",
|
| 12 |
+
"image_token_len": 169,
|
| 13 |
+
"patch_token_len": 81,
|
| 14 |
+
"image_token_id": 128001,
|
| 15 |
+
"understand_projector_stride": 2,
|
| 16 |
+
"use_im_start_end": "true",
|
| 17 |
+
"vision_select_layer": -1,
|
| 18 |
+
"projector_bias": false,
|
| 19 |
+
"vision_config": {
|
| 20 |
+
"model_type": "perception_encoder",
|
| 21 |
+
"image_size": 728,
|
| 22 |
+
"patch_size": 14,
|
| 23 |
+
"width": 1536,
|
| 24 |
+
"layers": 47,
|
| 25 |
+
"heads": 16,
|
| 26 |
+
"pool_type": "none",
|
| 27 |
+
"output_dim": null,
|
| 28 |
+
"use_cls_token": false,
|
| 29 |
+
"ls_init_value": 0.1,
|
| 30 |
+
"use_ln_post": false,
|
| 31 |
+
"hidden_act": "quick_gelu"
|
| 32 |
+
},
|
| 33 |
+
"text_config": {
|
| 34 |
+
"architectures": [
|
| 35 |
+
"Step4ForCausalLM"
|
| 36 |
+
],
|
| 37 |
+
"model_type": "step4",
|
| 38 |
+
"att_impl_type": "GQA",
|
| 39 |
+
"torch_dtype": "bfloat16",
|
| 40 |
+
"norm_dtype": "float32",
|
| 41 |
+
"bos_token_id": 0,
|
| 42 |
+
"eos_token_id": [
|
| 43 |
+
1,
|
| 44 |
+
2
|
| 45 |
+
],
|
| 46 |
+
"hidden_size": 4096,
|
| 47 |
+
"intermediate_size": 13824,
|
| 48 |
+
"num_hidden_layers": 92,
|
| 49 |
+
"vocab_size": 128896,
|
| 50 |
+
"rms_norm_eps": 1e-05,
|
| 51 |
+
"fp32_residual_connection": true,
|
| 52 |
+
"num_attention_heads": 64,
|
| 53 |
+
"num_attention_groups": 4,
|
| 54 |
+
"num_sliding_attention_heads": 64,
|
| 55 |
+
"head_dim": 192,
|
| 56 |
+
"head_dim_full_attention": 192,
|
| 57 |
+
"head_dim_sliding_attention": 192,
|
| 58 |
+
"num_attention_groups_full_attention": 4,
|
| 59 |
+
"num_attention_groups_sliding_attention": 4,
|
| 60 |
+
"rope_theta": [
|
| 61 |
+
10000.0,
|
| 62 |
+
10000.0,
|
| 63 |
+
10000.0,
|
| 64 |
+
10000000.0,
|
| 65 |
+
10000.0,
|
| 66 |
+
10000.0,
|
| 67 |
+
10000.0,
|
| 68 |
+
10000000.0,
|
| 69 |
+
10000.0,
|
| 70 |
+
10000.0,
|
| 71 |
+
10000.0,
|
| 72 |
+
10000000.0,
|
| 73 |
+
10000.0,
|
| 74 |
+
10000.0,
|
| 75 |
+
10000.0,
|
| 76 |
+
10000000.0,
|
| 77 |
+
10000.0,
|
| 78 |
+
10000.0,
|
| 79 |
+
10000.0,
|
| 80 |
+
10000000.0,
|
| 81 |
+
10000.0,
|
| 82 |
+
10000.0,
|
| 83 |
+
10000.0,
|
| 84 |
+
10000000.0,
|
| 85 |
+
10000.0,
|
| 86 |
+
10000.0,
|
| 87 |
+
10000.0,
|
| 88 |
+
10000000.0,
|
| 89 |
+
10000.0,
|
| 90 |
+
10000.0,
|
| 91 |
+
10000.0,
|
| 92 |
+
10000000.0,
|
| 93 |
+
10000.0,
|
| 94 |
+
10000.0,
|
| 95 |
+
10000.0,
|
| 96 |
+
10000000.0,
|
| 97 |
+
10000.0,
|
| 98 |
+
10000.0,
|
| 99 |
+
10000.0,
|
| 100 |
+
10000000.0,
|
| 101 |
+
10000.0,
|
| 102 |
+
10000.0,
|
| 103 |
+
10000.0,
|
| 104 |
+
10000000.0,
|
| 105 |
+
10000.0,
|
| 106 |
+
10000.0,
|
| 107 |
+
10000.0,
|
| 108 |
+
10000000.0,
|
| 109 |
+
10000.0,
|
| 110 |
+
10000.0,
|
| 111 |
+
10000.0,
|
| 112 |
+
10000000.0,
|
| 113 |
+
10000.0,
|
| 114 |
+
10000.0,
|
| 115 |
+
10000.0,
|
| 116 |
+
10000000.0,
|
| 117 |
+
10000.0,
|
| 118 |
+
10000.0,
|
| 119 |
+
10000.0,
|
| 120 |
+
10000000.0,
|
| 121 |
+
10000.0,
|
| 122 |
+
10000.0,
|
| 123 |
+
10000.0,
|
| 124 |
+
10000000.0,
|
| 125 |
+
10000.0,
|
| 126 |
+
10000.0,
|
| 127 |
+
10000.0,
|
| 128 |
+
10000000.0,
|
| 129 |
+
10000.0,
|
| 130 |
+
10000.0,
|
| 131 |
+
10000.0,
|
| 132 |
+
10000000.0,
|
| 133 |
+
10000.0,
|
| 134 |
+
10000.0,
|
| 135 |
+
10000.0,
|
| 136 |
+
10000000.0,
|
| 137 |
+
10000.0,
|
| 138 |
+
10000.0,
|
| 139 |
+
10000.0,
|
| 140 |
+
10000000.0,
|
| 141 |
+
10000.0,
|
| 142 |
+
10000.0,
|
| 143 |
+
10000.0,
|
| 144 |
+
10000000.0,
|
| 145 |
+
10000.0,
|
| 146 |
+
10000.0,
|
| 147 |
+
10000.0,
|
| 148 |
+
10000000.0,
|
| 149 |
+
10000.0,
|
| 150 |
+
10000.0,
|
| 151 |
+
10000.0,
|
| 152 |
+
10000000.0,
|
| 153 |
+
10000.0,
|
| 154 |
+
10000.0,
|
| 155 |
+
10000.0
|
| 156 |
+
],
|
| 157 |
+
"layer_types": [
|
| 158 |
+
"sliding_attention",
|
| 159 |
+
"sliding_attention",
|
| 160 |
+
"sliding_attention",
|
| 161 |
+
"full_attention",
|
| 162 |
+
"sliding_attention",
|
| 163 |
+
"sliding_attention",
|
| 164 |
+
"sliding_attention",
|
| 165 |
+
"full_attention",
|
| 166 |
+
"sliding_attention",
|
| 167 |
+
"sliding_attention",
|
| 168 |
+
"sliding_attention",
|
| 169 |
+
"full_attention",
|
| 170 |
+
"sliding_attention",
|
| 171 |
+
"sliding_attention",
|
| 172 |
+
"sliding_attention",
|
| 173 |
+
"full_attention",
|
| 174 |
+
"sliding_attention",
|
| 175 |
+
"sliding_attention",
|
| 176 |
+
"sliding_attention",
|
| 177 |
+
"full_attention",
|
| 178 |
+
"sliding_attention",
|
| 179 |
+
"sliding_attention",
|
| 180 |
+
"sliding_attention",
|
| 181 |
+
"full_attention",
|
| 182 |
+
"sliding_attention",
|
| 183 |
+
"sliding_attention",
|
| 184 |
+
"sliding_attention",
|
| 185 |
+
"full_attention",
|
| 186 |
+
"sliding_attention",
|
| 187 |
+
"sliding_attention",
|
| 188 |
+
"sliding_attention",
|
| 189 |
+
"full_attention",
|
| 190 |
+
"sliding_attention",
|
| 191 |
+
"sliding_attention",
|
| 192 |
+
"sliding_attention",
|
| 193 |
+
"full_attention",
|
| 194 |
+
"sliding_attention",
|
| 195 |
+
"sliding_attention",
|
| 196 |
+
"sliding_attention",
|
| 197 |
+
"full_attention",
|
| 198 |
+
"sliding_attention",
|
| 199 |
+
"sliding_attention",
|
| 200 |
+
"sliding_attention",
|
| 201 |
+
"full_attention",
|
| 202 |
+
"sliding_attention",
|
| 203 |
+
"sliding_attention",
|
| 204 |
+
"sliding_attention",
|
| 205 |
+
"full_attention",
|
| 206 |
+
"sliding_attention",
|
| 207 |
+
"sliding_attention",
|
| 208 |
+
"sliding_attention",
|
| 209 |
+
"full_attention",
|
| 210 |
+
"sliding_attention",
|
| 211 |
+
"sliding_attention",
|
| 212 |
+
"sliding_attention",
|
| 213 |
+
"full_attention",
|
| 214 |
+
"sliding_attention",
|
| 215 |
+
"sliding_attention",
|
| 216 |
+
"sliding_attention",
|
| 217 |
+
"full_attention",
|
| 218 |
+
"sliding_attention",
|
| 219 |
+
"sliding_attention",
|
| 220 |
+
"sliding_attention",
|
| 221 |
+
"full_attention",
|
| 222 |
+
"sliding_attention",
|
| 223 |
+
"sliding_attention",
|
| 224 |
+
"sliding_attention",
|
| 225 |
+
"full_attention",
|
| 226 |
+
"sliding_attention",
|
| 227 |
+
"sliding_attention",
|
| 228 |
+
"sliding_attention",
|
| 229 |
+
"full_attention",
|
| 230 |
+
"sliding_attention",
|
| 231 |
+
"sliding_attention",
|
| 232 |
+
"sliding_attention",
|
| 233 |
+
"full_attention",
|
| 234 |
+
"sliding_attention",
|
| 235 |
+
"sliding_attention",
|
| 236 |
+
"sliding_attention",
|
| 237 |
+
"full_attention",
|
| 238 |
+
"sliding_attention",
|
| 239 |
+
"sliding_attention",
|
| 240 |
+
"sliding_attention",
|
| 241 |
+
"full_attention",
|
| 242 |
+
"sliding_attention",
|
| 243 |
+
"sliding_attention",
|
| 244 |
+
"sliding_attention",
|
| 245 |
+
"full_attention",
|
| 246 |
+
"sliding_attention",
|
| 247 |
+
"sliding_attention",
|
| 248 |
+
"sliding_attention",
|
| 249 |
+
"full_attention",
|
| 250 |
+
"sliding_attention",
|
| 251 |
+
"sliding_attention",
|
| 252 |
+
"sliding_attention"
|
| 253 |
+
],
|
| 254 |
+
"partial_rotary_factors": [
|
| 255 |
+
1.0,
|
| 256 |
+
1.0,
|
| 257 |
+
1.0,
|
| 258 |
+
0.3333333333333333,
|
| 259 |
+
1.0,
|
| 260 |
+
1.0,
|
| 261 |
+
1.0,
|
| 262 |
+
0.3333333333333333,
|
| 263 |
+
1.0,
|
| 264 |
+
1.0,
|
| 265 |
+
1.0,
|
| 266 |
+
0.3333333333333333,
|
| 267 |
+
1.0,
|
| 268 |
+
1.0,
|
| 269 |
+
1.0,
|
| 270 |
+
0.3333333333333333,
|
| 271 |
+
1.0,
|
| 272 |
+
1.0,
|
| 273 |
+
1.0,
|
| 274 |
+
0.3333333333333333,
|
| 275 |
+
1.0,
|
| 276 |
+
1.0,
|
| 277 |
+
1.0,
|
| 278 |
+
0.3333333333333333,
|
| 279 |
+
1.0,
|
| 280 |
+
1.0,
|
| 281 |
+
1.0,
|
| 282 |
+
0.3333333333333333,
|
| 283 |
+
1.0,
|
| 284 |
+
1.0,
|
| 285 |
+
1.0,
|
| 286 |
+
0.3333333333333333,
|
| 287 |
+
1.0,
|
| 288 |
+
1.0,
|
| 289 |
+
1.0,
|
| 290 |
+
0.3333333333333333,
|
| 291 |
+
1.0,
|
| 292 |
+
1.0,
|
| 293 |
+
1.0,
|
| 294 |
+
0.3333333333333333,
|
| 295 |
+
1.0,
|
| 296 |
+
1.0,
|
| 297 |
+
1.0,
|
| 298 |
+
0.3333333333333333,
|
| 299 |
+
1.0,
|
| 300 |
+
1.0,
|
| 301 |
+
1.0,
|
| 302 |
+
0.3333333333333333,
|
| 303 |
+
1.0,
|
| 304 |
+
1.0,
|
| 305 |
+
1.0,
|
| 306 |
+
0.3333333333333333,
|
| 307 |
+
1.0,
|
| 308 |
+
1.0,
|
| 309 |
+
1.0,
|
| 310 |
+
0.3333333333333333,
|
| 311 |
+
1.0,
|
| 312 |
+
1.0,
|
| 313 |
+
1.0,
|
| 314 |
+
0.3333333333333333,
|
| 315 |
+
1.0,
|
| 316 |
+
1.0,
|
| 317 |
+
1.0,
|
| 318 |
+
0.3333333333333333,
|
| 319 |
+
1.0,
|
| 320 |
+
1.0,
|
| 321 |
+
1.0,
|
| 322 |
+
0.3333333333333333,
|
| 323 |
+
1.0,
|
| 324 |
+
1.0,
|
| 325 |
+
1.0,
|
| 326 |
+
0.3333333333333333,
|
| 327 |
+
1.0,
|
| 328 |
+
1.0,
|
| 329 |
+
1.0,
|
| 330 |
+
0.3333333333333333,
|
| 331 |
+
1.0,
|
| 332 |
+
1.0,
|
| 333 |
+
1.0,
|
| 334 |
+
0.3333333333333333,
|
| 335 |
+
1.0,
|
| 336 |
+
1.0,
|
| 337 |
+
1.0,
|
| 338 |
+
0.3333333333333333,
|
| 339 |
+
1.0,
|
| 340 |
+
1.0,
|
| 341 |
+
1.0,
|
| 342 |
+
0.3333333333333333,
|
| 343 |
+
1.0,
|
| 344 |
+
1.0,
|
| 345 |
+
1.0,
|
| 346 |
+
0.3333333333333333,
|
| 347 |
+
1.0,
|
| 348 |
+
1.0,
|
| 349 |
+
1.0
|
| 350 |
+
],
|
| 351 |
+
"sliding_window": 512,
|
| 352 |
+
"attention_other_setting": {
|
| 353 |
+
"attention_type": "sliding_attention",
|
| 354 |
+
"num_attention_heads": 64,
|
| 355 |
+
"num_attention_groups": 4,
|
| 356 |
+
"head_dim": 192,
|
| 357 |
+
"true_head_dim": 192
|
| 358 |
+
},
|
| 359 |
+
"use_head_wise_attn_gate": true,
|
| 360 |
+
"num_nextn_predict_layers": 3,
|
| 361 |
+
"use_moe": true,
|
| 362 |
+
"moe_intermediate_size": 1536,
|
| 363 |
+
"share_expert_dim": 1536,
|
| 364 |
+
"moe_num_experts": 352,
|
| 365 |
+
"moe_top_k": 8,
|
| 366 |
+
"num_experts_per_tok": 8,
|
| 367 |
+
"moe_layer_list": [
|
| 368 |
+
3,
|
| 369 |
+
4,
|
| 370 |
+
5,
|
| 371 |
+
6,
|
| 372 |
+
7,
|
| 373 |
+
8,
|
| 374 |
+
9,
|
| 375 |
+
10,
|
| 376 |
+
11,
|
| 377 |
+
12,
|
| 378 |
+
13,
|
| 379 |
+
14,
|
| 380 |
+
15,
|
| 381 |
+
16,
|
| 382 |
+
17,
|
| 383 |
+
18,
|
| 384 |
+
19,
|
| 385 |
+
20,
|
| 386 |
+
21,
|
| 387 |
+
22,
|
| 388 |
+
23,
|
| 389 |
+
24,
|
| 390 |
+
25,
|
| 391 |
+
26,
|
| 392 |
+
27,
|
| 393 |
+
28,
|
| 394 |
+
29,
|
| 395 |
+
30,
|
| 396 |
+
31,
|
| 397 |
+
32,
|
| 398 |
+
33,
|
| 399 |
+
34,
|
| 400 |
+
35,
|
| 401 |
+
36,
|
| 402 |
+
37,
|
| 403 |
+
38,
|
| 404 |
+
39,
|
| 405 |
+
40,
|
| 406 |
+
41,
|
| 407 |
+
42,
|
| 408 |
+
43,
|
| 409 |
+
44,
|
| 410 |
+
45,
|
| 411 |
+
46,
|
| 412 |
+
47,
|
| 413 |
+
48,
|
| 414 |
+
49,
|
| 415 |
+
50,
|
| 416 |
+
51,
|
| 417 |
+
52,
|
| 418 |
+
53,
|
| 419 |
+
54,
|
| 420 |
+
55,
|
| 421 |
+
56,
|
| 422 |
+
57,
|
| 423 |
+
58,
|
| 424 |
+
59,
|
| 425 |
+
60,
|
| 426 |
+
61,
|
| 427 |
+
62,
|
| 428 |
+
63,
|
| 429 |
+
64,
|
| 430 |
+
65,
|
| 431 |
+
66,
|
| 432 |
+
67,
|
| 433 |
+
68,
|
| 434 |
+
69,
|
| 435 |
+
70,
|
| 436 |
+
71,
|
| 437 |
+
72,
|
| 438 |
+
73,
|
| 439 |
+
74,
|
| 440 |
+
75,
|
| 441 |
+
76,
|
| 442 |
+
77,
|
| 443 |
+
78,
|
| 444 |
+
79,
|
| 445 |
+
80,
|
| 446 |
+
81,
|
| 447 |
+
82,
|
| 448 |
+
83,
|
| 449 |
+
84,
|
| 450 |
+
85,
|
| 451 |
+
86,
|
| 452 |
+
87,
|
| 453 |
+
88,
|
| 454 |
+
89,
|
| 455 |
+
90
|
| 456 |
+
],
|
| 457 |
+
"moe_layers_enum": "3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90",
|
| 458 |
+
"use_moe_router_bias": true,
|
| 459 |
+
"need_fp32_gate": true,
|
| 460 |
+
"swiglu_limits": [
|
| 461 |
+
7.0,
|
| 462 |
+
7.0,
|
| 463 |
+
7.0,
|
| 464 |
+
7.0,
|
| 465 |
+
7.0,
|
| 466 |
+
7.0,
|
| 467 |
+
7.0,
|
| 468 |
+
7.0,
|
| 469 |
+
7.0,
|
| 470 |
+
7.0,
|
| 471 |
+
7.0,
|
| 472 |
+
7.0,
|
| 473 |
+
7.0,
|
| 474 |
+
7.0,
|
| 475 |
+
7.0,
|
| 476 |
+
7.0,
|
| 477 |
+
7.0,
|
| 478 |
+
7.0,
|
| 479 |
+
7.0,
|
| 480 |
+
7.0,
|
| 481 |
+
7.0,
|
| 482 |
+
7.0,
|
| 483 |
+
7.0,
|
| 484 |
+
7.0,
|
| 485 |
+
7.0,
|
| 486 |
+
7.0,
|
| 487 |
+
7.0,
|
| 488 |
+
7.0,
|
| 489 |
+
7.0,
|
| 490 |
+
7.0,
|
| 491 |
+
7.0,
|
| 492 |
+
7.0,
|
| 493 |
+
7.0,
|
| 494 |
+
7.0,
|
| 495 |
+
7.0,
|
| 496 |
+
7.0,
|
| 497 |
+
7.0,
|
| 498 |
+
7.0,
|
| 499 |
+
7.0,
|
| 500 |
+
7.0,
|
| 501 |
+
7.0,
|
| 502 |
+
7.0,
|
| 503 |
+
7.0,
|
| 504 |
+
7.0,
|
| 505 |
+
7.0,
|
| 506 |
+
7.0,
|
| 507 |
+
7.0,
|
| 508 |
+
7.0,
|
| 509 |
+
7.0,
|
| 510 |
+
7.0,
|
| 511 |
+
7.0,
|
| 512 |
+
7.0,
|
| 513 |
+
7.0,
|
| 514 |
+
7.0,
|
| 515 |
+
7.0,
|
| 516 |
+
7.0,
|
| 517 |
+
7.0,
|
| 518 |
+
7.0,
|
| 519 |
+
7.0,
|
| 520 |
+
7.0,
|
| 521 |
+
7.0,
|
| 522 |
+
7.0,
|
| 523 |
+
7.0,
|
| 524 |
+
7.0,
|
| 525 |
+
7.0,
|
| 526 |
+
7.0,
|
| 527 |
+
7.0,
|
| 528 |
+
7.0,
|
| 529 |
+
7.0,
|
| 530 |
+
7.0,
|
| 531 |
+
7.0,
|
| 532 |
+
7.0,
|
| 533 |
+
7.0,
|
| 534 |
+
7.0,
|
| 535 |
+
7.0,
|
| 536 |
+
7.0,
|
| 537 |
+
7.0,
|
| 538 |
+
7.0,
|
| 539 |
+
7.0,
|
| 540 |
+
7.0,
|
| 541 |
+
7.0,
|
| 542 |
+
7.0,
|
| 543 |
+
7.0,
|
| 544 |
+
7.0,
|
| 545 |
+
7.0,
|
| 546 |
+
7.0,
|
| 547 |
+
7.0,
|
| 548 |
+
7.0,
|
| 549 |
+
7.0,
|
| 550 |
+
7.0,
|
| 551 |
+
7.0,
|
| 552 |
+
7.0,
|
| 553 |
+
7.0,
|
| 554 |
+
7.0,
|
| 555 |
+
7.0
|
| 556 |
+
],
|
| 557 |
+
"swiglu_limits_shared": [
|
| 558 |
+
7.0,
|
| 559 |
+
7.0,
|
| 560 |
+
7.0,
|
| 561 |
+
7.0,
|
| 562 |
+
7.0,
|
| 563 |
+
7.0,
|
| 564 |
+
7.0,
|
| 565 |
+
7.0,
|
| 566 |
+
7.0,
|
| 567 |
+
7.0,
|
| 568 |
+
7.0,
|
| 569 |
+
7.0,
|
| 570 |
+
7.0,
|
| 571 |
+
7.0,
|
| 572 |
+
7.0,
|
| 573 |
+
7.0,
|
| 574 |
+
7.0,
|
| 575 |
+
7.0,
|
| 576 |
+
7.0,
|
| 577 |
+
7.0,
|
| 578 |
+
7.0,
|
| 579 |
+
7.0,
|
| 580 |
+
7.0,
|
| 581 |
+
7.0,
|
| 582 |
+
7.0,
|
| 583 |
+
7.0,
|
| 584 |
+
7.0,
|
| 585 |
+
7.0,
|
| 586 |
+
7.0,
|
| 587 |
+
7.0,
|
| 588 |
+
7.0,
|
| 589 |
+
7.0,
|
| 590 |
+
7.0,
|
| 591 |
+
7.0,
|
| 592 |
+
7.0,
|
| 593 |
+
7.0,
|
| 594 |
+
7.0,
|
| 595 |
+
7.0,
|
| 596 |
+
7.0,
|
| 597 |
+
7.0,
|
| 598 |
+
7.0,
|
| 599 |
+
7.0,
|
| 600 |
+
7.0,
|
| 601 |
+
7.0,
|
| 602 |
+
7.0,
|
| 603 |
+
7.0,
|
| 604 |
+
7.0,
|
| 605 |
+
7.0,
|
| 606 |
+
7.0,
|
| 607 |
+
7.0,
|
| 608 |
+
7.0,
|
| 609 |
+
7.0,
|
| 610 |
+
7.0,
|
| 611 |
+
7.0,
|
| 612 |
+
7.0,
|
| 613 |
+
7.0,
|
| 614 |
+
7.0,
|
| 615 |
+
7.0,
|
| 616 |
+
7.0,
|
| 617 |
+
7.0,
|
| 618 |
+
7.0,
|
| 619 |
+
7.0,
|
| 620 |
+
7.0,
|
| 621 |
+
7.0,
|
| 622 |
+
7.0,
|
| 623 |
+
7.0,
|
| 624 |
+
7.0,
|
| 625 |
+
7.0,
|
| 626 |
+
7.0,
|
| 627 |
+
7.0,
|
| 628 |
+
7.0,
|
| 629 |
+
7.0,
|
| 630 |
+
7.0,
|
| 631 |
+
7.0,
|
| 632 |
+
7.0,
|
| 633 |
+
7.0,
|
| 634 |
+
7.0,
|
| 635 |
+
7.0,
|
| 636 |
+
7.0,
|
| 637 |
+
7.0,
|
| 638 |
+
7.0,
|
| 639 |
+
7.0,
|
| 640 |
+
7.0,
|
| 641 |
+
7.0,
|
| 642 |
+
7.0,
|
| 643 |
+
7.0,
|
| 644 |
+
7.0,
|
| 645 |
+
7.0,
|
| 646 |
+
7.0,
|
| 647 |
+
7.0,
|
| 648 |
+
7.0,
|
| 649 |
+
7.0,
|
| 650 |
+
7.0,
|
| 651 |
+
7.0,
|
| 652 |
+
7.0
|
| 653 |
+
],
|
| 654 |
+
"max_seq_len": 1048576,
|
| 655 |
+
"max_position_embeddings": 1048576,
|
| 656 |
+
"norm_expert_weight": true,
|
| 657 |
+
"moe_router_scaling_factor": 3.0,
|
| 658 |
+
"rope_scaling": {
|
| 659 |
+
"rope_type": "llama3",
|
| 660 |
+
"factor": 1.0,
|
| 661 |
+
"original_max_position_embeddings": 1048576,
|
| 662 |
+
"low_freq_factor": 1.0,
|
| 663 |
+
"high_freq_factor": 32.0
|
| 664 |
+
},
|
| 665 |
+
"yarn_only_types": [
|
| 666 |
+
"full_attention"
|
| 667 |
+
],
|
| 668 |
+
"sparse_config": {
|
| 669 |
+
"enabled": true,
|
| 670 |
+
"proxy_dim": 256,
|
| 671 |
+
"sparse_indexer_rope_dim": 32,
|
| 672 |
+
"sparse_indexer_use_rope": true,
|
| 673 |
+
"sparse_indexer_num_heads": 16,
|
| 674 |
+
"sparse_indexer_num_k_heads": 1,
|
| 675 |
+
"sparse_indexer_q_norm_type": "rmsnorm",
|
| 676 |
+
"sparse_indexer_k_norm_type": "layernorm",
|
| 677 |
+
"sparse_indexer_csa_z_norm_type": "none",
|
| 678 |
+
"sparse_indexer_softmax_variant": "ssmax",
|
| 679 |
+
"sparse_indexer_ssmax_s_granularity": "q_head",
|
| 680 |
+
"num_provider_groups": 4,
|
| 681 |
+
"topk": 512,
|
| 682 |
+
"region_block_size": 8,
|
| 683 |
+
"compression_method": "csa_block_compress",
|
| 684 |
+
"attention_impl": "sparse_gqa",
|
| 685 |
+
"apply_to_layer_types": [
|
| 686 |
+
"full_attention"
|
| 687 |
+
]
|
| 688 |
+
}
|
| 689 |
+
}
|
| 690 |
+
}
|
model-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90e1a829d44cf718f8dbf290894961660a9351253589720d6fb9801c5e0209bd
|
| 3 |
+
size 16299214304
|
model-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3a7ade757240e5c760621c21938efd23bb7a629c8859d84f6cd9d2444a48d9d
|
| 3 |
+
size 54208650488
|
model-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73723eada10c2f11c90e47e18079baf8f50a1f98838b3a065d44fb643d1995d0
|
| 3 |
+
size 54208650528
|
model-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f19adf654b3b9fb937af91ad38006a17a0a4f899aff275c1e0123d531a3edd10
|
| 3 |
+
size 54208650568
|
model-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2bdf63114c1811884f41507a2f02cb0ec6c68b3e4995516962aeede1d6377ca
|
| 3 |
+
size 54208650568
|
model-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a19a86f16b15cbf7fb49fbcd16bb5219ff911fb1123964c712fb3012e9c65bc0
|
| 3 |
+
size 54208650568
|
model-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0846f37ba388300d91b40f016aec8fad31aaa1d098c8302943b3752b57b1e646
|
| 3 |
+
size 54208650568
|
model-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baa0c1927e9eadf881dfefa092e802ace4e7d769f33adc0df09c678595d6014d
|
| 3 |
+
size 54208650568
|
model-00009.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90398b62681ce3ff3ab68d1e5d1b9167428a1cf540f2a2549f2989d183ce7b54
|
| 3 |
+
size 54208650568
|
model-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fda3b231dd2255aca41ea6bb7b2f05467ae9181c49a3fc946d844f429aff7146
|
| 3 |
+
size 54208650568
|
model-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb3e832ebf79b0b0477a57e862ba6b4a09f3e3dc48c225486522323e1871c408
|
| 3 |
+
size 54208650568
|
model-00012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:067edee17420684cc5c996ffbea8d34e9a2cbafc1426b7f061fbff2e33113d31
|
| 3 |
+
size 54208650568
|
model-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfbb0bee3f1203599588fc91af39da1f3469a820b0051d877132b29e1f3d31aa
|
| 3 |
+
size 54208650568
|
model-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2366dee68738d92ca5adc69dd5775f078ac9542d44f60f4d0c7b3fbd4e6f8a2b
|
| 3 |
+
size 54208650568
|
model-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1212ae38fdf7db70c97db96c95cadc0efef7b291edd26dee4b120f18c35749f
|
| 3 |
+
size 54208650568
|
model-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88c4e3a98d923f13c03ab551c74c9d9312901fc359ab503dd6ac6c4df22c7d0e
|
| 3 |
+
size 54208650568
|
model-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3ef673474af3577eeea4dd860bc5c73bb323e20aa65cbd384194bf6e610442b
|
| 3 |
+
size 54208650568
|
model-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:423a9bdffde80d3c8da3d472049160182cbbc7ca73fd112bf5197ce765564fe2
|
| 3 |
+
size 54208650568
|
model-00019.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:746dcef0b1388b5c9e1df1d8cb5f65b7ffc3d620eed29c758d613b83db303a16
|
| 3 |
+
size 54208650568
|
model-00020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec2bf383359ed3c814b36f3a72cdc325eadc4da0cd6da7258b5a3d13c1022447
|
| 3 |
+
size 54208650568
|
model-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1a4cf56ba82e4f4f504c5ad1d3cf59e2906cf35a0c8f55df33521800873d6a4
|
| 3 |
+
size 54208650568
|
model-00022.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fc9c09fe30a2e70a4b1570e83c13d7ad80bc692989e60fbbb8aff440eadecbb
|
| 3 |
+
size 54208650568
|
model-00023.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc020a888cb796dd9941f0a96c18c46ab3ef34f5459488280814106389250052
|
| 3 |
+
size 41220199800
|
model-00024.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f4af49190de55aef35301eb44491e38d8eb88207e04cf235c7b6a303bf1a8b6
|
| 3 |
+
size 3789131384
|
model-mtp3-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc0c82a2d78d0ee1309797bc0a3e64ab13d8d5b791a1b3c4e4187c695064fa05
|
| 3 |
+
size 2246149176
|
model-mtp3-full-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37edca94e8c5ec8c1b991f02d4e6c012e380d4bf2d3842681441354c2cbb1f2f
|
| 3 |
+
size 5031847968
|
model-vit-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16a65fcfdcc73a20abc9374a2db61909eb884712e817ca10ca8289c31c490823
|
| 3 |
+
size 3962113720
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin▁of▁sentence|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|im_end|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|end▁of▁sentence|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vit.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0085f2be3eeef9d2aabfcdbeb45dba7876f322a69e8893e9fb13b25a2475edea
|
| 3 |
+
size 3962113752
|