Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- chat_template.jinja +389 -0
- chat_template.json +3 -0
- config.json +76 -0
- generation_config.json +10 -0
- metal/model.bin +3 -0
- model-00000-of-00002.safetensors +3 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +1 -0
- original/config.json +1 -0
- original/dtypes.json +1 -0
- original/model.safetensors +3 -0
- special_tokens_map.json +5 -0
- tokenizer.json +3 -0
- tokenizer_config.json +183 -0
    	
        .gitattributes
    CHANGED
    
    | @@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text | |
| 33 | 
             
            *.zip filter=lfs diff=lfs merge=lfs -text
         | 
| 34 | 
             
            *.zst filter=lfs diff=lfs merge=lfs -text
         | 
| 35 | 
             
            *tfevents* filter=lfs diff=lfs merge=lfs -text
         | 
|  | 
|  | |
| 33 | 
             
            *.zip filter=lfs diff=lfs merge=lfs -text
         | 
| 34 | 
             
            *.zst filter=lfs diff=lfs merge=lfs -text
         | 
| 35 | 
             
            *tfevents* filter=lfs diff=lfs merge=lfs -text
         | 
| 36 | 
            +
            tokenizer.json filter=lfs diff=lfs merge=lfs -text
         | 
    	
        chat_template.jinja
    ADDED
    
    | @@ -0,0 +1,389 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {#-
         | 
| 2 | 
            +
              In addition to the normal inputs of `messages` and `tools`, this template also accepts the
         | 
| 3 | 
            +
              following kwargs:
         | 
| 4 | 
            +
              - "builtin_tools": A list, can contain "browser" and/or "python".
         | 
| 5 | 
            +
              - "model_identity": A string that optionally describes the model identity.
         | 
| 6 | 
            +
              - "reasoning_effort": A string that describes the reasoning effort, defaults to "medium".
         | 
| 7 | 
            +
             #}
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            {#- Tool Definition Rendering ============================================== #}
         | 
| 10 | 
            +
            {%- macro render_typescript_type(param_spec, required_params, is_nullable=false) -%}
         | 
| 11 | 
            +
                {%- if param_spec.type == "array" -%}
         | 
| 12 | 
            +
                    {%- if param_spec['items'] -%}
         | 
| 13 | 
            +
                        {%- if param_spec['items']['type'] == "string" -%}
         | 
| 14 | 
            +
                            {{- "string[]" }}
         | 
| 15 | 
            +
                        {%- elif param_spec['items']['type'] == "number" -%}
         | 
| 16 | 
            +
                            {{- "number[]" }}
         | 
| 17 | 
            +
                        {%- elif param_spec['items']['type'] == "integer" -%}
         | 
| 18 | 
            +
                            {{- "number[]" }}
         | 
| 19 | 
            +
                        {%- elif param_spec['items']['type'] == "boolean" -%}
         | 
| 20 | 
            +
                            {{- "boolean[]" }}
         | 
| 21 | 
            +
                        {%- else -%}
         | 
| 22 | 
            +
                            {%- set inner_type = render_typescript_type(param_spec['items'], required_params) -%}
         | 
| 23 | 
            +
                            {%- if inner_type == "object | object" or inner_type|length > 50 -%}
         | 
| 24 | 
            +
                                {{- "any[]" }}
         | 
| 25 | 
            +
                            {%- else -%}
         | 
| 26 | 
            +
                                {{- inner_type + "[]" }}
         | 
| 27 | 
            +
                            {%- endif -%}
         | 
| 28 | 
            +
                        {%- endif -%}
         | 
| 29 | 
            +
                        {%- if param_spec.nullable -%}
         | 
| 30 | 
            +
                            {{- " | null" }}
         | 
| 31 | 
            +
                        {%- endif -%}
         | 
| 32 | 
            +
                    {%- else -%}
         | 
| 33 | 
            +
                        {{- "any[]" }}
         | 
| 34 | 
            +
                        {%- if param_spec.nullable -%}
         | 
| 35 | 
            +
                            {{- " | null" }}
         | 
| 36 | 
            +
                        {%- endif -%}
         | 
| 37 | 
            +
                    {%- endif -%}
         | 
| 38 | 
            +
                {%- 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 -%}
         | 
| 39 | 
            +
                    {#- Handle array of types like ["object", "object"] from Union[dict, list] #}
         | 
| 40 | 
            +
                    {%- if param_spec.type | length > 1 -%}
         | 
| 41 | 
            +
                        {{- param_spec.type | join(" | ") }}
         | 
| 42 | 
            +
                    {%- else -%}
         | 
| 43 | 
            +
                        {{- param_spec.type[0] }}
         | 
| 44 | 
            +
                    {%- endif -%}
         | 
| 45 | 
            +
                {%- elif param_spec.oneOf -%}
         | 
| 46 | 
            +
                    {#- Handle oneOf schemas - check for complex unions and fallback to any #}
         | 
| 47 | 
            +
                    {%- set has_object_variants = false -%}
         | 
| 48 | 
            +
                    {%- for variant in param_spec.oneOf -%}
         | 
| 49 | 
            +
                        {%- if variant.type == "object" -%}
         | 
| 50 | 
            +
                            {%- set has_object_variants = true -%}
         | 
| 51 | 
            +
                        {%- endif -%}
         | 
| 52 | 
            +
                    {%- endfor -%}
         | 
| 53 | 
            +
                    {%- if has_object_variants and param_spec.oneOf|length > 1 -%}
         | 
| 54 | 
            +
                        {{- "any" }}
         | 
| 55 | 
            +
                    {%- else -%}
         | 
| 56 | 
            +
                        {%- for variant in param_spec.oneOf -%}
         | 
| 57 | 
            +
                            {{- render_typescript_type(variant, required_params) -}}
         | 
| 58 | 
            +
                            {%- if variant.description %}
         | 
| 59 | 
            +
                                {{- "// " + variant.description }}
         | 
| 60 | 
            +
                            {%- endif -%}
         | 
| 61 | 
            +
                            {%- if variant.default is defined %}
         | 
| 62 | 
            +
                                {{ "// default: " + variant.default|tojson }}
         | 
| 63 | 
            +
                            {%- endif -%}
         | 
| 64 | 
            +
                            {%- if not loop.last %}
         | 
| 65 | 
            +
                                {{- " | " }}
         | 
| 66 | 
            +
                            {% endif -%}
         | 
| 67 | 
            +
                        {%- endfor -%}
         | 
| 68 | 
            +
                    {%- endif -%}
         | 
| 69 | 
            +
                {%- elif param_spec.type == "string" -%}
         | 
| 70 | 
            +
                    {%- if param_spec.enum -%}
         | 
| 71 | 
            +
                        {{- '"' + param_spec.enum|join('" | "') + '"' -}}
         | 
| 72 | 
            +
                    {%- else -%}
         | 
| 73 | 
            +
                        {{- "string" }}
         | 
| 74 | 
            +
                        {%- if param_spec.nullable %}
         | 
| 75 | 
            +
                            {{- " | null" }}
         | 
| 76 | 
            +
                        {%- endif -%}
         | 
| 77 | 
            +
                    {%- endif -%}
         | 
| 78 | 
            +
                {%- elif param_spec.type == "number" -%}
         | 
| 79 | 
            +
                    {{- "number" }}
         | 
| 80 | 
            +
                {%- elif param_spec.type == "integer" -%}
         | 
| 81 | 
            +
                    {{- "number" }}
         | 
| 82 | 
            +
                {%- elif param_spec.type == "boolean" -%}
         | 
| 83 | 
            +
                    {{- "boolean" }}
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                {%- elif param_spec.type == "object" -%}
         | 
| 86 | 
            +
                    {%- if param_spec.properties -%}
         | 
| 87 | 
            +
                        {{- "{
         | 
| 88 | 
            +
            " }}
         | 
| 89 | 
            +
                        {%- for prop_name, prop_spec in param_spec.properties.items() -%}
         | 
| 90 | 
            +
                            {{- prop_name -}}
         | 
| 91 | 
            +
                            {%- if prop_name not in (param_spec.required or []) -%}
         | 
| 92 | 
            +
                                {{- "?" }}
         | 
| 93 | 
            +
                            {%- endif -%}
         | 
| 94 | 
            +
                            {{- ": " }}
         | 
| 95 | 
            +
                            {{ render_typescript_type(prop_spec, param_spec.required or []) }}
         | 
| 96 | 
            +
                            {%- if not loop.last -%}
         | 
| 97 | 
            +
                                {{-", " }}
         | 
| 98 | 
            +
                            {%- endif -%}
         | 
| 99 | 
            +
                        {%- endfor -%}
         | 
| 100 | 
            +
                        {{- "}" }}
         | 
| 101 | 
            +
                    {%- else -%}
         | 
| 102 | 
            +
                        {{- "object" }}
         | 
| 103 | 
            +
                    {%- endif -%}
         | 
| 104 | 
            +
                {%- else -%}
         | 
| 105 | 
            +
                    {{- "any" }}
         | 
| 106 | 
            +
                {%- endif -%}
         | 
| 107 | 
            +
            {%- endmacro -%}
         | 
| 108 | 
            +
             | 
| 109 | 
            +
            {%- macro render_tool_namespace(namespace_name, tools) -%}
         | 
| 110 | 
            +
                {{- "## " + namespace_name + "
         | 
| 111 | 
            +
             | 
| 112 | 
            +
            " }}
         | 
| 113 | 
            +
                {{- "namespace " + namespace_name + " {
         | 
| 114 | 
            +
             | 
| 115 | 
            +
            " }}
         | 
| 116 | 
            +
                {%- for tool in tools %}
         | 
| 117 | 
            +
                    {%- set tool = tool.function %}
         | 
| 118 | 
            +
                    {{- "// " + tool.description + "
         | 
| 119 | 
            +
            " }}
         | 
| 120 | 
            +
                    {{- "type "+ tool.name + " = (" }}
         | 
| 121 | 
            +
                    {%- if tool.parameters and tool.parameters.properties -%}
         | 
| 122 | 
            +
                        {{- "_: " }}
         | 
| 123 | 
            +
                        {{- "{
         | 
| 124 | 
            +
            " }}
         | 
| 125 | 
            +
                        {%- for param_name, param_spec in tool.parameters.properties.items() %}
         | 
| 126 | 
            +
                            {{- "// " + param_spec.description + "
         | 
| 127 | 
            +
            " }}
         | 
| 128 | 
            +
                            {{- param_name }}
         | 
| 129 | 
            +
                            {%- if param_name not in (tool.parameters.required or []) -%}
         | 
| 130 | 
            +
                                {{- "?" }}
         | 
| 131 | 
            +
                            {%- endif -%}
         | 
| 132 | 
            +
                            {{- ": " }}
         | 
| 133 | 
            +
                            {{- render_typescript_type(param_spec, tool.parameters.required or []) }}
         | 
| 134 | 
            +
                            {%- if param_spec.default is defined -%}
         | 
| 135 | 
            +
                                {%- if param_spec.oneOf %}
         | 
| 136 | 
            +
                                    {{- "// default: " + param_spec.default }}
         | 
| 137 | 
            +
                                {%- else %}
         | 
| 138 | 
            +
                                    {{- ", // default: " + param_spec.default|tojson }}
         | 
| 139 | 
            +
                                {%- endif -%}
         | 
| 140 | 
            +
                            {%- endif -%}
         | 
| 141 | 
            +
                            {%- if not loop.last %}
         | 
| 142 | 
            +
                                {{- ",
         | 
| 143 | 
            +
            " }}
         | 
| 144 | 
            +
                            {%- endif -%}
         | 
| 145 | 
            +
                        {%- endfor %}
         | 
| 146 | 
            +
                        {{- ",
         | 
| 147 | 
            +
            }) => any;
         | 
| 148 | 
            +
            " }}
         | 
| 149 | 
            +
                    {%- else -%}
         | 
| 150 | 
            +
                        {{- "
         | 
| 151 | 
            +
            }) => any;
         | 
| 152 | 
            +
            " }}
         | 
| 153 | 
            +
                    {%- endif -%}
         | 
| 154 | 
            +
                {%- endfor %}
         | 
| 155 | 
            +
                {{- "
         | 
| 156 | 
            +
            } // namespace " + namespace_name }}
         | 
| 157 | 
            +
            {%- endmacro -%}
         | 
| 158 | 
            +
             | 
| 159 | 
            +
            {%- macro render_builtin_tools(browser_tool, python_tool) -%}
         | 
| 160 | 
            +
                {%- if browser_tool %}
         | 
| 161 | 
            +
                    {{- "## browser
         | 
| 162 | 
            +
             | 
| 163 | 
            +
            " }}
         | 
| 164 | 
            +
                    {{- "// Tool for browsing.
         | 
| 165 | 
            +
            " }}
         | 
| 166 | 
            +
                    {{- "// The `cursor` appears in brackets before each browsing display: `[{cursor}]`.
         | 
| 167 | 
            +
            " }}
         | 
| 168 | 
            +
                    {{- "// Cite information from the tool using the following format:
         | 
| 169 | 
            +
            " }}
         | 
| 170 | 
            +
                    {{- "// `【{cursor}†L{line_start}(-L{line_end})?】`, for example: `【6†L9-L11】` or `【8†L3】`.
         | 
| 171 | 
            +
            " }}
         | 
| 172 | 
            +
                    {{- "// Do not quote more than 10 words directly from the tool output.
         | 
| 173 | 
            +
            " }}
         | 
| 174 | 
            +
                    {{- "// sources=web (default: web)
         | 
| 175 | 
            +
            " }}
         | 
| 176 | 
            +
                    {{- "namespace browser {
         | 
| 177 | 
            +
             | 
| 178 | 
            +
            " }}
         | 
| 179 | 
            +
                    {{- "// Searches for information related to `query` and displays `topn` results.
         | 
| 180 | 
            +
            " }}
         | 
| 181 | 
            +
                    {{- "type search = (_: {
         | 
| 182 | 
            +
            " }}
         | 
| 183 | 
            +
                    {{- "query: string,
         | 
| 184 | 
            +
            " }}
         | 
| 185 | 
            +
                    {{- "topn?: number, // default: 10
         | 
| 186 | 
            +
            " }}
         | 
| 187 | 
            +
                    {{- "source?: string,
         | 
| 188 | 
            +
            " }}
         | 
| 189 | 
            +
                    {{- "}) => any;
         | 
| 190 | 
            +
             | 
| 191 | 
            +
            " }}
         | 
| 192 | 
            +
                    {{- "// Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.
         | 
| 193 | 
            +
            " }}
         | 
| 194 | 
            +
                    {{- "// Valid link ids are displayed with the formatting: `【{id}†.*】`.
         | 
| 195 | 
            +
            " }}
         | 
| 196 | 
            +
                    {{- "// If `cursor` is not provided, the most recent page is implied.
         | 
| 197 | 
            +
            " }}
         | 
| 198 | 
            +
                    {{- "// If `id` is a string, it is treated as a fully qualified URL associated with `source`.
         | 
| 199 | 
            +
            " }}
         | 
| 200 | 
            +
                    {{- "// If `loc` is not provided, the viewport will be positioned at the beginning of the document or centered on the most relevant passage, if available.
         | 
| 201 | 
            +
            " }}
         | 
| 202 | 
            +
                    {{- "// Use this function without `id` to scroll to a new location of an opened page.
         | 
| 203 | 
            +
            " }}
         | 
| 204 | 
            +
                    {{- "type open = (_: {
         | 
| 205 | 
            +
            " }}
         | 
| 206 | 
            +
                    {{- "id?: number | string, // default: -1
         | 
| 207 | 
            +
            " }}
         | 
| 208 | 
            +
                    {{- "cursor?: number, // default: -1
         | 
| 209 | 
            +
            " }}
         | 
| 210 | 
            +
                    {{- "loc?: number, // default: -1
         | 
| 211 | 
            +
            " }}
         | 
| 212 | 
            +
                    {{- "num_lines?: number, // default: -1
         | 
| 213 | 
            +
            " }}
         | 
| 214 | 
            +
                    {{- "view_source?: boolean, // default: false
         | 
| 215 | 
            +
            " }}
         | 
| 216 | 
            +
                    {{- "source?: string,
         | 
| 217 | 
            +
            " }}
         | 
| 218 | 
            +
                    {{- "}) => any;
         | 
| 219 | 
            +
             | 
| 220 | 
            +
            " }}
         | 
| 221 | 
            +
                    {{- "// Finds exact matches of `pattern` in the current page, or the page given by `cursor`.
         | 
| 222 | 
            +
            " }}
         | 
| 223 | 
            +
                    {{- "type find = (_: {
         | 
| 224 | 
            +
            " }}
         | 
| 225 | 
            +
                    {{- "pattern: string,
         | 
| 226 | 
            +
            " }}
         | 
| 227 | 
            +
                    {{- "cursor?: number, // default: -1
         | 
| 228 | 
            +
            " }}
         | 
| 229 | 
            +
                    {{- "}) => any;
         | 
| 230 | 
            +
             | 
| 231 | 
            +
            " }}
         | 
| 232 | 
            +
                    {{- "} // namespace browser
         | 
| 233 | 
            +
             | 
| 234 | 
            +
            " }}
         | 
| 235 | 
            +
                {%- endif -%}
         | 
| 236 | 
            +
             | 
| 237 | 
            +
                {%- if python_tool %}
         | 
| 238 | 
            +
                    {{- "## python
         | 
| 239 | 
            +
             | 
| 240 | 
            +
            " }}
         | 
| 241 | 
            +
                    {{- "Use this tool to execute Python code in your chain of thought. The code will not be shown to the user. This tool should be used for internal reasoning, but not for code that is intended to be visible to the user (e.g. when creating plots, tables, or files).
         | 
| 242 | 
            +
             | 
| 243 | 
            +
            " }}
         | 
| 244 | 
            +
                    {{- "When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.
         | 
| 245 | 
            +
             | 
| 246 | 
            +
            " }}
         | 
| 247 | 
            +
                {%- endif -%}
         | 
| 248 | 
            +
            {%- endmacro -%}
         | 
| 249 | 
            +
             | 
| 250 | 
            +
            {#- System Message Construction ============================================ #}
         | 
| 251 | 
            +
            {%- macro build_system_message() -%}
         | 
| 252 | 
            +
                {%- if model_identity is not defined %}
         | 
| 253 | 
            +
                    {%- set model_identity = "You are ChatGPT, a large language model trained by OpenAI." %}
         | 
| 254 | 
            +
                {%- endif %}
         | 
| 255 | 
            +
                {{- model_identity + "
         | 
| 256 | 
            +
            " }}
         | 
| 257 | 
            +
                {{- "Knowledge cutoff: 2024-06
         | 
| 258 | 
            +
            " }}
         | 
| 259 | 
            +
                {{- "Current date: " + strftime_now("%Y-%m-%d") + "
         | 
| 260 | 
            +
             | 
| 261 | 
            +
            " }}
         | 
| 262 | 
            +
                {%- if reasoning_effort is not defined %}
         | 
| 263 | 
            +
                    {%- set reasoning_effort = "medium" %}
         | 
| 264 | 
            +
                {%- endif %}
         | 
| 265 | 
            +
                {{- "Reasoning: " + reasoning_effort + "
         | 
| 266 | 
            +
             | 
| 267 | 
            +
            " }}
         | 
| 268 | 
            +
                {%- if builtin_tools %}
         | 
| 269 | 
            +
                    {{- "# Tools
         | 
| 270 | 
            +
             | 
| 271 | 
            +
            " }}
         | 
| 272 | 
            +
                    {%- set available_builtin_tools = namespace(browser=false, python=false) %}
         | 
| 273 | 
            +
                    {%- for tool in builtin_tools %}
         | 
| 274 | 
            +
                        {%- if tool == "browser" %}
         | 
| 275 | 
            +
                            {%- set available_builtin_tools.browser = true %}
         | 
| 276 | 
            +
                        {%- elif tool == "python" %}
         | 
| 277 | 
            +
                            {%- set available_builtin_tools.python = true %}
         | 
| 278 | 
            +
                        {%- endif %}
         | 
| 279 | 
            +
                    {%- endfor %}
         | 
| 280 | 
            +
                    {{- render_builtin_tools(available_builtin_tools.browser, available_builtin_tools.python) }}
         | 
| 281 | 
            +
                {%- endif -%}
         | 
| 282 | 
            +
                {{- "# Valid channels: analysis, commentary, final. Channel must be included for every message.
         | 
| 283 | 
            +
            " }}
         | 
| 284 | 
            +
                {{- "Calls to these tools must go to the commentary channel: 'functions'." }}
         | 
| 285 | 
            +
            {%- endmacro -%}
         | 
| 286 | 
            +
             | 
| 287 | 
            +
            {#- Main Template Logic ================================================= #}
         | 
| 288 | 
            +
            {#- Set defaults #}
         | 
| 289 | 
            +
             | 
| 290 | 
            +
            {#- Render system message #}
         | 
| 291 | 
            +
            {{- "<|start|>system<|message|>" }}
         | 
| 292 | 
            +
            {{- build_system_message() }}
         | 
| 293 | 
            +
            {{- "<|end|>" }}
         | 
| 294 | 
            +
             | 
| 295 | 
            +
            {#- Extract developer message #}
         | 
| 296 | 
            +
            {%- if messages[0].role == "developer" or messages[0].role == "system" %}
         | 
| 297 | 
            +
                {%- set developer_message = messages[0].content %}
         | 
| 298 | 
            +
                {%- set loop_messages = messages[1:] %}
         | 
| 299 | 
            +
            {%- else %}
         | 
| 300 | 
            +
                {%- set developer_message = "" %}
         | 
| 301 | 
            +
                {%- set loop_messages = messages %}
         | 
| 302 | 
            +
            {%- endif %}
         | 
| 303 | 
            +
             | 
| 304 | 
            +
            {#- Render developer message #}
         | 
| 305 | 
            +
            {%- if developer_message or tools %}
         | 
| 306 | 
            +
                {{- "<|start|>developer<|message|>" }}
         | 
| 307 | 
            +
                {%- if developer_message %}
         | 
| 308 | 
            +
                    {{- "# Instructions
         | 
| 309 | 
            +
             | 
| 310 | 
            +
            " }}
         | 
| 311 | 
            +
                    {{- developer_message }}
         | 
| 312 | 
            +
                {%- endif %}
         | 
| 313 | 
            +
                {%- if tools -%}
         | 
| 314 | 
            +
                    {{- "
         | 
| 315 | 
            +
             | 
| 316 | 
            +
            " }}
         | 
| 317 | 
            +
                    {{- "# Tools
         | 
| 318 | 
            +
             | 
| 319 | 
            +
            " }}
         | 
| 320 | 
            +
                    {{- render_tool_namespace("functions", tools) }}
         | 
| 321 | 
            +
                {%- endif -%}
         | 
| 322 | 
            +
                {{- "<|end|>" }}
         | 
| 323 | 
            +
            {%- endif %}
         | 
| 324 | 
            +
             | 
| 325 | 
            +
            {#- Render messages #}
         | 
| 326 | 
            +
            {%- set last_tool_call = namespace(name=none) %}
         | 
| 327 | 
            +
            {%- for message in loop_messages -%}
         | 
| 328 | 
            +
                {#- At this point only assistant/user/tool messages should remain #}
         | 
| 329 | 
            +
                {%- if message.role == 'assistant' -%}
         | 
| 330 | 
            +
                    {#- Checks to ensure the messages are being passed in the format we expect #}
         | 
| 331 | 
            +
                    {%- if "content" in message %}
         | 
| 332 | 
            +
                        {%- if "<|channel|>analysis<|message|>" in message.content or "<|channel|>final<|message|>" in message.content %}
         | 
| 333 | 
            +
                            {{- raise_exception("You have passed a message containing <|channel|> tags in the content field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.") }}
         | 
| 334 | 
            +
                        {%- endif %}
         | 
| 335 | 
            +
                    {%- endif %}
         | 
| 336 | 
            +
                    {%- if "thinking" in message %}
         | 
| 337 | 
            +
                        {%- if "<|channel|>analysis<|message|>" in message.thinking or "<|channel|>final<|message|>" in message.thinking %}
         | 
| 338 | 
            +
                            {{- raise_exception("You have passed a message containing <|channel|> tags in the thinking field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.") }}
         | 
| 339 | 
            +
                        {%- endif %}
         | 
| 340 | 
            +
                    {%- endif %}
         | 
| 341 | 
            +
                    {%- if "tool_calls" in message %}
         | 
| 342 | 
            +
                        {#- We assume max 1 tool call per message, and so we infer the tool call name #}
         | 
| 343 | 
            +
                        {#- in "tool" messages from the most recent assistant tool call name #}
         | 
| 344 | 
            +
                        {%- set tool_call = message.tool_calls[0] %}
         | 
| 345 | 
            +
                        {%- if tool_call.function %}
         | 
| 346 | 
            +
                            {%- set tool_call = tool_call.function %}
         | 
| 347 | 
            +
                        {%- endif %}
         | 
| 348 | 
            +
                        {%- if message.content and message.thinking %}
         | 
| 349 | 
            +
                            {{- raise_exception("Cannot pass both content and thinking in an assistant message with tool calls! Put the analysis message in one or the other, but not both.") }}
         | 
| 350 | 
            +
                        {%- elif message.content %}
         | 
| 351 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.content + "<|end|>" }}
         | 
| 352 | 
            +
                        {%- elif message.thinking %}
         | 
| 353 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.thinking + "<|end|>" }}
         | 
| 354 | 
            +
                        {%- endif %}
         | 
| 355 | 
            +
                        {{- "<|start|>assistant to=" }}
         | 
| 356 | 
            +
                        {{- "functions." + tool_call.name + "<|channel|>commentary json<|message|>" }}
         | 
| 357 | 
            +
                        {{- tool_call.arguments|tojson }}
         | 
| 358 | 
            +
                        {{- "<|end|>" }}
         | 
| 359 | 
            +
                        {%- set last_tool_call.name = tool_call.name %}
         | 
| 360 | 
            +
                    {%- elif loop.last and not add_generation_prompt %}
         | 
| 361 | 
            +
                        {#- Only render the CoT if the final turn is an assistant turn and add_generation_prompt is false #}
         | 
| 362 | 
            +
                        {#- This is a situation that should only occur in training, never in inference. #}
         | 
| 363 | 
            +
                        {%- if "thinking" in message %}
         | 
| 364 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.thinking + "<|end|>" }}
         | 
| 365 | 
            +
                        {%- endif %}
         | 
| 366 | 
            +
                        {#- <|return|> indicates the end of generation, but <|end|> does not #}
         | 
| 367 | 
            +
                        {#- <|return|> should never be an input to the model, but we include it as the final token #}
         | 
| 368 | 
            +
                        {#- when training, so the model learns to emit it. #}
         | 
| 369 | 
            +
                        {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|return|>" }}
         | 
| 370 | 
            +
                    {%- else %}
         | 
| 371 | 
            +
                        {#- CoT is dropped during all previous turns, so we never render it for inference #}
         | 
| 372 | 
            +
                        {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|end|>" }}
         | 
| 373 | 
            +
                        {%- set last_tool_call.name = none %}
         | 
| 374 | 
            +
                    {%- endif %}
         | 
| 375 | 
            +
                {%- elif message.role == 'tool' -%}
         | 
| 376 | 
            +
                    {%- if last_tool_call.name is none %}
         | 
| 377 | 
            +
                        {{- raise_exception("Message has tool role, but there was no previous assistant message with a tool call!") }}
         | 
| 378 | 
            +
                    {%- endif %}
         | 
| 379 | 
            +
                    {{- "<|start|>functions." + last_tool_call.name }}
         | 
| 380 | 
            +
                    {{- " to=assistant<|channel|>commentary<|message|>" + message.content|tojson + "<|end|>" }}
         | 
| 381 | 
            +
                {%- elif message.role == 'user' -%}
         | 
| 382 | 
            +
                    {{- "<|start|>user<|message|>" + message.content + "<|end|>" }}
         | 
| 383 | 
            +
                {%- endif -%}
         | 
| 384 | 
            +
            {%- endfor -%}
         | 
| 385 | 
            +
             | 
| 386 | 
            +
            {#- Generation prompt #}
         | 
| 387 | 
            +
            {%- if add_generation_prompt -%}
         | 
| 388 | 
            +
            <|start|>assistant
         | 
| 389 | 
            +
            {%- endif -%}
         | 
    	
        chat_template.json
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "chat_template": "{#-\n  In addition to the normal inputs of `messages` and `tools`, this template also accepts the\n  following kwargs:\n  - \"builtin_tools\": A list, can contain \"browser\" and/or \"python\".\n  - \"model_identity\": A string that optionally describes the model identity.\n  - \"reasoning_effort\": A string that describes the reasoning effort, defaults to \"medium\".\n #}\n\n{#- Tool Definition Rendering ============================================== #}\n{%- macro render_typescript_type(param_spec, required_params, is_nullable=false) -%}\n    {%- if param_spec.type == \"array\" -%}\n        {%- if param_spec['items'] -%}\n            {%- if param_spec['items']['type'] == \"string\" -%}\n                {{- \"string[]\" }}\n            {%- elif param_spec['items']['type'] == \"number\" -%}\n                {{- \"number[]\" }}\n            {%- elif param_spec['items']['type'] == \"integer\" -%}\n                {{- \"number[]\" }}\n            {%- elif param_spec['items']['type'] == \"boolean\" -%}\n                {{- \"boolean[]\" }}\n            {%- else -%}\n                {%- set inner_type = render_typescript_type(param_spec['items'], required_params) -%}\n                {%- if inner_type == \"object | object\" or inner_type|length > 50 -%}\n                    {{- \"any[]\" }}\n                {%- else -%}\n                    {{- inner_type + \"[]\" }}\n                {%- endif -%}\n            {%- endif -%}\n            {%- if param_spec.nullable -%}\n                {{- \" | null\" }}\n            {%- endif -%}\n        {%- else -%}\n            {{- \"any[]\" }}\n            {%- if param_spec.nullable -%}\n                {{- \" | null\" }}\n            {%- endif -%}\n        {%- endif -%}\n    {%- 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 -%}\n        {#- Handle array of types like [\"object\", \"object\"] from Union[dict, list] #}\n        {%- if param_spec.type | length > 1 -%}\n            {{- param_spec.type | join(\" | \") }}\n        {%- else -%}\n            {{- param_spec.type[0] }}\n        {%- endif -%}\n    {%- elif param_spec.oneOf -%}\n        {#- Handle oneOf schemas - check for complex unions and fallback to any #}\n        {%- set has_object_variants = false -%}\n        {%- for variant in param_spec.oneOf -%}\n            {%- if variant.type == \"object\" -%}\n                {%- set has_object_variants = true -%}\n            {%- endif -%}\n        {%- endfor -%}\n        {%- if has_object_variants and param_spec.oneOf|length > 1 -%}\n            {{- \"any\" }}\n        {%- else -%}\n            {%- for variant in param_spec.oneOf -%}\n                {{- render_typescript_type(variant, required_params) -}}\n                {%- if variant.description %}\n                    {{- \"// \" + variant.description }}\n                {%- endif -%}\n                {%- if variant.default is defined %}\n                    {{ \"// default: \" + variant.default|tojson }}\n                {%- endif -%}\n                {%- if not loop.last %}\n                    {{- \" | \" }}\n                {% endif -%}\n            {%- endfor -%}\n        {%- endif -%}\n    {%- elif param_spec.type == \"string\" -%}\n        {%- if param_spec.enum -%}\n            {{- '\"' + param_spec.enum|join('\" | \"') + '\"' -}}\n        {%- else -%}\n            {{- \"string\" }}\n            {%- if param_spec.nullable %}\n                {{- \" | null\" }}\n            {%- endif -%}\n        {%- endif -%}\n    {%- elif param_spec.type == \"number\" -%}\n        {{- \"number\" }}\n    {%- elif param_spec.type == \"integer\" -%}\n        {{- \"number\" }}\n    {%- elif param_spec.type == \"boolean\" -%}\n        {{- \"boolean\" }}\n\n    {%- elif param_spec.type == \"object\" -%}\n        {%- if param_spec.properties -%}\n            {{- \"{\n\" }}\n            {%- for prop_name, prop_spec in param_spec.properties.items() -%}\n                {{- prop_name -}}\n                {%- if prop_name not in (param_spec.required or []) -%}\n                    {{- \"?\" }}\n                {%- endif -%}\n                {{- \": \" }}\n                {{ render_typescript_type(prop_spec, param_spec.required or []) }}\n                {%- if not loop.last -%}\n                    {{-\", \" }}\n                {%- endif -%}\n            {%- endfor -%}\n            {{- \"}\" }}\n        {%- else -%}\n            {{- \"object\" }}\n        {%- endif -%}\n    {%- else -%}\n        {{- \"any\" }}\n    {%- endif -%}\n{%- endmacro -%}\n\n{%- macro render_tool_namespace(namespace_name, tools) -%}\n    {{- \"## \" + namespace_name + \"\n\n\" }}\n    {{- \"namespace \" + namespace_name + \" {\n\n\" }}\n    {%- for tool in tools %}\n        {%- set tool = tool.function %}\n        {{- \"// \" + tool.description + \"\n\" }}\n        {{- \"type \"+ tool.name + \" = (\" }}\n        {%- if tool.parameters and tool.parameters.properties -%}\n            {{- \"_: \" }}\n            {{- \"{\n\" }}\n            {%- for param_name, param_spec in tool.parameters.properties.items() %}\n                {{- \"// \" + param_spec.description + \"\n\" }}\n                {{- param_name }}\n                {%- if param_name not in (tool.parameters.required or []) -%}\n                    {{- \"?\" }}\n                {%- endif -%}\n                {{- \": \" }}\n                {{- render_typescript_type(param_spec, tool.parameters.required or []) }}\n                {%- if param_spec.default is defined -%}\n                    {%- if param_spec.oneOf %}\n                        {{- \"// default: \" + param_spec.default }}\n                    {%- else %}\n                        {{- \", // default: \" + param_spec.default|tojson }}\n                    {%- endif -%}\n                {%- endif -%}\n                {%- if not loop.last %}\n                    {{- \",\n\" }}\n                {%- endif -%}\n            {%- endfor %}\n            {{- \",\n}) => any;\n\" }}\n        {%- else -%}\n            {{- \"\n}) => any;\n\" }}\n        {%- endif -%}\n    {%- endfor %}\n    {{- \"\n} // namespace \" + namespace_name }}\n{%- endmacro -%}\n\n{%- macro render_builtin_tools(browser_tool, python_tool) -%}\n    {%- if browser_tool %}\n        {{- \"## browser\n\n\" }}\n        {{- \"// Tool for browsing.\n\" }}\n        {{- \"// The `cursor` appears in brackets before each browsing display: `[{cursor}]`.\n\" }}\n        {{- \"// Cite information from the tool using the following format:\n\" }}\n        {{- \"// `\u3010{cursor}\u2020L{line_start}(-L{line_end})?\u3011`, for example: `\u30106\u2020L9-L11\u3011` or `\u30108\u2020L3\u3011`.\n\" }}\n        {{- \"// Do not quote more than 10 words directly from the tool output.\n\" }}\n        {{- \"// sources=web (default: web)\n\" }}\n        {{- \"namespace browser {\n\n\" }}\n        {{- \"// Searches for information related to `query` and displays `topn` results.\n\" }}\n        {{- \"type search = (_: {\n\" }}\n        {{- \"query: string,\n\" }}\n        {{- \"topn?: number, // default: 10\n\" }}\n        {{- \"source?: string,\n\" }}\n        {{- \"}) => any;\n\n\" }}\n        {{- \"// Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.\n\" }}\n        {{- \"// Valid link ids are displayed with the formatting: `\u3010{id}\u2020.*\u3011`.\n\" }}\n        {{- \"// If `cursor` is not provided, the most recent page is implied.\n\" }}\n        {{- \"// If `id` is a string, it is treated as a fully qualified URL associated with `source`.\n\" }}\n        {{- \"// If `loc` is not provided, the viewport will be positioned at the beginning of the document or centered on the most relevant passage, if available.\n\" }}\n        {{- \"// Use this function without `id` to scroll to a new location of an opened page.\n\" }}\n        {{- \"type open = (_: {\n\" }}\n        {{- \"id?: number | string, // default: -1\n\" }}\n        {{- \"cursor?: number, // default: -1\n\" }}\n        {{- \"loc?: number, // default: -1\n\" }}\n        {{- \"num_lines?: number, // default: -1\n\" }}\n        {{- \"view_source?: boolean, // default: false\n\" }}\n        {{- \"source?: string,\n\" }}\n        {{- \"}) => any;\n\n\" }}\n        {{- \"// Finds exact matches of `pattern` in the current page, or the page given by `cursor`.\n\" }}\n        {{- \"type find = (_: {\n\" }}\n        {{- \"pattern: string,\n\" }}\n        {{- \"cursor?: number, // default: -1\n\" }}\n        {{- \"}) => any;\n\n\" }}\n        {{- \"} // namespace browser\n\n\" }}\n    {%- endif -%}\n\n    {%- if python_tool %}\n        {{- \"## python\n\n\" }}\n        {{- \"Use this tool to execute Python code in your chain of thought. The code will not be shown to the user. This tool should be used for internal reasoning, but not for code that is intended to be visible to the user (e.g. when creating plots, tables, or files).\n\n\" }}\n        {{- \"When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.\n\n\" }}\n    {%- endif -%}\n{%- endmacro -%}\n\n{#- System Message Construction ============================================ #}\n{%- macro build_system_message() -%}\n    {%- if model_identity is not defined %}\n        {%- set model_identity = \"You are ChatGPT, a large language model trained by OpenAI.\" %}\n    {%- endif %}\n    {{- model_identity + \"\n\" }}\n    {{- \"Knowledge cutoff: 2024-06\n\" }}\n    {{- \"Current date: \" + strftime_now(\"%Y-%m-%d\") + \"\n\n\" }}\n    {%- if reasoning_effort is not defined %}\n        {%- set reasoning_effort = \"medium\" %}\n    {%- endif %}\n    {{- \"Reasoning: \" + reasoning_effort + \"\n\n\" }}\n    {%- if builtin_tools %}\n        {{- \"# Tools\n\n\" }}\n        {%- set available_builtin_tools = namespace(browser=false, python=false) %}\n        {%- for tool in builtin_tools %}\n            {%- if tool == \"browser\" %}\n                {%- set available_builtin_tools.browser = true %}\n            {%- elif tool == \"python\" %}\n                {%- set available_builtin_tools.python = true %}\n            {%- endif %}\n        {%- endfor %}\n        {{- render_builtin_tools(available_builtin_tools.browser, available_builtin_tools.python) }}\n    {%- endif -%}\n    {{- \"# Valid channels: analysis, commentary, final. Channel must be included for every message.\n\" }}\n    {{- \"Calls to these tools must go to the commentary channel: 'functions'.\" }}\n{%- endmacro -%}\n\n{#- Main Template Logic ================================================= #}\n{#- Set defaults #}\n\n{#- Render system message #}\n{{- \"<|start|>system<|message|>\" }}\n{{- build_system_message() }}\n{{- \"<|end|>\" }}\n\n{#- Extract developer message #}\n{%- if messages[0].role == \"developer\" or messages[0].role == \"system\" %}\n    {%- set developer_message = messages[0].content %}\n    {%- set loop_messages = messages[1:] %}\n{%- else %}\n    {%- set developer_message = \"\" %}\n    {%- set loop_messages = messages %}\n{%- endif %}\n\n{#- Render developer message #}\n{%- if developer_message or tools %}\n    {{- \"<|start|>developer<|message|>\" }}\n    {%- if developer_message %}\n        {{- \"# Instructions\n\n\" }}\n        {{- developer_message }}\n    {%- endif %}\n    {%- if tools -%}\n        {{- \"\n\n\" }}\n        {{- \"# Tools\n\n\" }}\n        {{- render_tool_namespace(\"functions\", tools) }}\n    {%- endif -%}\n    {{- \"<|end|>\" }}\n{%- endif %}\n\n{#- Render messages #}\n{%- set last_tool_call = namespace(name=none) %}\n{%- for message in loop_messages -%}\n    {#- At this point only assistant/user/tool messages should remain #}\n    {%- if message.role == 'assistant' -%}\n        {#- Checks to ensure the messages are being passed in the format we expect #}\n        {%- if \"content\" in message %}\n            {%- if \"<|channel|>analysis<|message|>\" in message.content or \"<|channel|>final<|message|>\" in message.content %}\n                {{- raise_exception(\"You have passed a message containing <|channel|> tags in the content field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.\") }}\n            {%- endif %}\n        {%- endif %}\n        {%- if \"thinking\" in message %}\n            {%- if \"<|channel|>analysis<|message|>\" in message.thinking or \"<|channel|>final<|message|>\" in message.thinking %}\n                {{- raise_exception(\"You have passed a message containing <|channel|> tags in the thinking field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.\") }}\n            {%- endif %}\n        {%- endif %}\n        {%- if \"tool_calls\" in message %}\n            {#- We assume max 1 tool call per message, and so we infer the tool call name #}\n            {#- in \"tool\" messages from the most recent assistant tool call name #}\n            {%- set tool_call = message.tool_calls[0] %}\n            {%- if tool_call.function %}\n                {%- set tool_call = tool_call.function %}\n            {%- endif %}\n            {%- if message.content and message.thinking %}\n                {{- raise_exception(\"Cannot pass both content and thinking in an assistant message with tool calls! Put the analysis message in one or the other, but not both.\") }}\n            {%- elif message.content %}\n                {{- \"<|start|>assistant<|channel|>analysis<|message|>\" + message.content + \"<|end|>\" }}\n            {%- elif message.thinking %}\n                {{- \"<|start|>assistant<|channel|>analysis<|message|>\" + message.thinking + \"<|end|>\" }}\n            {%- endif %}\n            {{- \"<|start|>assistant to=\" }}\n            {{- \"functions.\" + tool_call.name + \"<|channel|>commentary json<|message|>\" }}\n            {{- tool_call.arguments|tojson }}\n            {{- \"<|end|>\" }}\n            {%- set last_tool_call.name = tool_call.name %}\n        {%- elif loop.last and not add_generation_prompt %}\n            {#- Only render the CoT if the final turn is an assistant turn and add_generation_prompt is false #}\n            {#- This is a situation that should only occur in training, never in inference. #}\n            {%- if \"thinking\" in message %}\n                {{- \"<|start|>assistant<|channel|>analysis<|message|>\" + message.thinking + \"<|end|>\" }}\n            {%- endif %}\n            {#- <|return|> indicates the end of generation, but <|end|> does not #}\n            {#- <|return|> should never be an input to the model, but we include it as the final token #}\n            {#- when training, so the model learns to emit it. #}\n            {{- \"<|start|>assistant<|channel|>final<|message|>\" + message.content + \"<|return|>\" }}\n        {%- else %}\n            {#- CoT is dropped during all previous turns, so we never render it for inference #}\n            {{- \"<|start|>assistant<|channel|>final<|message|>\" + message.content + \"<|end|>\" }}\n            {%- set last_tool_call.name = none %}\n        {%- endif %}\n    {%- elif message.role == 'tool' -%}\n        {%- if last_tool_call.name is none %}\n            {{- raise_exception(\"Message has tool role, but there was no previous assistant message with a tool call!\") }}\n        {%- endif %}\n        {{- \"<|start|>functions.\" + last_tool_call.name }}\n        {{- \" to=assistant<|channel|>commentary<|message|>\" + message.content|tojson + \"<|end|>\" }}\n    {%- elif message.role == 'user' -%}\n        {{- \"<|start|>user<|message|>\" + message.content + \"<|end|>\" }}\n    {%- endif -%}\n{%- endfor -%}\n\n{#- Generation prompt #}\n{%- if add_generation_prompt -%}\n<|start|>assistant\n{%- endif -%}"
         | 
| 3 | 
            +
            }
         | 
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,76 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "architectures": [
         | 
| 3 | 
            +
                "GptOssForCausalLM"
         | 
| 4 | 
            +
              ],
         | 
| 5 | 
            +
              "attention_bias": true,
         | 
| 6 | 
            +
              "attention_dropout": 0.0,
         | 
| 7 | 
            +
              "eos_token_id": 200002,
         | 
| 8 | 
            +
              "experts_per_token": 4,
         | 
| 9 | 
            +
              "head_dim": 64,
         | 
| 10 | 
            +
              "hidden_act": "silu",
         | 
| 11 | 
            +
              "hidden_size": 2880,
         | 
| 12 | 
            +
              "initial_context_length": 4096,
         | 
| 13 | 
            +
              "initializer_range": 0.02,
         | 
| 14 | 
            +
              "intermediate_size": 2880,
         | 
| 15 | 
            +
              "layer_types": [
         | 
| 16 | 
            +
                "sliding_attention",
         | 
| 17 | 
            +
                "full_attention",
         | 
| 18 | 
            +
                "sliding_attention",
         | 
| 19 | 
            +
                "full_attention",
         | 
| 20 | 
            +
                "sliding_attention",
         | 
| 21 | 
            +
                "full_attention",
         | 
| 22 | 
            +
                "sliding_attention",
         | 
| 23 | 
            +
                "full_attention",
         | 
| 24 | 
            +
                "sliding_attention",
         | 
| 25 | 
            +
                "full_attention",
         | 
| 26 | 
            +
                "sliding_attention",
         | 
| 27 | 
            +
                "full_attention",
         | 
| 28 | 
            +
                "sliding_attention",
         | 
| 29 | 
            +
                "full_attention",
         | 
| 30 | 
            +
                "sliding_attention",
         | 
| 31 | 
            +
                "full_attention",
         | 
| 32 | 
            +
                "sliding_attention",
         | 
| 33 | 
            +
                "full_attention",
         | 
| 34 | 
            +
                "sliding_attention",
         | 
| 35 | 
            +
                "full_attention",
         | 
| 36 | 
            +
                "sliding_attention",
         | 
| 37 | 
            +
                "full_attention",
         | 
| 38 | 
            +
                "sliding_attention",
         | 
| 39 | 
            +
                "full_attention"
         | 
| 40 | 
            +
              ],
         | 
| 41 | 
            +
              "max_position_embeddings": 131072,
         | 
| 42 | 
            +
              "model_type": "gpt_oss",
         | 
| 43 | 
            +
              "num_attention_heads": 64,
         | 
| 44 | 
            +
              "num_experts_per_tok": 4,
         | 
| 45 | 
            +
              "num_hidden_layers": 24,
         | 
| 46 | 
            +
              "num_key_value_heads": 8,
         | 
| 47 | 
            +
              "num_local_experts": 32,
         | 
| 48 | 
            +
              "output_router_logits": false,
         | 
| 49 | 
            +
              "pad_token_id": 199999,
         | 
| 50 | 
            +
              "quantization_config": {
         | 
| 51 | 
            +
                "modules_to_not_convert": [
         | 
| 52 | 
            +
                  "model.layers.*.self_attn",
         | 
| 53 | 
            +
                  "model.layers.*.mlp.router",
         | 
| 54 | 
            +
                  "model.embed_tokens",
         | 
| 55 | 
            +
                  "lm_head"
         | 
| 56 | 
            +
                ],
         | 
| 57 | 
            +
                "quant_method": "mxfp4"
         | 
| 58 | 
            +
              },
         | 
| 59 | 
            +
              "rms_norm_eps": 1e-05,
         | 
| 60 | 
            +
              "rope_scaling": {
         | 
| 61 | 
            +
                "beta_fast": 32.0,
         | 
| 62 | 
            +
                "beta_slow": 1.0,
         | 
| 63 | 
            +
                "factor": 32.0,
         | 
| 64 | 
            +
                "original_max_position_embeddings": 4096,
         | 
| 65 | 
            +
                "rope_type": "yarn",
         | 
| 66 | 
            +
                "truncate": false
         | 
| 67 | 
            +
              },
         | 
| 68 | 
            +
              "rope_theta": 150000,
         | 
| 69 | 
            +
              "router_aux_loss_coef": 0.9,
         | 
| 70 | 
            +
              "sliding_window": 128,
         | 
| 71 | 
            +
              "swiglu_limit": 7.0,
         | 
| 72 | 
            +
              "tie_word_embeddings": false,
         | 
| 73 | 
            +
              "transformers_version": "4.55.0.dev0",
         | 
| 74 | 
            +
              "use_cache": true,
         | 
| 75 | 
            +
              "vocab_size": 201088
         | 
| 76 | 
            +
            }
         | 
    	
        generation_config.json
    ADDED
    
    | @@ -0,0 +1,10 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "bos_token_id": 199998,
         | 
| 3 | 
            +
              "do_sample": true,
         | 
| 4 | 
            +
              "eos_token_id": [
         | 
| 5 | 
            +
                200002,
         | 
| 6 | 
            +
                199999
         | 
| 7 | 
            +
              ],
         | 
| 8 | 
            +
              "pad_token_id": 199999,
         | 
| 9 | 
            +
              "transformers_version": "4.55.0.dev0"
         | 
| 10 | 
            +
            }
         | 
    	
        metal/model.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:725b7f996b5a226d922f034a731aefc398652f670dcafc2efd78620509a0fef1
         | 
| 3 | 
            +
            size 13750886400
         | 
    	
        model-00000-of-00002.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:16d0f997dcfc4462089d536bffe51b4bcea2f872f5c430be09ef8ed392312427
         | 
| 3 | 
            +
            size 4792272488
         | 
    	
        model-00001-of-00002.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:4fbe328ab445455d6f58dc73852b85873bd626986310abd91cd4d2ce3245eaea
         | 
| 3 | 
            +
            size 4798702184
         | 
    	
        model-00002-of-00002.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:a18106b209e9ab35c3406db4f6f12a927364a058b21e9d1373d682e20674b303
         | 
| 3 | 
            +
            size 4170342232
         | 
    	
        model.safetensors.index.json
    ADDED
    
    | @@ -0,0 +1 @@ | |
|  | 
|  | |
| 1 | 
            +
            {"metadata": {"total_size": 13761264768}, "weight_map": {"model.layers.0.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.0.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.0.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.0.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.0.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.1.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.1.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.1.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.1.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.1.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.10.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.10.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.10.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.10.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.10.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.11.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.11.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.11.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.11.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.11.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.12.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.12.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.12.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.12.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.12.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.13.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.13.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.13.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.13.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.13.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.14.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.14.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.14.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.14.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.14.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.15.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.15.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.15.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.15.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.15.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.16.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.16.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.16.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.16.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.16.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.17.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00000-of-00002.safetensors", "model.layers.17.self_attn.sinks": "model-00000-of-00002.safetensors", "model.layers.17.mlp.router.bias": "model-00000-of-00002.safetensors", "model.layers.17.mlp.router.weight": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.gate_up_proj_bias": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.gate_up_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.gate_up_proj_scales": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.down_proj_bias": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.down_proj_blocks": "model-00000-of-00002.safetensors", "model.layers.17.mlp.experts.down_proj_scales": "model-00000-of-00002.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.18.input_layernorm.weight": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.o_proj.bias": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.q_proj.bias": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.k_proj.bias": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.v_proj.bias": "model-00000-of-00002.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.18.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.18.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.18.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.18.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.19.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.19.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.19.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.19.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.2.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.2.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.2.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.2.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.20.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.20.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.20.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.20.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.21.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.21.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.21.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.21.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.22.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.22.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.22.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.22.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.23.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.23.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.23.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.23.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.3.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.3.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.3.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.3.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.4.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.4.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.4.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.4.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.5.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.5.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.5.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.gate_up_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.gate_up_proj_scales": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.down_proj_bias": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.down_proj_blocks": "model-00001-of-00002.safetensors", "model.layers.5.mlp.experts.down_proj_scales": "model-00001-of-00002.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.o_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors", "model.layers.6.self_attn.sinks": "model-00001-of-00002.safetensors", "model.layers.6.mlp.router.bias": "model-00001-of-00002.safetensors", "model.layers.6.mlp.router.weight": "model-00001-of-00002.safetensors", "model.layers.6.mlp.experts.gate_up_proj_bias": "model-00001-of-00002.safetensors", "model.layers.6.mlp.experts.gate_up_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.6.mlp.experts.gate_up_proj_scales": "model-00002-of-00002.safetensors", "model.layers.6.mlp.experts.down_proj_bias": "model-00002-of-00002.safetensors", "model.layers.6.mlp.experts.down_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.6.mlp.experts.down_proj_scales": "model-00002-of-00002.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.o_proj.bias": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.7.self_attn.sinks": "model-00002-of-00002.safetensors", "model.layers.7.mlp.router.bias": "model-00002-of-00002.safetensors", "model.layers.7.mlp.router.weight": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.gate_up_proj_bias": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.gate_up_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.gate_up_proj_scales": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.down_proj_bias": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.down_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.7.mlp.experts.down_proj_scales": "model-00002-of-00002.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.o_proj.bias": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.8.self_attn.sinks": "model-00002-of-00002.safetensors", "model.layers.8.mlp.router.bias": "model-00002-of-00002.safetensors", "model.layers.8.mlp.router.weight": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.gate_up_proj_bias": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.gate_up_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.gate_up_proj_scales": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.down_proj_bias": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.down_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.8.mlp.experts.down_proj_scales": "model-00002-of-00002.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.9.input_layernorm.weight": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.o_proj.bias": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00002.safetensors", "model.layers.9.self_attn.sinks": "model-00002-of-00002.safetensors", "model.layers.9.mlp.router.bias": "model-00002-of-00002.safetensors", "model.layers.9.mlp.router.weight": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.gate_up_proj_bias": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.gate_up_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.gate_up_proj_scales": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.down_proj_bias": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.down_proj_blocks": "model-00002-of-00002.safetensors", "model.layers.9.mlp.experts.down_proj_scales": "model-00002-of-00002.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00002.safetensors", "model.embed_tokens.weight": "model-00002-of-00002.safetensors", "model.norm.weight": "model-00002-of-00002.safetensors", "lm_head.weight": "model-00002-of-00002.safetensors"}}
         | 
    	
        original/config.json
    ADDED
    
    | @@ -0,0 +1 @@ | |
|  | 
|  | |
| 1 | 
            +
            {"num_hidden_layers": 24, "num_experts": 32, "experts_per_token": 4, "vocab_size": 201088, "hidden_size": 2880, "intermediate_size": 2880, "swiglu_limit": 7.0, "head_dim": 64, "num_attention_heads": 64, "num_key_value_heads": 8, "sliding_window": 128, "initial_context_length": 4096, "rope_theta": 150000, "rope_scaling_factor": 32.0, "rope_ntk_alpha": 1, "rope_ntk_beta": 32}
         | 
    	
        original/dtypes.json
    ADDED
    
    | @@ -0,0 +1 @@ | |
|  | 
|  | |
| 1 | 
            +
            {"embedding.weight": "BF16", "block.0.attn.norm.scale": "BF16", "block.0.attn.qkv.weight": "BF16", "block.0.attn.qkv.bias": "BF16", "block.0.attn.sinks": "BF16", "block.0.attn.out.weight": "BF16", "block.0.attn.out.bias": "BF16", "block.0.mlp.norm.scale": "BF16", "block.0.mlp.gate.weight": "BF16", "block.0.mlp.gate.bias": "BF16", "block.0.mlp.mlp1_weight.blocks": "FP4", "block.0.mlp.mlp1_weight.scales": "UE8", "block.0.mlp.mlp1_bias": "BF16", "block.0.mlp.mlp2_weight.blocks": "FP4", "block.0.mlp.mlp2_weight.scales": "UE8", "block.0.mlp.mlp2_bias": "BF16", "block.1.attn.norm.scale": "BF16", "block.1.attn.qkv.weight": "BF16", "block.1.attn.qkv.bias": "BF16", "block.1.attn.sinks": "BF16", "block.1.attn.out.weight": "BF16", "block.1.attn.out.bias": "BF16", "block.1.mlp.norm.scale": "BF16", "block.1.mlp.gate.weight": "BF16", "block.1.mlp.gate.bias": "BF16", "block.1.mlp.mlp1_weight.blocks": "FP4", "block.1.mlp.mlp1_weight.scales": "UE8", "block.1.mlp.mlp1_bias": "BF16", "block.1.mlp.mlp2_weight.blocks": "FP4", "block.1.mlp.mlp2_weight.scales": "UE8", "block.1.mlp.mlp2_bias": "BF16", "block.2.attn.norm.scale": "BF16", "block.2.attn.qkv.weight": "BF16", "block.2.attn.qkv.bias": "BF16", "block.2.attn.sinks": "BF16", "block.2.attn.out.weight": "BF16", "block.2.attn.out.bias": "BF16", "block.2.mlp.norm.scale": "BF16", "block.2.mlp.gate.weight": "BF16", "block.2.mlp.gate.bias": "BF16", "block.2.mlp.mlp1_weight.blocks": "FP4", "block.2.mlp.mlp1_weight.scales": "UE8", "block.2.mlp.mlp1_bias": "BF16", "block.2.mlp.mlp2_weight.blocks": "FP4", "block.2.mlp.mlp2_weight.scales": "UE8", "block.2.mlp.mlp2_bias": "BF16", "block.3.attn.norm.scale": "BF16", "block.3.attn.qkv.weight": "BF16", "block.3.attn.qkv.bias": "BF16", "block.3.attn.sinks": "BF16", "block.3.attn.out.weight": "BF16", "block.3.attn.out.bias": "BF16", "block.3.mlp.norm.scale": "BF16", "block.3.mlp.gate.weight": "BF16", "block.3.mlp.gate.bias": "BF16", "block.3.mlp.mlp1_weight.blocks": "FP4", "block.3.mlp.mlp1_weight.scales": "UE8", "block.3.mlp.mlp1_bias": "BF16", "block.3.mlp.mlp2_weight.blocks": "FP4", "block.3.mlp.mlp2_weight.scales": "UE8", "block.3.mlp.mlp2_bias": "BF16", "block.4.attn.norm.scale": "BF16", "block.4.attn.qkv.weight": "BF16", "block.4.attn.qkv.bias": "BF16", "block.4.attn.sinks": "BF16", "block.4.attn.out.weight": "BF16", "block.4.attn.out.bias": "BF16", "block.4.mlp.norm.scale": "BF16", "block.4.mlp.gate.weight": "BF16", "block.4.mlp.gate.bias": "BF16", "block.4.mlp.mlp1_weight.blocks": "FP4", "block.4.mlp.mlp1_weight.scales": "UE8", "block.4.mlp.mlp1_bias": "BF16", "block.4.mlp.mlp2_weight.blocks": "FP4", "block.4.mlp.mlp2_weight.scales": "UE8", "block.4.mlp.mlp2_bias": "BF16", "block.5.attn.norm.scale": "BF16", "block.5.attn.qkv.weight": "BF16", "block.5.attn.qkv.bias": "BF16", "block.5.attn.sinks": "BF16", "block.5.attn.out.weight": "BF16", "block.5.attn.out.bias": "BF16", "block.5.mlp.norm.scale": "BF16", "block.5.mlp.gate.weight": "BF16", "block.5.mlp.gate.bias": "BF16", "block.5.mlp.mlp1_weight.blocks": "FP4", "block.5.mlp.mlp1_weight.scales": "UE8", "block.5.mlp.mlp1_bias": "BF16", "block.5.mlp.mlp2_weight.blocks": "FP4", "block.5.mlp.mlp2_weight.scales": "UE8", "block.5.mlp.mlp2_bias": "BF16", "block.6.attn.norm.scale": "BF16", "block.6.attn.qkv.weight": "BF16", "block.6.attn.qkv.bias": "BF16", "block.6.attn.sinks": "BF16", "block.6.attn.out.weight": "BF16", "block.6.attn.out.bias": "BF16", "block.6.mlp.norm.scale": "BF16", "block.6.mlp.gate.weight": "BF16", "block.6.mlp.gate.bias": "BF16", "block.6.mlp.mlp1_weight.blocks": "FP4", "block.6.mlp.mlp1_weight.scales": "UE8", "block.6.mlp.mlp1_bias": "BF16", "block.6.mlp.mlp2_weight.blocks": "FP4", "block.6.mlp.mlp2_weight.scales": "UE8", "block.6.mlp.mlp2_bias": "BF16", "block.7.attn.norm.scale": "BF16", "block.7.attn.qkv.weight": "BF16", "block.7.attn.qkv.bias": "BF16", "block.7.attn.sinks": "BF16", "block.7.attn.out.weight": "BF16", "block.7.attn.out.bias": "BF16", "block.7.mlp.norm.scale": "BF16", "block.7.mlp.gate.weight": "BF16", "block.7.mlp.gate.bias": "BF16", "block.7.mlp.mlp1_weight.blocks": "FP4", "block.7.mlp.mlp1_weight.scales": "UE8", "block.7.mlp.mlp1_bias": "BF16", "block.7.mlp.mlp2_weight.blocks": "FP4", "block.7.mlp.mlp2_weight.scales": "UE8", "block.7.mlp.mlp2_bias": "BF16", "block.8.attn.norm.scale": "BF16", "block.8.attn.qkv.weight": "BF16", "block.8.attn.qkv.bias": "BF16", "block.8.attn.sinks": "BF16", "block.8.attn.out.weight": "BF16", "block.8.attn.out.bias": "BF16", "block.8.mlp.norm.scale": "BF16", "block.8.mlp.gate.weight": "BF16", "block.8.mlp.gate.bias": "BF16", "block.8.mlp.mlp1_weight.blocks": "FP4", "block.8.mlp.mlp1_weight.scales": "UE8", "block.8.mlp.mlp1_bias": "BF16", "block.8.mlp.mlp2_weight.blocks": "FP4", "block.8.mlp.mlp2_weight.scales": "UE8", "block.8.mlp.mlp2_bias": "BF16", "block.9.attn.norm.scale": "BF16", "block.9.attn.qkv.weight": "BF16", "block.9.attn.qkv.bias": "BF16", "block.9.attn.sinks": "BF16", "block.9.attn.out.weight": "BF16", "block.9.attn.out.bias": "BF16", "block.9.mlp.norm.scale": "BF16", "block.9.mlp.gate.weight": "BF16", "block.9.mlp.gate.bias": "BF16", "block.9.mlp.mlp1_weight.blocks": "FP4", "block.9.mlp.mlp1_weight.scales": "UE8", "block.9.mlp.mlp1_bias": "BF16", "block.9.mlp.mlp2_weight.blocks": "FP4", "block.9.mlp.mlp2_weight.scales": "UE8", "block.9.mlp.mlp2_bias": "BF16", "block.10.attn.norm.scale": "BF16", "block.10.attn.qkv.weight": "BF16", "block.10.attn.qkv.bias": "BF16", "block.10.attn.sinks": "BF16", "block.10.attn.out.weight": "BF16", "block.10.attn.out.bias": "BF16", "block.10.mlp.norm.scale": "BF16", "block.10.mlp.gate.weight": "BF16", "block.10.mlp.gate.bias": "BF16", "block.10.mlp.mlp1_weight.blocks": "FP4", "block.10.mlp.mlp1_weight.scales": "UE8", "block.10.mlp.mlp1_bias": "BF16", "block.10.mlp.mlp2_weight.blocks": "FP4", "block.10.mlp.mlp2_weight.scales": "UE8", "block.10.mlp.mlp2_bias": "BF16", "block.11.attn.norm.scale": "BF16", "block.11.attn.qkv.weight": "BF16", "block.11.attn.qkv.bias": "BF16", "block.11.attn.sinks": "BF16", "block.11.attn.out.weight": "BF16", "block.11.attn.out.bias": "BF16", "block.11.mlp.norm.scale": "BF16", "block.11.mlp.gate.weight": "BF16", "block.11.mlp.gate.bias": "BF16", "block.11.mlp.mlp1_weight.blocks": "FP4", "block.11.mlp.mlp1_weight.scales": "UE8", "block.11.mlp.mlp1_bias": "BF16", "block.11.mlp.mlp2_weight.blocks": "FP4", "block.11.mlp.mlp2_weight.scales": "UE8", "block.11.mlp.mlp2_bias": "BF16", "block.12.attn.norm.scale": "BF16", "block.12.attn.qkv.weight": "BF16", "block.12.attn.qkv.bias": "BF16", "block.12.attn.sinks": "BF16", "block.12.attn.out.weight": "BF16", "block.12.attn.out.bias": "BF16", "block.12.mlp.norm.scale": "BF16", "block.12.mlp.gate.weight": "BF16", "block.12.mlp.gate.bias": "BF16", "block.12.mlp.mlp1_weight.blocks": "FP4", "block.12.mlp.mlp1_weight.scales": "UE8", "block.12.mlp.mlp1_bias": "BF16", "block.12.mlp.mlp2_weight.blocks": "FP4", "block.12.mlp.mlp2_weight.scales": "UE8", "block.12.mlp.mlp2_bias": "BF16", "block.13.attn.norm.scale": "BF16", "block.13.attn.qkv.weight": "BF16", "block.13.attn.qkv.bias": "BF16", "block.13.attn.sinks": "BF16", "block.13.attn.out.weight": "BF16", "block.13.attn.out.bias": "BF16", "block.13.mlp.norm.scale": "BF16", "block.13.mlp.gate.weight": "BF16", "block.13.mlp.gate.bias": "BF16", "block.13.mlp.mlp1_weight.blocks": "FP4", "block.13.mlp.mlp1_weight.scales": "UE8", "block.13.mlp.mlp1_bias": "BF16", "block.13.mlp.mlp2_weight.blocks": "FP4", "block.13.mlp.mlp2_weight.scales": "UE8", "block.13.mlp.mlp2_bias": "BF16", "block.14.attn.norm.scale": "BF16", "block.14.attn.qkv.weight": "BF16", "block.14.attn.qkv.bias": "BF16", "block.14.attn.sinks": "BF16", "block.14.attn.out.weight": "BF16", "block.14.attn.out.bias": "BF16", "block.14.mlp.norm.scale": "BF16", "block.14.mlp.gate.weight": "BF16", "block.14.mlp.gate.bias": "BF16", "block.14.mlp.mlp1_weight.blocks": "FP4", "block.14.mlp.mlp1_weight.scales": "UE8", "block.14.mlp.mlp1_bias": "BF16", "block.14.mlp.mlp2_weight.blocks": "FP4", "block.14.mlp.mlp2_weight.scales": "UE8", "block.14.mlp.mlp2_bias": "BF16", "block.15.attn.norm.scale": "BF16", "block.15.attn.qkv.weight": "BF16", "block.15.attn.qkv.bias": "BF16", "block.15.attn.sinks": "BF16", "block.15.attn.out.weight": "BF16", "block.15.attn.out.bias": "BF16", "block.15.mlp.norm.scale": "BF16", "block.15.mlp.gate.weight": "BF16", "block.15.mlp.gate.bias": "BF16", "block.15.mlp.mlp1_weight.blocks": "FP4", "block.15.mlp.mlp1_weight.scales": "UE8", "block.15.mlp.mlp1_bias": "BF16", "block.15.mlp.mlp2_weight.blocks": "FP4", "block.15.mlp.mlp2_weight.scales": "UE8", "block.15.mlp.mlp2_bias": "BF16", "block.16.attn.norm.scale": "BF16", "block.16.attn.qkv.weight": "BF16", "block.16.attn.qkv.bias": "BF16", "block.16.attn.sinks": "BF16", "block.16.attn.out.weight": "BF16", "block.16.attn.out.bias": "BF16", "block.16.mlp.norm.scale": "BF16", "block.16.mlp.gate.weight": "BF16", "block.16.mlp.gate.bias": "BF16", "block.16.mlp.mlp1_weight.blocks": "FP4", "block.16.mlp.mlp1_weight.scales": "UE8", "block.16.mlp.mlp1_bias": "BF16", "block.16.mlp.mlp2_weight.blocks": "FP4", "block.16.mlp.mlp2_weight.scales": "UE8", "block.16.mlp.mlp2_bias": "BF16", "block.17.attn.norm.scale": "BF16", "block.17.attn.qkv.weight": "BF16", "block.17.attn.qkv.bias": "BF16", "block.17.attn.sinks": "BF16", "block.17.attn.out.weight": "BF16", "block.17.attn.out.bias": "BF16", "block.17.mlp.norm.scale": "BF16", "block.17.mlp.gate.weight": "BF16", "block.17.mlp.gate.bias": "BF16", "block.17.mlp.mlp1_weight.blocks": "FP4", "block.17.mlp.mlp1_weight.scales": "UE8", "block.17.mlp.mlp1_bias": "BF16", "block.17.mlp.mlp2_weight.blocks": "FP4", "block.17.mlp.mlp2_weight.scales": "UE8", "block.17.mlp.mlp2_bias": "BF16", "block.18.attn.norm.scale": "BF16", "block.18.attn.qkv.weight": "BF16", "block.18.attn.qkv.bias": "BF16", "block.18.attn.sinks": "BF16", "block.18.attn.out.weight": "BF16", "block.18.attn.out.bias": "BF16", "block.18.mlp.norm.scale": "BF16", "block.18.mlp.gate.weight": "BF16", "block.18.mlp.gate.bias": "BF16", "block.18.mlp.mlp1_weight.blocks": "FP4", "block.18.mlp.mlp1_weight.scales": "UE8", "block.18.mlp.mlp1_bias": "BF16", "block.18.mlp.mlp2_weight.blocks": "FP4", "block.18.mlp.mlp2_weight.scales": "UE8", "block.18.mlp.mlp2_bias": "BF16", "block.19.attn.norm.scale": "BF16", "block.19.attn.qkv.weight": "BF16", "block.19.attn.qkv.bias": "BF16", "block.19.attn.sinks": "BF16", "block.19.attn.out.weight": "BF16", "block.19.attn.out.bias": "BF16", "block.19.mlp.norm.scale": "BF16", "block.19.mlp.gate.weight": "BF16", "block.19.mlp.gate.bias": "BF16", "block.19.mlp.mlp1_weight.blocks": "FP4", "block.19.mlp.mlp1_weight.scales": "UE8", "block.19.mlp.mlp1_bias": "BF16", "block.19.mlp.mlp2_weight.blocks": "FP4", "block.19.mlp.mlp2_weight.scales": "UE8", "block.19.mlp.mlp2_bias": "BF16", "block.20.attn.norm.scale": "BF16", "block.20.attn.qkv.weight": "BF16", "block.20.attn.qkv.bias": "BF16", "block.20.attn.sinks": "BF16", "block.20.attn.out.weight": "BF16", "block.20.attn.out.bias": "BF16", "block.20.mlp.norm.scale": "BF16", "block.20.mlp.gate.weight": "BF16", "block.20.mlp.gate.bias": "BF16", "block.20.mlp.mlp1_weight.blocks": "FP4", "block.20.mlp.mlp1_weight.scales": "UE8", "block.20.mlp.mlp1_bias": "BF16", "block.20.mlp.mlp2_weight.blocks": "FP4", "block.20.mlp.mlp2_weight.scales": "UE8", "block.20.mlp.mlp2_bias": "BF16", "block.21.attn.norm.scale": "BF16", "block.21.attn.qkv.weight": "BF16", "block.21.attn.qkv.bias": "BF16", "block.21.attn.sinks": "BF16", "block.21.attn.out.weight": "BF16", "block.21.attn.out.bias": "BF16", "block.21.mlp.norm.scale": "BF16", "block.21.mlp.gate.weight": "BF16", "block.21.mlp.gate.bias": "BF16", "block.21.mlp.mlp1_weight.blocks": "FP4", "block.21.mlp.mlp1_weight.scales": "UE8", "block.21.mlp.mlp1_bias": "BF16", "block.21.mlp.mlp2_weight.blocks": "FP4", "block.21.mlp.mlp2_weight.scales": "UE8", "block.21.mlp.mlp2_bias": "BF16", "block.22.attn.norm.scale": "BF16", "block.22.attn.qkv.weight": "BF16", "block.22.attn.qkv.bias": "BF16", "block.22.attn.sinks": "BF16", "block.22.attn.out.weight": "BF16", "block.22.attn.out.bias": "BF16", "block.22.mlp.norm.scale": "BF16", "block.22.mlp.gate.weight": "BF16", "block.22.mlp.gate.bias": "BF16", "block.22.mlp.mlp1_weight.blocks": "FP4", "block.22.mlp.mlp1_weight.scales": "UE8", "block.22.mlp.mlp1_bias": "BF16", "block.22.mlp.mlp2_weight.blocks": "FP4", "block.22.mlp.mlp2_weight.scales": "UE8", "block.22.mlp.mlp2_bias": "BF16", "block.23.attn.norm.scale": "BF16", "block.23.attn.qkv.weight": "BF16", "block.23.attn.qkv.bias": "BF16", "block.23.attn.sinks": "BF16", "block.23.attn.out.weight": "BF16", "block.23.attn.out.bias": "BF16", "block.23.mlp.norm.scale": "BF16", "block.23.mlp.gate.weight": "BF16", "block.23.mlp.gate.bias": "BF16", "block.23.mlp.mlp1_weight.blocks": "FP4", "block.23.mlp.mlp1_weight.scales": "UE8", "block.23.mlp.mlp1_bias": "BF16", "block.23.mlp.mlp2_weight.blocks": "FP4", "block.23.mlp.mlp2_weight.scales": "UE8", "block.23.mlp.mlp2_bias": "BF16", "norm.scale": "BF16", "unembedding.weight": "BF16"}
         | 
    	
        original/model.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:3340a61d1a0391e8c5b5d3463d18d4c48129a84bbc04a554c762c99020aa06ed
         | 
| 3 | 
            +
            size 13761300984
         | 
    	
        special_tokens_map.json
    ADDED
    
    | @@ -0,0 +1,5 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "bos_token": "<|startoftext|>",
         | 
| 3 | 
            +
              "eos_token": "<|return|>",
         | 
| 4 | 
            +
              "pad_token": "<|endoftext|>"
         | 
| 5 | 
            +
            }
         | 
    	
        tokenizer.json
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
         | 
| 3 | 
            +
            size 27868174
         | 
    	
        tokenizer_config.json
    ADDED
    
    | @@ -0,0 +1,183 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "added_tokens_decoder": {
         | 
| 3 | 
            +
                "199998": {
         | 
| 4 | 
            +
                  "content": "<|startoftext|>",
         | 
| 5 | 
            +
                  "lstrip": false,
         | 
| 6 | 
            +
                  "normalized": false,
         | 
| 7 | 
            +
                  "rstrip": false,
         | 
| 8 | 
            +
                  "single_word": false,
         | 
| 9 | 
            +
                  "special": true
         | 
| 10 | 
            +
                },
         | 
| 11 | 
            +
                "199999": {
         | 
| 12 | 
            +
                  "content": "<|endoftext|>",
         | 
| 13 | 
            +
                  "lstrip": false,
         | 
| 14 | 
            +
                  "normalized": false,
         | 
| 15 | 
            +
                  "rstrip": false,
         | 
| 16 | 
            +
                  "single_word": false,
         | 
| 17 | 
            +
                  "special": true
         | 
| 18 | 
            +
                },
         | 
| 19 | 
            +
                "200000": {
         | 
| 20 | 
            +
                  "content": "<|reserved_200000|>",
         | 
| 21 | 
            +
                  "lstrip": false,
         | 
| 22 | 
            +
                  "normalized": false,
         | 
| 23 | 
            +
                  "rstrip": false,
         | 
| 24 | 
            +
                  "single_word": false,
         | 
| 25 | 
            +
                  "special": true
         | 
| 26 | 
            +
                },
         | 
| 27 | 
            +
                "200001": {
         | 
| 28 | 
            +
                  "content": "<|reserved_200001|>",
         | 
| 29 | 
            +
                  "lstrip": false,
         | 
| 30 | 
            +
                  "normalized": false,
         | 
| 31 | 
            +
                  "rstrip": false,
         | 
| 32 | 
            +
                  "single_word": false,
         | 
| 33 | 
            +
                  "special": true
         | 
| 34 | 
            +
                },
         | 
| 35 | 
            +
                "200002": {
         | 
| 36 | 
            +
                  "content": "<|return|>",
         | 
| 37 | 
            +
                  "lstrip": false,
         | 
| 38 | 
            +
                  "normalized": false,
         | 
| 39 | 
            +
                  "rstrip": false,
         | 
| 40 | 
            +
                  "single_word": false,
         | 
| 41 | 
            +
                  "special": true
         | 
| 42 | 
            +
                },
         | 
| 43 | 
            +
                "200003": {
         | 
| 44 | 
            +
                  "content": "<|constrain|>",
         | 
| 45 | 
            +
                  "lstrip": false,
         | 
| 46 | 
            +
                  "normalized": false,
         | 
| 47 | 
            +
                  "rstrip": false,
         | 
| 48 | 
            +
                  "single_word": false,
         | 
| 49 | 
            +
                  "special": true
         | 
| 50 | 
            +
                },
         | 
| 51 | 
            +
                "200004": {
         | 
| 52 | 
            +
                  "content": "<|reserved_200004|>",
         | 
| 53 | 
            +
                  "lstrip": false,
         | 
| 54 | 
            +
                  "normalized": false,
         | 
| 55 | 
            +
                  "rstrip": false,
         | 
| 56 | 
            +
                  "single_word": false,
         | 
| 57 | 
            +
                  "special": true
         | 
| 58 | 
            +
                },
         | 
| 59 | 
            +
                "200005": {
         | 
| 60 | 
            +
                  "content": "<|channel|>",
         | 
| 61 | 
            +
                  "lstrip": false,
         | 
| 62 | 
            +
                  "normalized": false,
         | 
| 63 | 
            +
                  "rstrip": false,
         | 
| 64 | 
            +
                  "single_word": false,
         | 
| 65 | 
            +
                  "special": true
         | 
| 66 | 
            +
                },
         | 
| 67 | 
            +
                "200006": {
         | 
| 68 | 
            +
                  "content": "<|start|>",
         | 
| 69 | 
            +
                  "lstrip": false,
         | 
| 70 | 
            +
                  "normalized": false,
         | 
| 71 | 
            +
                  "rstrip": false,
         | 
| 72 | 
            +
                  "single_word": false,
         | 
| 73 | 
            +
                  "special": true
         | 
| 74 | 
            +
                },
         | 
| 75 | 
            +
                "200007": {
         | 
| 76 | 
            +
                  "content": "<|end|>",
         | 
| 77 | 
            +
                  "lstrip": false,
         | 
| 78 | 
            +
                  "normalized": false,
         | 
| 79 | 
            +
                  "rstrip": false,
         | 
| 80 | 
            +
                  "single_word": false,
         | 
| 81 | 
            +
                  "special": true
         | 
| 82 | 
            +
                },
         | 
| 83 | 
            +
                "200008": {
         | 
| 84 | 
            +
                  "content": "<|message|>",
         | 
| 85 | 
            +
                  "lstrip": false,
         | 
| 86 | 
            +
                  "normalized": false,
         | 
| 87 | 
            +
                  "rstrip": false,
         | 
| 88 | 
            +
                  "single_word": false,
         | 
| 89 | 
            +
                  "special": true
         | 
| 90 | 
            +
                },
         | 
| 91 | 
            +
                "200009": {
         | 
| 92 | 
            +
                  "content": "<|reserved_200009|>",
         | 
| 93 | 
            +
                  "lstrip": false,
         | 
| 94 | 
            +
                  "normalized": false,
         | 
| 95 | 
            +
                  "rstrip": false,
         | 
| 96 | 
            +
                  "single_word": false,
         | 
| 97 | 
            +
                  "special": true
         | 
| 98 | 
            +
                },
         | 
| 99 | 
            +
                "200010": {
         | 
| 100 | 
            +
                  "content": "<|reserved_200010|>",
         | 
| 101 | 
            +
                  "lstrip": false,
         | 
| 102 | 
            +
                  "normalized": false,
         | 
| 103 | 
            +
                  "rstrip": false,
         | 
| 104 | 
            +
                  "single_word": false,
         | 
| 105 | 
            +
                  "special": true
         | 
| 106 | 
            +
                },
         | 
| 107 | 
            +
                "200011": {
         | 
| 108 | 
            +
                  "content": "<|reserved_200011|>",
         | 
| 109 | 
            +
                  "lstrip": false,
         | 
| 110 | 
            +
                  "normalized": false,
         | 
| 111 | 
            +
                  "rstrip": false,
         | 
| 112 | 
            +
                  "single_word": false,
         | 
| 113 | 
            +
                  "special": true
         | 
| 114 | 
            +
                },
         | 
| 115 | 
            +
                "200012": {
         | 
| 116 | 
            +
                  "content": "<|call|>",
         | 
| 117 | 
            +
                  "lstrip": false,
         | 
| 118 | 
            +
                  "normalized": false,
         | 
| 119 | 
            +
                  "rstrip": false,
         | 
| 120 | 
            +
                  "single_word": false,
         | 
| 121 | 
            +
                  "special": true
         | 
| 122 | 
            +
                },
         | 
| 123 | 
            +
                "200013": {
         | 
| 124 | 
            +
                  "content": "<|reserved_200013|>",
         | 
| 125 | 
            +
                  "lstrip": false,
         | 
| 126 | 
            +
                  "normalized": false,
         | 
| 127 | 
            +
                  "rstrip": false,
         | 
| 128 | 
            +
                  "single_word": false,
         | 
| 129 | 
            +
                  "special": true
         | 
| 130 | 
            +
                },
         | 
| 131 | 
            +
                "200014": {
         | 
| 132 | 
            +
                  "content": "<|reserved_200014|>",
         | 
| 133 | 
            +
                  "lstrip": false,
         | 
| 134 | 
            +
                  "normalized": false,
         | 
| 135 | 
            +
                  "rstrip": false,
         | 
| 136 | 
            +
                  "single_word": false,
         | 
| 137 | 
            +
                  "special": true
         | 
| 138 | 
            +
                },
         | 
| 139 | 
            +
                "200015": {
         | 
| 140 | 
            +
                  "content": "<|reserved_200015|>",
         | 
| 141 | 
            +
                  "lstrip": false,
         | 
| 142 | 
            +
                  "normalized": false,
         | 
| 143 | 
            +
                  "rstrip": false,
         | 
| 144 | 
            +
                  "single_word": false,
         | 
| 145 | 
            +
                  "special": true
         | 
| 146 | 
            +
                },
         | 
| 147 | 
            +
                "200016": {
         | 
| 148 | 
            +
                  "content": "<|reserved_200016|>",
         | 
| 149 | 
            +
                  "lstrip": false,
         | 
| 150 | 
            +
                  "normalized": false,
         | 
| 151 | 
            +
                  "rstrip": false,
         | 
| 152 | 
            +
                  "single_word": false,
         | 
| 153 | 
            +
                  "special": true
         | 
| 154 | 
            +
                },
         | 
| 155 | 
            +
                "200017": {
         | 
| 156 | 
            +
                  "content": "<|reserved_200017|>",
         | 
| 157 | 
            +
                  "lstrip": false,
         | 
| 158 | 
            +
                  "normalized": false,
         | 
| 159 | 
            +
                  "rstrip": false,
         | 
| 160 | 
            +
                  "single_word": false,
         | 
| 161 | 
            +
                  "special": true
         | 
| 162 | 
            +
                },
         | 
| 163 | 
            +
                "200018": {
         | 
| 164 | 
            +
                  "content": "<|endofprompt|>",
         | 
| 165 | 
            +
                  "lstrip": false,
         | 
| 166 | 
            +
                  "normalized": false,
         | 
| 167 | 
            +
                  "rstrip": false,
         | 
| 168 | 
            +
                  "single_word": false,
         | 
| 169 | 
            +
                  "special": true
         | 
| 170 | 
            +
                }
         | 
| 171 | 
            +
              },
         | 
| 172 | 
            +
              "bos_token": "<|startoftext|>",
         | 
| 173 | 
            +
              "clean_up_tokenization_spaces": false,
         | 
| 174 | 
            +
              "eos_token": "<|return|>",
         | 
| 175 | 
            +
              "extra_special_tokens": {},
         | 
| 176 | 
            +
              "model_input_names": [
         | 
| 177 | 
            +
                "input_ids",
         | 
| 178 | 
            +
                "attention_mask"
         | 
| 179 | 
            +
              ],
         | 
| 180 | 
            +
              "model_max_length": 1000000000000000019884624838656,
         | 
| 181 | 
            +
              "pad_token": "<|endoftext|>",
         | 
| 182 | 
            +
              "tokenizer_class": "PreTrainedTokenizerFast"
         | 
| 183 | 
            +
            }
         | 

