Upload metadata, configs, tokenizer, and model card
Browse filesFiles changed (11)
- .gitattributes+1
- README.mdAdded+120
- chat_template.jinjaAdded+137
- config.jsonAdded+139
- generation_config.jsonAdded+4
- model.safetensors.index.jsonAdded
- processor_config.jsonAdded+14
- quant_schedule.jsonAdded+65
- special_tokens_map.jsonAdded+21
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+548
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120---license: apache-2.0base_model: thinkingmachines/Inkling-2-Smallbase_model_relation: quantizedpipeline_tag: image-text-to-texttags:- tensorfold- tfq- tfp6- tfq-compact- 2.32bpw- quantized- moe- inkling2- coding- conversational- apple-silicon- cuda- rocminference: false---
<p align="center"> <a href="https://huggingface.co/thinkingmachines"><img src="assets/thinkingmachines-logo.png" alt="Thinking Machines" width="96" height="96" /></a></p>
<h1 align="center">Inkling-2-Small (587B) — TFQ Compact (2.32 bpw)</h1>
<p align="center"> <a href="https://huggingface.co/thinkingmachines/Inkling-2-Small">Base MXFP8 (~366 GiB)</a> | <a href="https://github.com/ashhart/TensorFold">TensorFold</a> | <a href="https://github.com/ashhart/TFQ">TFQ</a> | <a href="LICENSE">Apache-2.0 License</a></p>
<p align="center"> <img src="https://img.shields.io/badge/Memory_Fit-172.11_GiB_Core_%2F_175.32_GiB_w%2F_MTP_(Fits_2x96GB_%2F_192GB_Mac)-0f766e" alt="Memory Fit 172.11 GiB" /> <img src="https://img.shields.io/badge/Format-TFQ_(TFP6_Zero--LUT_A8)-2563eb" alt="TFQ TFP6" /> <img src="https://img.shields.io/badge/Precision-2.32_bpw_Tempered_MCKP_(2.0--4.5_bpw)-4f46e5" alt="2.32 bpw Compact" /> <img src="https://img.shields.io/badge/Model--Text_KL-0.008909_(A8)-7c3aed" alt="Model-Text KL 0.008909" /> <img src="https://img.shields.io/badge/Model--Text_Top--1-97.49%25_(Top--5_99.99%25)-16a34a" alt="Top-1 97.49%" /> <img src="https://img.shields.io/badge/Premature_Stops-0%2F46%2C262_(0.000%25)-15803d" alt="0 Premature Stops" /> <img src="https://img.shields.io/badge/Shards-48%2F48_XXH64_Verified-15803d" alt="48/48 Verified" /></p>
**`Inkling-2-Small-TFQ-Compact-2.32bpw`** is a compact TensorFold Quantization (**TFQ**, `TFP6` zero-LUT pure-ALU native signed-`int8` format) checkpoint of [**thinkingmachines/Inkling-2-Small**](https://huggingface.co/thinkingmachines/Inkling-2-Small) (587B MoE, 48 layers, 384 routed experts per layer, `H = 4608`, `I = 2304`, `200,058`-token active vocabulary with `final_logit_softcapping = 30.0`, and optional MTP speculative decoding head).
> **GPU VRAM & Hardware Fit (Fits 2× 96 GB GPUs / 1× 192 GB MI300X / 192 GB+ Mac Studio!)**> - **Core Model Footprint (without MTP):** **`172.11 GiB`** (`159.10 GiB` TFP6 MoE across 48 layers + `13.01 GiB` untouched non-MoE) — fits **`2× 96 GB` GPUs** (`~20 GiB` KV headroom), **`1× 192 GB` AMD MI300X**, **`4× 48 GB`** GPUs, **`8× 24 GB`** GPUs, or a **`192 GB` / `256 GB` / `512 GB` Apple Silicon Mac Studio**!> - **Full Checkpoint (including optional `3.19 GiB` MTP head):** **`175.32 GiB`** total on disk (`3.4×` smaller than `587B` BF16 / `2.1×` smaller than native `~366 GiB` MXFP8).
| Hardware Target | Memory Footprint | Notes ||---|---:|---|| **2× 96 GB GPUs (RTX PRO 6000 / H100 94GB / B200)** | **`172.11 GiB`** core (`175.32 GiB` w/ MTP) | Fits 2×96 GB with **`~16.7–19.9 GiB` KV headroom** || **192 GB / 256 GB / 512 GB Apple Silicon Mac Studio** | **`172.11 GiB`** core (`175.32 GiB` w/ MTP) | 100% resident in unified memory (`~16–336 GiB` KV headroom) || **1× 192 GB AMD MI300X / 4× 48 GB / 8× 24 GB GPUs** | **`172.11 GiB`** core (`175.32 GiB` w/ MTP) | Fits cleanly with full zero-LUT native `int8` execution |
All `55,296` routed MoE matrices (`48` layers × `384` experts × `{gate, up, down}`) are quantized directly from the native MXFP8 checkpoint using **calibrated sequential 2-stage `w²`-weighted per-expert Hessian-LDLQ-H** with **tempered SwiGLU Jacobian MCKP rate allocation** (`2.3187 bpw` average with a **strict `2.0 bpw` hard floor** across `2.0–4.5 bpw`: `L00 = 3.5 bpw`, `L01..L05 = 2.5 bpw`, `L06..L39 = 2.25 bpw`, `L40..L47 = 2.35 bpw`), while keeping **all non-MoE tensors (`13.01 GiB`) and MTP (`3.19 GiB`) untouched**.
## Highlights
- **Footprint:** **`175.32 GiB`** total on disk (**`172.11 GiB`** core without MTP): - **`159.10 GiB`** across 48 self-contained `TFP6` MoE shards (`moe_L00.tffp6` .. `moe_L47.tffp6`, `55,296` tensors total — zero external lookup tables). - **`13.01 GiB`** across 4 untouched non-MoE shards (`nonmoe-00001..00004.safetensors`) + **`3.19 GiB`** untouched `mtp.safetensors`.- **Zero-LUT Pure-ALU Native `int8` (`TFP6` + `FLAG_A8_HADAMARD`):** Decodes directly to signed `int8` with zero LUT lookups and supports both normative `128×128` Hadamard `int8` activation execution (`tfp6_a8`) and BF16 activation execution (`tfp6_a16`).- **Calibrated Sequential 2-Stage Method:** - Tempered SwiGLU Jacobian MCKP rate allocation (`power = 0.75`, `10%` median floor, strict hard floor `min = 2.0 bpw`, `max = 4.5 bpw`, `avg = 2.3187 bpw`). - Sequential `384 × 2048` (`786,432` tokens) calibration with `w²`-weighted Stage-1 `H_up`, post-quantization Stage-2 `H_down`, and 2-pass coordinate polish (`--polish --polish-su --polish-sv --share-su-groups`).- **Integrity:** All 48 shards verified **`48/48 OK [A8] [XXH64 verified]`** via `tfq3-inspect`.
## Evaluation (Exact 200,058-Vocab FP64 Held-Out KL & Stop Stability)
Evaluated over **50 × 2048 (`102,350` total next-token predictions, including `46,262` assistant `model_text` tokens)** across five strictly held-out domains (chat, code, math, prose, and tool calls), comparing exact full **200,058-vocabulary FP64 log-probabilities** (`final_logit_softcapping = 30.0`) directly against native **`thinkingmachines/Inkling-2-Small` MXFP8 Gold**:
### Overall Model-Text (`46,262` Assistant Tokens) & All Tokens (`102,350` Tokens)
| Execution Path | Slice | KL (`gold \|\| cand`) | Rev-KL | Top-1 Agree | Top-5 Agree | Gold PPL → Cand PPL (`Δ%`) ||---|---|---:|---:|---:|---:|---:|| **`tfp6_a8` (Normative)** | **Model Text (`46,262` tok)** | **`0.008909`** | **`0.009550`** | `97.49%` | **`99.987%`** | **`1.8512 → 1.8581 (+0.373%)`** || **`tfp6_a16` (BF16 act)** | **Model Text (`46,262` tok)** | `0.009006` | `0.009837` | **`97.50%`** | `99.983%` | `1.8512 → 1.8582 (+0.380%)` || **`tfp6_a8` (Normative)** | All Tokens (`102,350` tok) | `0.031075` | **`0.035630`** | `95.67%` | `99.851%` | **`2.7849 → 2.8488 (+2.295%)`** || **`tfp6_a16` (BF16 act)** | All Tokens (`102,350` tok) | **`0.030910`** | `0.036200` | **`95.69%`** | **`99.858%`** | `2.7849 → 2.8527 (+2.435%)` |
### Per-Category Breakdown (`tfp6_a8` & `tfp6_a16` vs Native Gold)
| Category | Model-Text `tfp6_a8` KL / Top-1 / ΔPPL | Model-Text `tfp6_a16` KL / Top-1 / ΔPPL | All-Token `tfp6_a8` KL / ΔPPL ||---|---:|---:|---:|| **Tool Calls** (`4,237` mt / `20,470` all) | **`0.004559`** / **`98.87%`** / **`-0.415%`** | `0.004753` / `98.84%` / `-0.287%` | `0.019506` / `+0.592%` || **Code** (`10,357` mt / `20,470` all) | **`0.004797`** / **`98.55%`** / **`-0.236%`** | `0.004812` / `98.53%` / `-0.217%` | `0.015070` / `+0.109%` || **Math** (`15,292` mt / `20,470` all) | **`0.008005`** / `98.07%` / **`+0.751%`** | `0.008091` / **`98.11%`** / `+0.919%` | `0.029602` / `+3.148%` || **Chat** (`16,376` mt / `20,470` all) | **`0.013479`** / `95.93%` / `+0.611%` | `0.013613` / **`95.94%`** / **`+0.429%`** | `0.024547` / `+1.373%` || **Prose** (`20,470` all) | N/A *(no assistant turns)* | N/A *(no assistant turns)* | `0.066649` / `+6.376%` |
### Teacher-Forced EOS Stop Stability (`eos_token_id = 200006`)
| Execution Path | EOS Ends (`n=157`) Flips (Confident) | Math (`n=51`) | Tool Calls (`n=22`) | Code (`n=38`) | Chat (`n=46`) | Premature Stops (`n=46,262`) | Mean KL@Stop ||---|---:|---:|---:|---:|---:|---:|---:|| **`tfp6_a8` (Normative)** | **`6` (`3.82%`) / `1` conf (`0.64%`)** | **`0 / 51`** | **`0 / 22`** | **`2 / 38` (`0` conf)** | **`4 / 46` (`1` conf)** | **`0 / 46,262` (`0.000%`)** | **`0.04177`** || **`tfp6_a16` (BF16 act)** | `8` (`5.10%`) / `3` conf (`1.91%`) | `0 / 51` | `0 / 22` | `3 / 38` (`2` conf) | `5 / 46` (`1` conf) | `1 / 46,262` (`0` conf) | `0.07001` |
*Evaluation notes: Prose sequences contain raw document text without chat assistant turns (`model_text` and EOS stop metrics are N/A for prose), and prose accounts for the largest all-token PPL delta (`+6.376%` for `tfp6_a8`, `+6.420%` for `tfp6_a16`) along with packed multi-document boundaries. All metrics above are teacher-forced next-token evaluations against native MXFP8 Gold.*
## Checkpoint Layout
- `moe_L00.tffp6` .. `moe_L47.tffp6`: `48` self-contained `TFP6` v6 MoE shards (`159.10 GiB` total; `1,152` tensors per layer: `384` routed experts × `{gate, up, down}`).- `nonmoe-00001-of-00004.safetensors` .. `nonmoe-00004-of-00004.safetensors` + `model.safetensors.index.json`: Untouched non-MoE tensors (`13.01 GiB` — embeddings, `lm_head`, attention, norms, routers).- `mtp.safetensors`: Optional untouched Multi-Token Prediction speculative head (`3.19 GiB`).- Tokenizer (`tiktoken` / `tokenizer*`), `chat_template.jinja`, and config files copied verbatim from `thinkingmachines/Inkling-2-Small`.
## Running with TensorFold
```bashtensorfold serve TensorFold/Inkling-2-Small-TFQ-Compact-2.32bpw```
Open-source `TFP6` specification, conformance suite, and Metal/CUDA/ROCm converters live in [TFQ](https://github.com/ashhart/TFQ).
## License
This quantized checkpoint inherits the [Apache 2.0 License](LICENSE) from `thinkingmachines/Inkling-2-Small`.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137{%- set effort_map = {"none": 0.0, "minimal": 0.1, "low": 0.2, "medium": 0.7, "high": 0.9, "xhigh": 0.99, "max": 0.99} -%}{%- set role_token = {"user": "<|message_user|>", "assistant": "<|message_model|>", "system": "<|message_system|>", "tool": "<|message_tool|>"} -%}
{%- macro emit_thinking_effort() -%} {%- set eff = reasoning_effort if reasoning_effort is defined and reasoning_effort is not none else 0.9 -%} {%- if eff is string -%} {%- set key = eff | trim -%} {%- if key not in effort_map -%} {{- raise_exception("Unknown reasoning_effort: " ~ eff) -}} {%- endif -%} {%- set num = effort_map[key] -%} {%- else -%} {%- set num = eff | float -%} {%- endif -%} {%- if num < 0.0 or num > 0.99 -%} {{- raise_exception("reasoning_effort must be in [0.0, 0.99]") -}} {%- endif -%} {{- "<|message_system|><|content_text|>Thinking effort level: " -}} {%- if num == 0.0 -%}0{%- else -%}{{ num }}{%- endif -%} {{- "<|end_message|>" -}}{%- endmacro -%}
{%- if tools -%} {%- set tool_state = namespace(specs=[]) -%} {%- for tool in tools -%} {%- set fn = tool.function if tool.function is defined else tool -%} {%- set spec = { "description": (fn.description if fn.description is defined and fn.description else ""), "name": fn.name, "parameters": (fn.parameters if fn.parameters is defined and fn.parameters else {}), "type": (tool.type if tool.type is defined and tool.type else "function"), } -%} {%- set tool_state.specs = tool_state.specs + [spec] -%} {%- endfor -%} {{- "<|message_system|>tool_declare<|content_xml|>" -}} {{- tool_state.specs | tojson(sort_keys=true, separators=(",", ":")) -}} {{- "<|end_message|>" -}}{%- endif -%}
{%- set state = namespace(effort_emitted=false) -%}{%- for message in messages -%} {%- if message.role not in role_token -%} {{- raise_exception("Unknown message role: " ~ message.role) -}} {%- endif -%} {%- if not state.effort_emitted and message.role != "system" -%} {{- emit_thinking_effort() -}} {%- set state.effort_emitted = true -%} {%- endif -%}
{%- set header = namespace(text=role_token[message.role]) -%} {%- if message.role == "tool" -%} {%- if message.name is defined and message.name -%} {%- set header.text = header.text ~ message.name -%} {%- elif message.tool_call_id is defined and message.tool_call_id -%} {%- for prev in messages -%} {%- if prev.role == "assistant" and prev.tool_calls -%} {%- for tc in prev.tool_calls -%} {%- if tc.id is defined and tc.id == message.tool_call_id and tc.function.name is defined -%} {%- set header.text = header.text ~ tc.function.name -%} {%- endif -%} {%- endfor -%} {%- endif -%} {%- endfor -%} {%- endif -%} {%- elif message.role == "assistant" and message.name is defined and message.name -%} {%- set header.text = header.text ~ message.name -%} {%- endif -%} {%- set rtok = header.text -%} {%- set rendered -%}
{%- if message.role == "assistant" and message.reasoning_content is defined and message.reasoning_content -%} {{- rtok ~ "<|content_thinking|>" ~ message.reasoning_content ~ "<|end_message|>" -}} {%- endif -%}
{%- if message.content is string and (message.content or not (message.role == "assistant" and (message.tool_calls or message.reasoning_content))) -%} {{- rtok ~ "<|content_text|>" ~ message.content ~ "<|end_message|>" -}} {%- elif message.content -%} {%- for part in message.content -%} {%- if part is string -%} {{- rtok ~ "<|content_text|>" ~ part ~ "<|end_message|>" -}} {%- elif part.type is not defined or part.type in ("text", "input_text") -%} {%- set text_part = (part.text if part.text is defined and part.text is string else "") -%} {{- rtok ~ "<|content_text|>" ~ text_part ~ "<|end_message|>" -}} {%- elif part.type in ("image", "input_image", "image_url") -%} {%- if message.role not in ("user", "tool") -%} {{- raise_exception("Image content is only supported for user and tool messages") -}} {%- endif -%} {{- rtok ~ "<|content_image|><|unused_200054|><|end_message|>" -}} {%- elif part.type in ("audio", "input_audio", "audio_url") -%} {{- raise_exception("Inkling 2 does not accept audio input") -}} {%- else -%} {{- raise_exception("Unsupported content part type: " ~ part.type) -}} {%- endif -%} {%- endfor -%} {%- endif -%}
{%- if message.role == "assistant" and message.tool_calls -%} {%- for tc in message.tool_calls -%} {%- set fn = tc.function -%} {%- if fn.name is not defined or fn.name is not string -%} {{- raise_exception("tool call function name must be a string") -}} {%- endif -%} {%- if message.name is defined and message.name and message.name != fn.name -%} {{- raise_exception("assistant name " ~ message.name ~ " does not match its tool call " ~ fn.name) -}} {%- endif -%} {%- set args = fn.arguments if fn.arguments is defined and fn.arguments else {} -%} {%- if args is string -%} {{- raise_exception("tool call arguments must be a parsed object, not a JSON string; canonicalize upstream") -}} {%- endif -%} {%- if args is not mapping -%} {{- raise_exception("tool call arguments must be an object") -}} {%- endif -%} {{- "<|message_model|>" ~ fn.name ~ "<|content_invoke_tool_json|>" -}} {{- '{"name":' ~ (fn.name | tojson(sort_keys=true, separators=(",", ":"))) ~ ',"args":' -}} {{- "{" -}} {%- for key, value in args | dictsort(case_sensitive=true) -%} {{- (key | tojson) ~ ":" ~ (value | tojson(separators=(",", ":"))) -}} {%- if not loop.last -%},{%- endif -%} {%- endfor -%} {{- "}}<|end_message|>" -}} {%- endfor -%} {%- endif -%}
{%- if message.role == "assistant" -%} {{- "<|content_model_end_sampling|>" -}} {%- endif -%} {%- endset -%} {%- if message.role == "assistant" -%} {%- generation -%}{{- rendered -}}{%- endgeneration -%} {%- else -%} {{- rendered -}} {%- endif -%}{%- endfor -%}
{%- if not state.effort_emitted -%} {{- emit_thinking_effort() -}}{%- endif -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139{ "architectures": [ "Inkling2ForConditionalGeneration" ], "model_type": "inkling2", "eos_token_id": 200006, "text_config": { "model_max_length": 1048576, "torch_dtype": "bfloat16", "hidden_size": 4608, "num_hidden_layers": 48, "vocab_size": 201024, "num_attention_heads": 48, "num_key_value_heads": 8, "head_dim": 128, "d_rel": 16, "rel_extent": 1024, "q_bias": false, "o_bias": false, "log_scaling_n_floor": 8192, "log_scaling_alpha": 0.1, "rms_norm_eps": 1e-06, "pre_norm_pre_affine": false, "final_norm_pre_affine": false, "use_value_norm_no_gamma": true, "qk_l2_clip_threshold": 22.627416997969522, "rel_l2_clip_threshold": 8.0, "local_layer_ids": [ 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46 ], "sconv_kernel_size": 4, "unpadded_vocab_size": 200058, "final_logit_softcapping": 30.0, "swa_head_dim": 128, "swa_num_attention_heads": 48, "swa_num_key_value_heads": 8, "sliding_window_size": 1024, "n_layers_per_attn_res_block": 6, "attn_res_normalize_values": true, "n_routed_experts": 384, "num_experts_per_tok": 8, "n_shared_experts": 0, "intermediate_size": 2304, "mlp_gate_softcap": 4.0, "mlp_up_softcap": 25.0, "route_scale": 8.0, "use_gate_bias": true }, "vision_config": { "temporal_patch_size": 2, "native_patch_size": 20, "adapter_merge_size": 2, "projection_hidden_dim": 4096, "projector_bias": false, "hidden_size": 1024, "num_hidden_layers": 23, "num_attention_heads": 16, "mlp_ratio": 4.0, "posemb_grid_size": 32, "layer_norm_eps": 1e-05 }, "mtp_config": { "hidden_size": 4608, "num_hidden_layers": 5, "num_attention_heads": 48, "num_key_value_heads": 8, "head_dim": 128, "intermediate_size": 18432, "max_position_embeddings": 1048576, "torch_dtype": "bfloat16", "q_bias": false, "o_bias": false, "rms_norm_eps": 1e-06, "rope_theta": 1000000.0, "local_layer_ids": [ 0, 1, 3, 4 ], "sliding_window_size": 1024, "block_size": 8, "markov_rank": 256, "markov_head_type": "rnn_hidden", "target_layer_ids": [ 5, 11, 17, 23, 29, 35, 41, 48 ] }, "quantization_config": { "quant_method": "modelopt", "quant_algo": "NVFP4" }}1234{ "eos_token_id": 200006, "pad_token_id": 199999}1234567891011121314{ "image_processor": { "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "image_mean": [0.5, 0.5, 0.5], "image_processor_type": "Inkling2ImageProcessor", "image_std": [0.5, 0.5, 0.5], "rescale_factor": 0.00392156862745098, "size": {"height": 40, "width": 40} }, "image_token": "<|unused_200054|>", "processor_class": "Inkling2Processor"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "schedule": "bal250", "layers": { "0": "3.5,3.5,3.5", "1": "2.5,2.5,2.5", "2": "2.5,2.5,2.5", "3": "2.5,2.5,2.5", "4": "2.5,2.5,2.5", "5": "2.5,2.5,2.5", "6": "2.5,2.5,2.5", "7": "2.5,2.5,2.5", "8": "2.5,2.5,2.5", "9": "2.5,2.5,2.5", "10": "2.5,2.5,2.5", "11": "2.5,2.5,2.5", "12": "2.5,2.5,2.5", "13": "2.5,2.5,2.5", "14": "2.5,2.5,2.5", "15": "2.5,2.5,2.5", "16": "2.5,2.5,2.5", "17": "2.5,2.5,2.5", "18": "2.5,2.5,2.5", "19": "2.5,2.5,2.5", "20": "2.5,2.5,2.5", "21": "2.5,2.5,2.5", "22": "2.5,2.5,2.5", "23": "2.5,2.5,2.5", "24": "2.5,2.5,2.5", "25": "2.5,2.5,2.5", "26": "2.5,2.5,2.5", "27": "2.5,2.5,2.5", "28": "2.5,2.5,2.5", "29": "2.5,2.5,2.5", "30": "2.5,2.5,2.5", "31": "2.5,2.5,2.5", "32": "2.5,2.5,2.5", "33": "2.5,2.5,2.5", "34": "2.5,2.5,2.5", "35": "2.5,2.5,2.5", "36": "2.5,2.5,2.5", "37": "2.5,2.5,2.5", "38": "2.5,2.5,2.5", "39": "2.5,2.5,2.5", "40": "2.5,2.5,2.5", "41": "2.5,2.5,2.5", "42": "2.5,2.5,2.5", "43": "2.5,2.5,2.5", "44": "2.5,2.5,2.5", "45": "2.5,2.5,2.5", "46": "2.5,2.5,2.5", "47": "2.5,2.5,2.5" }, "estimate": { "avg_bpw": 2.5208, "est_moe_gib": 173.31, "est_total_gib": 186.81 }, "expert_alpha": 0.1, "expert_floor": 1024.0, "damp": 0.01, "quality": "fast", "eq": "signs", "a8": true, "share_su_groups": true}123456789101112131415161718192021{ "additional_special_tokens": [ "<|endoftext|>", "<|message_user|>", "<|message_model|>", "<|message_system|>", "<|message_tool|>", "<|content_text|>", "<|content_image|>", "<|content_model_end_sampling|>", "<|content_thinking|>", "<|end_message|>", "<|content_tool_error|>", "<|content_xml|>", "<|begin_of_text|>", "<|content_invoke_tool_json|>", "<|content_invoke_tool_text|>" ], "eos_token": "<|content_model_end_sampling|>", "pad_token": "<|endoftext|>"}123version https://git-lfs.github.com/spec/v1oid sha256:7f332727f9a3f093dd452a39cc978e6757627e5dad1b0673aa4e75174f236dd6size 26178678123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548{ "tokenizer_class": "PreTrainedTokenizerFast", "model_max_length": 1048576, "clean_up_tokenization_spaces": false, "fix_mistral_regex": false, "extra_special_tokens": { "endoftext": "<|endoftext|>", "message_user": "<|message_user|>", "message_model": "<|message_model|>", "message_system": "<|message_system|>", "message_tool": "<|message_tool|>", "content_text": "<|content_text|>", "content_image": "<|content_image|>", "content_model_end_sampling": "<|content_model_end_sampling|>", "content_thinking": "<|content_thinking|>", "end_message": "<|end_message|>", "content_tool_error": "<|content_tool_error|>", "content_xml": "<|content_xml|>", "begin_of_text": "<|begin_of_text|>", "content_invoke_tool_json": "<|content_invoke_tool_json|>", "content_invoke_tool_text": "<|content_invoke_tool_text|>" }, "added_tokens_decoder": { "199998": { "content": "<|unused|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "199999": { "content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200000": { "content": "<|message_user|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200001": { "content": "<|message_model|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200002": { "content": "<|message_system|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200003": { "content": "<|message_tool|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200004": { "content": "<|content_text|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200005": { "content": "<|content_image|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200006": { "content": "<|content_model_end_sampling|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200007": { "content": "<|unused_200007|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200008": { "content": "<|content_thinking|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200009": { "content": "<|unused_200009|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200010": { "content": "<|end_message|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200011": { "content": "<|unused_200011|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200012": { "content": "<|unused_200012|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200013": { "content": "<|unused_200013|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200014": { "content": "<|unused_200014|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200015": { "content": "<|unused_200015|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200016": { "content": "<|unused_200016|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200017": { "content": "<|unused_200017|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200018": { "content": "<|unused_200018|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200019": { "content": "<|unused_200019|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200020": { "content": "<|unused_200020|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200021": { "content": "<|unused_200021|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200022": { "content": "<|content_tool_error|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200023": { "content": "<|unused_200023|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200024": { "content": "<|content_xml|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200025": { "content": "<|unused_200025|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200026": { "content": "<|unused_200026|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200027": { "content": "<|unused_200027|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200028": { "content": "<|begin_of_text|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200029": { "content": "<|unused_200029|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200030": { "content": "<|unused_200030|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200031": { "content": "<|unused_200031|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200032": { "content": "<|unused_200032|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200033": { "content": "<|unused_200033|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200034": { "content": "<|unused_200034|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200035": { "content": "<|unused_200035|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200036": { "content": "<|unused_200036|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200037": { "content": "<|unused_200037|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200038": { "content": "<|unused_200038|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200039": { "content": "<|unused_200039|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200040": { "content": "<|unused_200040|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200041": { "content": "<|unused_200041|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200042": { "content": "<|unused_200042|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200043": { "content": "<|unused_200043|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200044": { "content": "<|unused_200044|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200045": { "content": "<|unused_200045|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200046": { "content": "<|unused_200046|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200047": { "content": "<|unused_200047|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200048": { "content": "<|unused_200048|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200049": { "content": "<|content_invoke_tool_json|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200050": { "content": "<|unused_200050|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200051": { "content": "<|unused_200051|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200052": { "content": "<|unused_200052|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200053": { "content": "<|unused_200053|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200054": { "content": "<|unused_200054|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200055": { "content": "<|unused_200055|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200056": { "content": "<|unused_200056|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true }, "200057": { "content": "<|content_invoke_tool_text|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true } }, "response_template": { "defaults": { "role": "assistant" }, "start_anchor_pattern": "<\\|end_message\\|>|<\\|content_model_end_sampling\\|>", "fields": { "reasoning_content": { "open_pattern": "(?:<\\|message_model\\|>[^<]*)?<\\|content_thinking\\|>", "close": "<|end_message|>", "repeats": true, "join": "", "content": "text", "content_args": { "strip": false } }, "content": { "open_pattern": "(?:<\\|message_model\\|>[^<]*)?<\\|content_(?:text|tool_error|invoke_tool_text)\\|>", "close": "<|end_message|>", "repeats": true, "join": "", "content": "text", "content_args": { "strip": false } }, "tool_calls": { "open_pattern": "(?:<\\|message_model\\|>[^<]*)?<\\|content_invoke_tool_json\\|>", "close": "<|end_message|>", "repeats": true, "content": "json", "transform": { "type": "function", "function": { "name": "{content.name}", "arguments": "{content.args}" } } } } }, "eos_token": "<|content_model_end_sampling|>", "pad_token": "<|endoftext|>"}.gitattributes+1
README.mdAdded+120
chat_template.jinjaAdded+137
config.jsonAdded+139
generation_config.jsonAdded+4
model.safetensors.index.jsonAdded
processor_config.jsonAdded+14
quant_schedule.jsonAdded+65
special_tokens_map.jsonAdded+21
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+548