Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- README.md +61 -0
- chat_template.jinja +327 -0
- config.json +38 -0
- generation_config.json +6 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +459 -0
- special_tokens_map.json +30 -0
- tokenizer.json +3 -0
- tokenizer_config.json +0 -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
|
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: swiss-ai/Apertus-8B-Instruct-2509
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
library_name: mlx
|
| 6 |
+
tags:
|
| 7 |
+
- multilingual
|
| 8 |
+
- compliant
|
| 9 |
+
- swiss-ai
|
| 10 |
+
- apertus
|
| 11 |
+
- mlx
|
| 12 |
+
extra_gated_prompt: "### Apertus LLM Acceptable Use Policy \n(1.0 | September 1,\
|
| 13 |
+
\ 2025)\n\"Agreement\" The Swiss National AI Institute (SNAI) is a partnership between\
|
| 14 |
+
\ the two Swiss Federal Institutes of Technology, ETH Zurich and EPFL. \n\nBy using\
|
| 15 |
+
\ the Apertus LLM you agree to indemnify, defend, and hold harmless ETH Zurich and\
|
| 16 |
+
\ EPFL against any third-party claims arising from your use of Apertus LLM. \n\n\
|
| 17 |
+
The training data and the Apertus LLM may contain or generate information that directly\
|
| 18 |
+
\ or indirectly refers to an identifiable individual (Personal Data). You process\
|
| 19 |
+
\ Personal Data as independent controller in accordance with applicable data protection\
|
| 20 |
+
\ law. SNAI will regularly provide a file with hash values for download which you\
|
| 21 |
+
\ can apply as an output filter to your use of our Apertus LLM. The file reflects\
|
| 22 |
+
\ data protection deletion requests which have been addressed to SNAI as the developer\
|
| 23 |
+
\ of the Apertus LLM. It allows you to remove Personal Data contained in the model\
|
| 24 |
+
\ output. We strongly advise downloading and applying this output filter from SNAI\
|
| 25 |
+
\ every six months following the release of the model. "
|
| 26 |
+
extra_gated_fields:
|
| 27 |
+
Your Name: text
|
| 28 |
+
Country: country
|
| 29 |
+
Affiliation: text
|
| 30 |
+
geo: ip_location
|
| 31 |
+
By clicking Submit below I accept the terms of use: checkbox
|
| 32 |
+
extra_gated_button_content: Submit
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
# mlx-community/Apertus-8B-Instruct-2509-8bit
|
| 36 |
+
|
| 37 |
+
This model [mlx-community/Apertus-8B-Instruct-2509-8bit](https://huggingface.co/mlx-community/Apertus-8B-Instruct-2509-8bit) was
|
| 38 |
+
converted to MLX format from [swiss-ai/Apertus-8B-Instruct-2509](https://huggingface.co/swiss-ai/Apertus-8B-Instruct-2509)
|
| 39 |
+
using mlx-lm version **0.27.0**.
|
| 40 |
+
|
| 41 |
+
## Use with mlx
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
pip install mlx-lm
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
from mlx_lm import load, generate
|
| 49 |
+
|
| 50 |
+
model, tokenizer = load("mlx-community/Apertus-8B-Instruct-2509-8bit")
|
| 51 |
+
|
| 52 |
+
prompt = "hello"
|
| 53 |
+
|
| 54 |
+
if tokenizer.chat_template is not None:
|
| 55 |
+
messages = [{"role": "user", "content": prompt}]
|
| 56 |
+
prompt = tokenizer.apply_chat_template(
|
| 57 |
+
messages, add_generation_prompt=True
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 61 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,327 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- macro render_typescript_type(param_spec, required_params, is_nullable=false) -%}
|
| 2 |
+
{%- if param_spec.type == "array" -%}
|
| 3 |
+
{%- if param_spec['items'] -%}
|
| 4 |
+
{%- if param_spec['items']['type'] == "string" -%}
|
| 5 |
+
{{- "string[]" }}
|
| 6 |
+
{%- elif param_spec['items']['type'] == "number" -%}
|
| 7 |
+
{{- "number[]" }}
|
| 8 |
+
{%- elif param_spec['items']['type'] == "integer" -%}
|
| 9 |
+
{{- "number[]" }}
|
| 10 |
+
{%- elif param_spec['items']['type'] == "boolean" -%}
|
| 11 |
+
{{- "boolean[]" }}
|
| 12 |
+
{%- else -%}
|
| 13 |
+
{%- set inner_type = render_typescript_type(param_spec['items'], required_params) -%}
|
| 14 |
+
{%- if inner_type == "object | object" or inner_type|length > 50 -%}
|
| 15 |
+
{{- "any[]" }}
|
| 16 |
+
{%- else -%}
|
| 17 |
+
{{- inner_type + "[]" }}
|
| 18 |
+
{%- endif -%}
|
| 19 |
+
{%- endif -%}
|
| 20 |
+
{%- if param_spec.nullable -%}
|
| 21 |
+
{{- " | null" }}
|
| 22 |
+
{%- endif -%}
|
| 23 |
+
{%- else -%}
|
| 24 |
+
{{- "any[]" }}
|
| 25 |
+
{%- if param_spec.nullable -%}
|
| 26 |
+
{{- " | null" }}
|
| 27 |
+
{%- endif -%}
|
| 28 |
+
{%- endif -%}
|
| 29 |
+
{%- elif param_spec.type is defined and param_spec.type is iterable and param_spec.type is not string and param_spec.type is not mapping and param_spec.type[0] is defined -%}
|
| 30 |
+
{#- Handle array of types like ["object", "object"] from Union[dict, list] #}
|
| 31 |
+
{%- if param_spec.type | length > 1 -%}
|
| 32 |
+
{{- param_spec.type | join(" | ") }}
|
| 33 |
+
{%- else -%}
|
| 34 |
+
{{- param_spec.type[0] }}
|
| 35 |
+
{%- endif -%}
|
| 36 |
+
{%- elif param_spec.oneOf -%}
|
| 37 |
+
{#- Handle oneOf schemas - check for complex unions and fallback to any #}
|
| 38 |
+
{%- set has_object_variants = false -%}
|
| 39 |
+
{%- for variant in param_spec.oneOf -%}
|
| 40 |
+
{%- if variant.type == "object" -%}
|
| 41 |
+
{%- set has_object_variants = true -%}
|
| 42 |
+
{%- endif -%}
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if has_object_variants and param_spec.oneOf|length > 1 -%}
|
| 45 |
+
{{- "any" }}
|
| 46 |
+
{%- else -%}
|
| 47 |
+
{%- for variant in param_spec.oneOf -%}
|
| 48 |
+
{{- render_typescript_type(variant, required_params) -}}
|
| 49 |
+
{%- if variant.description %}
|
| 50 |
+
{{- "// " + variant.description }}
|
| 51 |
+
{%- endif -%}
|
| 52 |
+
{%- if variant.default is defined %}
|
| 53 |
+
{{ "// default: " + variant.default|tojson }}
|
| 54 |
+
{%- endif -%}
|
| 55 |
+
{%- if not loop.last %}
|
| 56 |
+
{{- " | " }}
|
| 57 |
+
{% endif -%}
|
| 58 |
+
{%- endfor -%}
|
| 59 |
+
{%- endif -%}
|
| 60 |
+
{%- elif param_spec.type == "string" -%}
|
| 61 |
+
{%- if param_spec.enum -%}
|
| 62 |
+
{{- '"' + param_spec.enum|join('" | "') + '"' -}}
|
| 63 |
+
{%- else -%}
|
| 64 |
+
{{- "string" }}
|
| 65 |
+
{%- if param_spec.nullable %}
|
| 66 |
+
{{- " | null" }}
|
| 67 |
+
{%- endif -%}
|
| 68 |
+
{%- endif -%}
|
| 69 |
+
{%- elif param_spec.type == "number" -%}
|
| 70 |
+
{{- "number" }}
|
| 71 |
+
{%- elif param_spec.type == "integer" -%}
|
| 72 |
+
{{- "number" }}
|
| 73 |
+
{%- elif param_spec.type == "boolean" -%}
|
| 74 |
+
{{- "boolean" }}
|
| 75 |
+
{%- elif param_spec.type == "object" -%}
|
| 76 |
+
{%- if param_spec.properties -%}
|
| 77 |
+
{{- "{\n" }}
|
| 78 |
+
{%- for prop_name, prop_spec in param_spec.properties.items() -%}
|
| 79 |
+
{{- prop_name -}}
|
| 80 |
+
{%- if prop_name not in (param_spec.required or []) -%}
|
| 81 |
+
{{- "?" }}
|
| 82 |
+
{%- endif -%}
|
| 83 |
+
{{- ": " }}
|
| 84 |
+
{{ render_typescript_type(prop_spec, param_spec.required or []) }}
|
| 85 |
+
{%- if not loop.last -%}
|
| 86 |
+
{{-", " }}
|
| 87 |
+
{%- endif -%}
|
| 88 |
+
{%- endfor -%}
|
| 89 |
+
{{- "}" }}
|
| 90 |
+
{%- else -%}
|
| 91 |
+
{{- "object" }}
|
| 92 |
+
{%- endif -%}
|
| 93 |
+
{%- else -%}
|
| 94 |
+
{{- "any" }}
|
| 95 |
+
{%- endif -%}
|
| 96 |
+
{%- endmacro -%}
|
| 97 |
+
|
| 98 |
+
{%- macro render_tools(tools) -%}
|
| 99 |
+
{%- for tool in tools %}
|
| 100 |
+
{{- "// " + tool.description + "\n" }}
|
| 101 |
+
{{- "type "+ tool.name + " = " }}
|
| 102 |
+
{%- if tool.parameters and tool.parameters.properties %}
|
| 103 |
+
{{- "(_: {\n" }}
|
| 104 |
+
{%- for param_name, param_spec in tool.parameters.properties.items() %}
|
| 105 |
+
{%- if param_spec.description %}
|
| 106 |
+
{{- "// " + param_spec.description + "\n" }}
|
| 107 |
+
{%- endif %}
|
| 108 |
+
{{- param_name }}
|
| 109 |
+
{%- if param_name not in (tool.parameters.required or []) -%}
|
| 110 |
+
{{- "?" }}
|
| 111 |
+
{%- endif -%}
|
| 112 |
+
{{- ": " }}
|
| 113 |
+
{{- render_typescript_type(param_spec, tool.parameters.required or []) }}
|
| 114 |
+
{%- if param_spec.default is defined -%}
|
| 115 |
+
{%- if param_spec.enum %}
|
| 116 |
+
{{- ", // default: " + param_spec.default }}
|
| 117 |
+
{%- elif param_spec.oneOf %}
|
| 118 |
+
{{- "// default: " + param_spec.default }}
|
| 119 |
+
{%- else %}
|
| 120 |
+
{{- ", // default: " + param_spec.default|tojson }}
|
| 121 |
+
{%- endif -%}
|
| 122 |
+
{%- endif -%}
|
| 123 |
+
{%- if not loop.last %}
|
| 124 |
+
{{- ",\n" }}
|
| 125 |
+
{%- else %}
|
| 126 |
+
{{- "\n" }}
|
| 127 |
+
{%- endif -%}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{{- "}) => any;" }}
|
| 130 |
+
{%- else -%}
|
| 131 |
+
{{- "() => any;" }}
|
| 132 |
+
{%- endif -%}
|
| 133 |
+
{%- if not loop.last -%}
|
| 134 |
+
{{- "\n" }}
|
| 135 |
+
{%- endif -%}
|
| 136 |
+
{%- endfor %}
|
| 137 |
+
{%- endmacro -%}
|
| 138 |
+
|
| 139 |
+
{{ bos_token }}
|
| 140 |
+
|
| 141 |
+
{%- set system_token = '<|system_start|>' -%}
|
| 142 |
+
{%- set end_system_token = '<|system_end|>' -%}
|
| 143 |
+
{%- set developer_token = '<|developer_start|>' -%}
|
| 144 |
+
{%- set end_developer_token = '<|developer_end|>' -%}
|
| 145 |
+
{%- set user_token = '<|user_start|>' -%}
|
| 146 |
+
{%- set end_user_token = '<|user_end|>' -%}
|
| 147 |
+
{%- set assistant_token = '<|assistant_start|>' -%}
|
| 148 |
+
{%- set end_assistant_token = '<|assistant_end|>' -%}
|
| 149 |
+
{%- set inner_token = '<|inner_prefix|>' -%}
|
| 150 |
+
{%- set outer_token = '<|inner_suffix|>' -%}
|
| 151 |
+
{%- set tool_calls_token = '<|tools_prefix|>' -%}
|
| 152 |
+
{%- set end_tool_calls_token = '<|tools_suffix|>' -%}
|
| 153 |
+
|
| 154 |
+
{%- set ns = namespace(in_assistant=false, in_tool=false, in_inner=false, assistant_format=none) -%}
|
| 155 |
+
|
| 156 |
+
{%- if messages and messages[0].role == 'system' -%}
|
| 157 |
+
{%- if "content" in messages[0] -%}
|
| 158 |
+
{%- if messages[0].content is string -%}
|
| 159 |
+
{{ system_token + messages[0].content + end_system_token }}
|
| 160 |
+
{%- elif messages[0].content is mapping and "text" in messages[0].content -%}
|
| 161 |
+
{{ system_token + messages[0].content.text + end_system_token }}
|
| 162 |
+
{%- else -%}
|
| 163 |
+
{{- raise_exception("Invalid system message") -}}
|
| 164 |
+
{%- endif -%}
|
| 165 |
+
{%- else -%}
|
| 166 |
+
{{- raise_exception("Invalid system message") -}}
|
| 167 |
+
{%- endif -%}
|
| 168 |
+
{%- set loop_messages = messages[1:] -%}
|
| 169 |
+
{%- else -%}
|
| 170 |
+
{{ system_token + 'You are Apertus, a helpful assistant created by the SwissAI initiative.\nKnowledge cutoff: 2024-04\nCurrent date: ' + strftime_now('%Y-%m-%d') + end_system_token }}
|
| 171 |
+
{%- set loop_messages = messages -%}
|
| 172 |
+
{%- endif -%}
|
| 173 |
+
|
| 174 |
+
{{ developer_token + 'Deliberation: ' }}
|
| 175 |
+
{%- if enable_thinking is defined and enable_thinking -%}
|
| 176 |
+
{{ 'enabled\n' }}
|
| 177 |
+
{%- else -%}
|
| 178 |
+
{{ 'disabled\n' }}
|
| 179 |
+
{%- endif -%}
|
| 180 |
+
{%- if tools is defined and tools -%}
|
| 181 |
+
{{ 'Tool Capabilities:\n' + render_tools(tools) }}
|
| 182 |
+
{%- else -%}
|
| 183 |
+
{{ 'Tool Capabilities: disabled' }}
|
| 184 |
+
{%- endif -%}
|
| 185 |
+
{{ end_developer_token }}
|
| 186 |
+
|
| 187 |
+
{%- for message in loop_messages -%}
|
| 188 |
+
{%- if message.role == 'user' -%}
|
| 189 |
+
{%- set ns.in_inner = false -%}
|
| 190 |
+
{%- if ns.in_tool -%}
|
| 191 |
+
{{ ']' }}
|
| 192 |
+
{%- set ns.in_tool = false -%}
|
| 193 |
+
{%- endif -%}
|
| 194 |
+
{%- if ns.in_assistant -%}
|
| 195 |
+
{{ end_assistant_token }}
|
| 196 |
+
{%- set ns.in_assistant = false -%}
|
| 197 |
+
{%- endif -%}
|
| 198 |
+
{%- if "content" in message -%}
|
| 199 |
+
{{ user_token }}
|
| 200 |
+
{%- if message.content is string -%}
|
| 201 |
+
{{ message.content }}
|
| 202 |
+
{%- elif message.content is mapping and "parts" in message.content -%}
|
| 203 |
+
{%- set parts = message.content.parts -%}
|
| 204 |
+
{%- for part in parts -%}
|
| 205 |
+
{%- if part.type == "text" -%}
|
| 206 |
+
{{ part.text }}
|
| 207 |
+
{%- else -%}
|
| 208 |
+
{{- raise_exception("Invalid user part: " + part.type) -}}
|
| 209 |
+
{%- endif -%}
|
| 210 |
+
{%- endfor -%}
|
| 211 |
+
{%- else -%}
|
| 212 |
+
{{- raise_exception("Invalid user message: " + message.role) -}}
|
| 213 |
+
{%- endif -%}
|
| 214 |
+
{{ end_user_token }}
|
| 215 |
+
{%- endif -%}
|
| 216 |
+
{%- elif message.role == 'assistant' -%}
|
| 217 |
+
{%- if not ns.in_assistant -%}
|
| 218 |
+
{{ assistant_token }}
|
| 219 |
+
{%- set ns.in_assistant = true -%}
|
| 220 |
+
{%- endif -%}
|
| 221 |
+
{%- if "content" in message -%}
|
| 222 |
+
{%- if message.content is string and (ns.assistant_format is none or ns.assistant_format == "string") -%}
|
| 223 |
+
{%- if ns.in_tool -%}
|
| 224 |
+
{{ ']' }}
|
| 225 |
+
{%- set ns.in_tool = false -%}
|
| 226 |
+
{%- endif -%}
|
| 227 |
+
{%- set ns.assistant_format = "string" -%}
|
| 228 |
+
{{ message.content }}
|
| 229 |
+
{%- elif message.content is mapping and "blocks" in message.content and (ns.assistant_format is none or ns.assistant_format == "mapping") -%}
|
| 230 |
+
{%- set ns.assistant_format = "mapping" -%}
|
| 231 |
+
{%- set blocks = message.content.blocks -%}
|
| 232 |
+
{%- for block in blocks -%}
|
| 233 |
+
{%- if block.type == 'thoughts' -%}
|
| 234 |
+
{%- if ns.in_tool -%}
|
| 235 |
+
{{ ']' }}
|
| 236 |
+
{%- set ns.in_tool = false -%}
|
| 237 |
+
{%- endif -%}
|
| 238 |
+
{%- if not ns.in_inner -%}
|
| 239 |
+
{%- set ns.in_inner = true -%}
|
| 240 |
+
{{ inner_token }}
|
| 241 |
+
{%- endif -%}
|
| 242 |
+
{{ block.text }}
|
| 243 |
+
{%- elif block.type == 'tool_calls' -%}
|
| 244 |
+
{%- if ns.in_tool -%}
|
| 245 |
+
{{ ']' }}
|
| 246 |
+
{%- set ns.in_tool = false -%}
|
| 247 |
+
{%- endif -%}
|
| 248 |
+
{%- if ns.in_inner and not loop.first and block.calls|length == 1 and block.calls[0].name == 'display_answers' -%}
|
| 249 |
+
{%- set ns.in_inner = false -%}
|
| 250 |
+
{{ outer_token }}
|
| 251 |
+
{%- endif -%}
|
| 252 |
+
{{ tool_calls_token + '[' }}
|
| 253 |
+
{%- for tool_call in block.calls -%}
|
| 254 |
+
{{- '{"' + tool_call.name + '": ' + tool_call.arguments + '}' }}
|
| 255 |
+
{%- if not loop.last -%}
|
| 256 |
+
{{- ", " }}
|
| 257 |
+
{%- endif -%}
|
| 258 |
+
{%- endfor -%}
|
| 259 |
+
{{ ']' + end_tool_calls_token }}
|
| 260 |
+
{%- elif block.type == 'tool_outputs' -%}
|
| 261 |
+
{%- if ns.in_tool -%}
|
| 262 |
+
{{- raise_exception("Cannot have both tool outputs as separate messages and tool outputs as blocks") -}}
|
| 263 |
+
{%- endif -%}
|
| 264 |
+
{{ '[' }}
|
| 265 |
+
{%- for tool_output in block.outputs -%}
|
| 266 |
+
{{- tool_output.output }}
|
| 267 |
+
{%- if not loop.last -%}
|
| 268 |
+
{{- ", " }}
|
| 269 |
+
{%- endif -%}
|
| 270 |
+
{%- endfor -%}
|
| 271 |
+
{{- ']' }}
|
| 272 |
+
{%- elif block.type == 'response' -%}
|
| 273 |
+
{%- if ns.in_tool -%}
|
| 274 |
+
{{ ']' }}
|
| 275 |
+
{%- set ns.in_tool = false -%}
|
| 276 |
+
{%- endif -%}
|
| 277 |
+
{%- if (not loop.first and ns.in_inner) or (ns.in_assistant and ns.in_inner) -%}
|
| 278 |
+
{%- set ns.in_inner = false -%}
|
| 279 |
+
{{ outer_token }}
|
| 280 |
+
{%- endif -%}
|
| 281 |
+
{{ block.text }}
|
| 282 |
+
{%- else -%}
|
| 283 |
+
{{- raise_exception("Invalid assistant block type: " + block.type) -}}
|
| 284 |
+
{%- endif -%}
|
| 285 |
+
{%- endfor -%}
|
| 286 |
+
{%- else -%}
|
| 287 |
+
{{- raise_exception("Invalid assistant content") -}}
|
| 288 |
+
{%- endif -%}
|
| 289 |
+
{%- else -%}
|
| 290 |
+
{{- raise_exception("Invalid assistant message") -}}
|
| 291 |
+
{%- endif -%}
|
| 292 |
+
{%- if "tool_calls" in message and message.tool_calls -%}
|
| 293 |
+
{{ tool_calls_token + '[' }}
|
| 294 |
+
{%- for tool_call in message.tool_calls -%}
|
| 295 |
+
{%- if tool_call.type == 'function' -%}
|
| 296 |
+
{%- set function = tool_call.function -%}
|
| 297 |
+
{{- '{"' + function.name + '": ' + function.arguments + '}' }}
|
| 298 |
+
{%- if not loop.last -%}
|
| 299 |
+
{{- ", " }}
|
| 300 |
+
{%- endif -%}
|
| 301 |
+
{%- else -%}
|
| 302 |
+
{{- raise_exception("Invalid tool call type: " + tool_call.type) -}}
|
| 303 |
+
{%- endif -%}
|
| 304 |
+
{%- endfor -%}
|
| 305 |
+
{{ ']' + end_tool_calls_token }}
|
| 306 |
+
{%- endif -%}
|
| 307 |
+
{%- elif message.role == 'tool' -%}
|
| 308 |
+
{%- if not ns.in_assistant -%}
|
| 309 |
+
{{- raise_exception("Tool message outside of assistant") -}}
|
| 310 |
+
{%- endif -%}
|
| 311 |
+
{%- if not ns.in_tool -%}
|
| 312 |
+
{{ '[' }}
|
| 313 |
+
{%- set ns.in_tool = true -%}
|
| 314 |
+
{%- else -%}
|
| 315 |
+
{{ ", "}}
|
| 316 |
+
{%- endif -%}
|
| 317 |
+
{{ message.content }}
|
| 318 |
+
{%- else -%}
|
| 319 |
+
{{- raise_exception("Invalid message role") -}}
|
| 320 |
+
{%- endif -%}
|
| 321 |
+
{%- endfor -%}
|
| 322 |
+
{%- if ns.in_tool -%}
|
| 323 |
+
{{ ']' }}
|
| 324 |
+
{%- endif -%}
|
| 325 |
+
{%- if add_generation_prompt -%}
|
| 326 |
+
{{ assistant_token }}
|
| 327 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ApertusForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 68,
|
| 10 |
+
"hidden_act": "xielu",
|
| 11 |
+
"hidden_dropout": 0.0,
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 21504,
|
| 15 |
+
"max_position_embeddings": 65536,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "apertus",
|
| 18 |
+
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 32,
|
| 20 |
+
"num_key_value_heads": 8,
|
| 21 |
+
"pad_token_id": 3,
|
| 22 |
+
"post_norm": false,
|
| 23 |
+
"qk_norm": true,
|
| 24 |
+
"rms_norm_eps": 1e-05,
|
| 25 |
+
"rope_scaling": {
|
| 26 |
+
"factor": 8.0,
|
| 27 |
+
"high_freq_factor": 4.0,
|
| 28 |
+
"low_freq_factor": 1.0,
|
| 29 |
+
"original_max_position_embeddings": 8192,
|
| 30 |
+
"rope_type": "llama3",
|
| 31 |
+
"type": "llama3"
|
| 32 |
+
},
|
| 33 |
+
"rope_theta": 12000000,
|
| 34 |
+
"tie_word_embeddings": false,
|
| 35 |
+
"transformers_version": "4.56.0.dev0",
|
| 36 |
+
"use_cache": false,
|
| 37 |
+
"vocab_size": 131072
|
| 38 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": [2, 68, 72],
|
| 5 |
+
"transformers_version": "4.54.0.dev0"
|
| 6 |
+
}
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36fcf8ce7cfbfcfca9273035d9040edffee7f9e1622d29eece61c9fe0ad8ac51
|
| 3 |
+
size 5259824750
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6bc8ac5913fe0e9b04eed8ece00be709c688d742671a18fd521572bcc9a4df2e
|
| 3 |
+
size 5234713015
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a796d03b186166f652d38533819cd14518ac6cc45120a811786ffe998ede8d4c
|
| 3 |
+
size 4538447086
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fe8663058b35beed5c4408547e2929861d40586e2029c3a6a43aaa75fb5fd48
|
| 3 |
+
size 1073741951
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 16106676480,
|
| 4 |
+
"total_parameters": 8053338240
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 8 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.0.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.1.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.layers.1.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.layers.1.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 32 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 33 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 34 |
+
"model.layers.1.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 35 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 36 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 37 |
+
"model.layers.10.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.layers.10.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.layers.10.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.layers.10.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.layers.10.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.layers.10.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.layers.10.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.layers.10.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.layers.11.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.layers.11.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.layers.11.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.11.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.11.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.11.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.12.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.12.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.12.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.12.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.12.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.12.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.12.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.12.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.13.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.13.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.layers.13.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.layers.13.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.13.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.13.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.13.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.layers.13.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.layers.14.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.layers.14.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.layers.14.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.layers.14.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.layers.14.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.layers.14.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.14.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.14.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.layers.15.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 108 |
+
"model.layers.15.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 109 |
+
"model.layers.15.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.layers.15.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.15.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.layers.15.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 118 |
+
"model.layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 119 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 120 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 121 |
+
"model.layers.16.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 122 |
+
"model.layers.16.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 123 |
+
"model.layers.16.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 124 |
+
"model.layers.16.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 125 |
+
"model.layers.16.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 126 |
+
"model.layers.16.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 127 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 128 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 129 |
+
"model.layers.16.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 130 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 131 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 132 |
+
"model.layers.16.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 133 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 134 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 135 |
+
"model.layers.17.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 136 |
+
"model.layers.17.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 137 |
+
"model.layers.17.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 138 |
+
"model.layers.17.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 139 |
+
"model.layers.17.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 140 |
+
"model.layers.17.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 141 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 142 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 143 |
+
"model.layers.17.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 144 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 145 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 146 |
+
"model.layers.17.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 147 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 148 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 149 |
+
"model.layers.18.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 150 |
+
"model.layers.18.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 151 |
+
"model.layers.18.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 152 |
+
"model.layers.18.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 153 |
+
"model.layers.18.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 154 |
+
"model.layers.18.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 155 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 156 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 157 |
+
"model.layers.18.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 158 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 159 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 160 |
+
"model.layers.18.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 161 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 162 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 163 |
+
"model.layers.19.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 164 |
+
"model.layers.19.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 165 |
+
"model.layers.19.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 166 |
+
"model.layers.19.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 167 |
+
"model.layers.19.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 168 |
+
"model.layers.19.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 169 |
+
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 170 |
+
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 171 |
+
"model.layers.19.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 172 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 173 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 174 |
+
"model.layers.19.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 175 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 176 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 177 |
+
"model.layers.2.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 178 |
+
"model.layers.2.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 179 |
+
"model.layers.2.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 180 |
+
"model.layers.2.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 181 |
+
"model.layers.2.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 182 |
+
"model.layers.2.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 183 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 184 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 185 |
+
"model.layers.2.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 186 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 187 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 188 |
+
"model.layers.2.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 189 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 190 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 191 |
+
"model.layers.20.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 192 |
+
"model.layers.20.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 193 |
+
"model.layers.20.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 194 |
+
"model.layers.20.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 195 |
+
"model.layers.20.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 196 |
+
"model.layers.20.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 197 |
+
"model.layers.20.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 198 |
+
"model.layers.20.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 199 |
+
"model.layers.20.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 200 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 201 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 202 |
+
"model.layers.20.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 203 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 204 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 205 |
+
"model.layers.21.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.layers.21.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.layers.21.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.layers.21.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.layers.21.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.layers.21.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.layers.21.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 213 |
+
"model.layers.21.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
|
| 214 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 215 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 216 |
+
"model.layers.21.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
|
| 217 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 218 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 219 |
+
"model.layers.22.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.layers.22.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.layers.22.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.layers.22.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.layers.22.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.layers.22.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.layers.22.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.layers.22.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.layers.23.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.layers.23.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.layers.23.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.layers.23.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.layers.23.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 238 |
+
"model.layers.23.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 242 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.layers.24.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.layers.24.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.layers.24.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 250 |
+
"model.layers.24.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 251 |
+
"model.layers.24.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 252 |
+
"model.layers.24.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 253 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 254 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 255 |
+
"model.layers.24.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 256 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 257 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 258 |
+
"model.layers.24.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 259 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 260 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 261 |
+
"model.layers.25.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 262 |
+
"model.layers.25.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 263 |
+
"model.layers.25.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 264 |
+
"model.layers.25.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 265 |
+
"model.layers.25.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 266 |
+
"model.layers.25.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 267 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 268 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 269 |
+
"model.layers.25.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 270 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 271 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 272 |
+
"model.layers.25.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 273 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 274 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 275 |
+
"model.layers.26.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 276 |
+
"model.layers.26.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 277 |
+
"model.layers.26.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 278 |
+
"model.layers.26.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 279 |
+
"model.layers.26.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 280 |
+
"model.layers.26.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 281 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 282 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 283 |
+
"model.layers.26.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 284 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 285 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 286 |
+
"model.layers.26.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 287 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 288 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 289 |
+
"model.layers.27.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 290 |
+
"model.layers.27.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 291 |
+
"model.layers.27.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 292 |
+
"model.layers.27.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 293 |
+
"model.layers.27.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 294 |
+
"model.layers.27.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 295 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 296 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 297 |
+
"model.layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 298 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 299 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 300 |
+
"model.layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 301 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 302 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 303 |
+
"model.layers.28.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 304 |
+
"model.layers.28.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 305 |
+
"model.layers.28.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 306 |
+
"model.layers.28.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 307 |
+
"model.layers.28.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 308 |
+
"model.layers.28.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 309 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 310 |
+
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 311 |
+
"model.layers.28.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 312 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 313 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 314 |
+
"model.layers.28.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 315 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 316 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 317 |
+
"model.layers.29.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 318 |
+
"model.layers.29.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 319 |
+
"model.layers.29.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 320 |
+
"model.layers.29.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 321 |
+
"model.layers.29.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 322 |
+
"model.layers.29.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 323 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 324 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 325 |
+
"model.layers.29.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 326 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 327 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 328 |
+
"model.layers.29.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 329 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 330 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 331 |
+
"model.layers.3.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 332 |
+
"model.layers.3.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 333 |
+
"model.layers.3.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 334 |
+
"model.layers.3.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 335 |
+
"model.layers.3.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 336 |
+
"model.layers.3.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 337 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 338 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 339 |
+
"model.layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 340 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 341 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 342 |
+
"model.layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 343 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 344 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 345 |
+
"model.layers.30.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 346 |
+
"model.layers.30.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 347 |
+
"model.layers.30.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 348 |
+
"model.layers.30.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 349 |
+
"model.layers.30.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 350 |
+
"model.layers.30.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 351 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 352 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 353 |
+
"model.layers.30.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 354 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 355 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 356 |
+
"model.layers.30.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 357 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 358 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 359 |
+
"model.layers.31.attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 360 |
+
"model.layers.31.feedforward_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 361 |
+
"model.layers.31.mlp.act_fn.alpha_n": "model-00003-of-00004.safetensors",
|
| 362 |
+
"model.layers.31.mlp.act_fn.alpha_p": "model-00003-of-00004.safetensors",
|
| 363 |
+
"model.layers.31.mlp.act_fn.beta": "model-00003-of-00004.safetensors",
|
| 364 |
+
"model.layers.31.mlp.act_fn.eps": "model-00003-of-00004.safetensors",
|
| 365 |
+
"model.layers.31.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 366 |
+
"model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 367 |
+
"model.layers.31.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
|
| 368 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 369 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 370 |
+
"model.layers.31.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
|
| 371 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 372 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 373 |
+
"model.layers.4.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 374 |
+
"model.layers.4.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 375 |
+
"model.layers.4.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 376 |
+
"model.layers.4.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 377 |
+
"model.layers.4.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 378 |
+
"model.layers.4.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 379 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 380 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 381 |
+
"model.layers.4.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 382 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 383 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 384 |
+
"model.layers.4.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 385 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 386 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 387 |
+
"model.layers.5.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 388 |
+
"model.layers.5.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 389 |
+
"model.layers.5.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 390 |
+
"model.layers.5.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 391 |
+
"model.layers.5.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 392 |
+
"model.layers.5.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 393 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 394 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 395 |
+
"model.layers.5.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 396 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 397 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 398 |
+
"model.layers.5.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 399 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 400 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 401 |
+
"model.layers.6.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 402 |
+
"model.layers.6.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 403 |
+
"model.layers.6.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 404 |
+
"model.layers.6.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 405 |
+
"model.layers.6.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 406 |
+
"model.layers.6.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 407 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 408 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 409 |
+
"model.layers.6.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 410 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 411 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 412 |
+
"model.layers.6.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 413 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 414 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 415 |
+
"model.layers.7.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 416 |
+
"model.layers.7.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 417 |
+
"model.layers.7.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 418 |
+
"model.layers.7.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 419 |
+
"model.layers.7.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 420 |
+
"model.layers.7.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 421 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 422 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 423 |
+
"model.layers.7.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 424 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 425 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 426 |
+
"model.layers.7.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 427 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 428 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 429 |
+
"model.layers.8.attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 430 |
+
"model.layers.8.feedforward_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 431 |
+
"model.layers.8.mlp.act_fn.alpha_n": "model-00001-of-00004.safetensors",
|
| 432 |
+
"model.layers.8.mlp.act_fn.alpha_p": "model-00001-of-00004.safetensors",
|
| 433 |
+
"model.layers.8.mlp.act_fn.beta": "model-00001-of-00004.safetensors",
|
| 434 |
+
"model.layers.8.mlp.act_fn.eps": "model-00001-of-00004.safetensors",
|
| 435 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 436 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 437 |
+
"model.layers.8.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 438 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 439 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 440 |
+
"model.layers.8.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 441 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 442 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 443 |
+
"model.layers.9.attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 444 |
+
"model.layers.9.feedforward_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 445 |
+
"model.layers.9.mlp.act_fn.alpha_n": "model-00002-of-00004.safetensors",
|
| 446 |
+
"model.layers.9.mlp.act_fn.alpha_p": "model-00002-of-00004.safetensors",
|
| 447 |
+
"model.layers.9.mlp.act_fn.beta": "model-00002-of-00004.safetensors",
|
| 448 |
+
"model.layers.9.mlp.act_fn.eps": "model-00002-of-00004.safetensors",
|
| 449 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 450 |
+
"model.layers.9.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 451 |
+
"model.layers.9.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
|
| 452 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 453 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 454 |
+
"model.layers.9.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
|
| 455 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 456 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 457 |
+
"model.norm.weight": "model-00003-of-00004.safetensors"
|
| 458 |
+
}
|
| 459 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|assistant_end|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d5f2074cd9c771f2d3f35a75ea4c86886ac629fa40580128a1f66c9acb58cc0
|
| 3 |
+
size 17078483
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|