Image-Text-to-Text
MLX
Safetensors
inkling_mm_model
vision
Mixture of Experts
conversational
Eval Results
2-bit
Instructions to use ToPo-ToPo/Inkling-Small-mlx-2bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ToPo-ToPo/Inkling-Small-mlx-2bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("ToPo-ToPo/Inkling-Small-mlx-2bit") config = load_config("ToPo-ToPo/Inkling-Small-mlx-2bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use ToPo-ToPo/Inkling-Small-mlx-2bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ToPo-ToPo/Inkling-Small-mlx-2bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ToPo-ToPo/Inkling-Small-mlx-2bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use ToPo-ToPo/Inkling-Small-mlx-2bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ToPo-ToPo/Inkling-Small-mlx-2bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ToPo-ToPo/Inkling-Small-mlx-2bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Hermes Agent
How to use ToPo-ToPo/Inkling-Small-mlx-2bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ToPo-ToPo/Inkling-Small-mlx-2bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ToPo-ToPo/Inkling-Small-mlx-2bit
Run Hermes
hermes
- Atomic Chat
Add files using upload-large-folder tool
Browse files- .eval_results/aime_2026.yaml +7 -0
- .eval_results/gpqa.yaml +7 -0
- .eval_results/hle.yaml +8 -0
- .eval_results/hmmt_feb_2026.yaml +7 -0
- .eval_results/mmmu_pro.yaml +7 -0
- .eval_results/swe-bench_pro.yaml +7 -0
- .eval_results/swe-bench_verified.yaml +7 -0
- .gitattributes +1 -0
- README.md +81 -0
- chat_template.jinja +129 -0
- config.json +124 -0
- model-00001-of-00017.safetensors +3 -0
- model-00002-of-00017.safetensors +3 -0
- model-00003-of-00017.safetensors +3 -0
- model-00004-of-00017.safetensors +3 -0
- model-00005-of-00017.safetensors +3 -0
- model-00006-of-00017.safetensors +3 -0
- model-00007-of-00017.safetensors +3 -0
- model-00008-of-00017.safetensors +3 -0
- model-00009-of-00017.safetensors +3 -0
- model-00010-of-00017.safetensors +3 -0
- model-00011-of-00017.safetensors +3 -0
- model-00012-of-00017.safetensors +3 -0
- model-00013-of-00017.safetensors +3 -0
- model-00014-of-00017.safetensors +3 -0
- model-00015-of-00017.safetensors +3 -0
- model-00016-of-00017.safetensors +3 -0
- model-00017-of-00017.safetensors +3 -0
- model.safetensors.index.json +0 -0
- processor_config.json +47 -0
- special_tokens_map.json +22 -0
- tiktoken/tokenizer.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +50 -0
.eval_results/aime_2026.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: MathArena/aime_2026
|
| 3 |
+
task_id: MathArena/aime_2026
|
| 4 |
+
value: 95.5
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.eval_results/gpqa.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: Idavidrein/gpqa
|
| 3 |
+
task_id: diamond
|
| 4 |
+
value: 89.5
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.eval_results/hle.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: cais/hle
|
| 3 |
+
task_id: hle
|
| 4 |
+
value: 31.6
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
| 8 |
+
notes: text only
|
.eval_results/hmmt_feb_2026.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: MathArena/hmmt_feb_2026
|
| 3 |
+
task_id: MathArena/hmmt_feb_2026
|
| 4 |
+
value: 90.2
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.eval_results/mmmu_pro.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: MMMU/MMMU_Pro
|
| 3 |
+
task_id: mmmu_pro_standard_10_options
|
| 4 |
+
value: 74
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.eval_results/swe-bench_pro.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: ScaleAI/SWE-bench_Pro
|
| 3 |
+
task_id: SWE_Bench_Pro
|
| 4 |
+
value: 55.9
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.eval_results/swe-bench_verified.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: SWE-bench/SWE-bench_Verified
|
| 3 |
+
task_id: swe_bench_%_resolved
|
| 4 |
+
value: 80.2
|
| 5 |
+
source:
|
| 6 |
+
url: https://huggingface.co/thinkingmachines/Inkling-Small
|
| 7 |
+
name: Model Card
|
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: thinkingmachines/Inkling-Small
|
| 4 |
+
library_name: mlx
|
| 5 |
+
tags:
|
| 6 |
+
- mlx
|
| 7 |
+
- vision
|
| 8 |
+
- moe
|
| 9 |
+
pipeline_tag: image-text-to-text
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# ToPo-ToPo/Inkling-Small-mlx-2bit
|
| 13 |
+
|
| 14 |
+
MLX **2bit** conversion of [`thinkingmachines/Inkling-Small`](https://huggingface.co/thinkingmachines/Inkling-Small)
|
| 15 |
+
for Apple Silicon (mlx-vlm). 276B total / 12B active sparse MoE (42 layers, 256 routed experts top-6 + 2 shared),
|
| 16 |
+
text + image + audio in, text out.
|
| 17 |
+
|
| 18 |
+
See also: [`ToPo-ToPo/Inkling-Small-mlx-4bit`](https://huggingface.co/ToPo-ToPo/Inkling-Small-mlx-4bit).
|
| 19 |
+
|
| 20 |
+
## Provenance (self-converted from official weights)
|
| 21 |
+
- Source: [`thinkingmachines/Inkling-Small`](https://huggingface.co/thinkingmachines/Inkling-Small) (license: apache-2.0, bf16, 531.9 GB)
|
| 22 |
+
- Tool: `mlx-vlm 0.6.7` — `mlx_vlm.convert --hf-path <staged> --mlx-path . -q --q-bits 2 --q-group-size 64`
|
| 23 |
+
- Effective: **2.506 bits/weight** (77 GiB on disk, ~83.5 GB peak RSS at inference)
|
| 24 |
+
|
| 25 |
+
## Config translation (already applied here)
|
| 26 |
+
|
| 27 |
+
The official `config.json` cannot be loaded by `mlx-vlm` as published — its schema uses different key names
|
| 28 |
+
than `mlx_vlm.models.inkling` expects. This repo ships the translated config, so no action is needed:
|
| 29 |
+
|
| 30 |
+
| Key | Official | Here |
|
| 31 |
+
| --- | --- | --- |
|
| 32 |
+
| `model_type` | `inkling_mm_model` | `inkling` |
|
| 33 |
+
| `text_config.intermediate_size` | 2048 (expert width) | 16384 (dense width) |
|
| 34 |
+
| `text_config.moe_intermediate_size` | — (was `intermediate_size`) | 2048 |
|
| 35 |
+
| `vision_config.text_hidden_size` | `decoder_dmodel` | 4096 |
|
| 36 |
+
| `audio_config.text_hidden_size` | `decoder_dmodel` | 4096 |
|
| 37 |
+
| `vision_config.num_channels` | `n_channels` | 3 |
|
| 38 |
+
| `tokenizer_config.pad_token` / `eos_token` | unset | `<\|endoftext\|>` / `<\|content_model_end_sampling\|>` |
|
| 39 |
+
|
| 40 |
+
`image_token_id` / `audio_token_id` are left unset so that mlx-vlm's defaults (200054 / 200053) apply —
|
| 41 |
+
those are the placeholders `InklingProcessor` actually emits.
|
| 42 |
+
|
| 43 |
+
## Loader shim (required)
|
| 44 |
+
|
| 45 |
+
`mlx-vlm` 0.6.7 and 0.6.8 need two patches at runtime for any Inkling checkpoint. Apply them before `load()`:
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
from mlx_vlm.models import inkling
|
| 49 |
+
from mlx_vlm.models.inkling import config as inkling_config
|
| 50 |
+
from mlx_vlm import prompt_utils
|
| 51 |
+
|
| 52 |
+
# 1. models/inkling does not re-export its sub-config classes, which the generic
|
| 53 |
+
# loader fetches with getattr -> AttributeError on load.
|
| 54 |
+
for name in ("TextConfig", "VisionConfig", "AudioConfig"):
|
| 55 |
+
setattr(inkling, name, getattr(inkling_config, name))
|
| 56 |
+
|
| 57 |
+
# 2. prompt_utils.MODEL_CONFIG has no "inkling" entry, so apply_chat_template treats
|
| 58 |
+
# the model as text-only and drops image/audio parts.
|
| 59 |
+
prompt_utils.MODEL_CONFIG.setdefault("inkling", prompt_utils.MessageFormat.LIST_WITH_IMAGE_FIRST)
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
When serving over `mlx_vlm.server`, also add Inkling's structural tokens to
|
| 63 |
+
`mlx_vlm.server.responses_state._CONTENT_MARKERS` (`<|message_model|>`, `<|content_text|>`,
|
| 64 |
+
`<|end_message|>`) and set `MLX_VLM_THINKING_START_TOKEN=<|content_thinking|>` /
|
| 65 |
+
`MLX_VLM_THINKING_END_TOKEN=<|end_message|>`, so the reasoning channel and those markers do not
|
| 66 |
+
end up in `content`.
|
| 67 |
+
|
| 68 |
+
## Reasoning effort
|
| 69 |
+
|
| 70 |
+
The chat template always injects a `Thinking effort level:` system message (default **0.9**). Control it
|
| 71 |
+
with the OpenAI-compatible `reasoning_effort` — `"none"` / `"minimal"` / `"low"` / `"medium"` / `"high"` /
|
| 72 |
+
`"max"`, or a float in `[0.0, 0.99]`. `"none"` disables thinking entirely.
|
| 73 |
+
|
| 74 |
+
## Usage
|
| 75 |
+
|
| 76 |
+
```python
|
| 77 |
+
from mlx_vlm import load, generate
|
| 78 |
+
model, processor = load("ToPo-ToPo/Inkling-Small-mlx-2bit") # apply the shim above first
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
The first load reads 77 GiB, so allow a few minutes and raise any client-side startup timeouts accordingly.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set effort_map = {"none": 0.0, "minimal": 0.1, "low": 0.2, "medium": 0.7, "high": 0.9, "max": 0.99} -%}
|
| 2 |
+
{%- set role_token = {"user": "<|message_user|>", "assistant": "<|message_model|>", "system": "<|message_system|>", "tool": "<|message_tool|>"} -%}
|
| 3 |
+
|
| 4 |
+
{%- macro emit_thinking_effort() -%}
|
| 5 |
+
{%- set eff = reasoning_effort if reasoning_effort is defined and reasoning_effort is not none else 0.9 -%}
|
| 6 |
+
{%- if eff is string -%}
|
| 7 |
+
{%- set key = eff | trim -%}
|
| 8 |
+
{%- if key not in effort_map -%}
|
| 9 |
+
{{- raise_exception("Unknown reasoning_effort: " ~ eff) -}}
|
| 10 |
+
{%- endif -%}
|
| 11 |
+
{%- set num = effort_map[key] -%}
|
| 12 |
+
{%- else -%}
|
| 13 |
+
{%- set num = eff | float -%}
|
| 14 |
+
{%- endif -%}
|
| 15 |
+
{%- if num < 0.0 or num > 0.99 -%}
|
| 16 |
+
{{- raise_exception("reasoning_effort must be in [0.0, 0.99]") -}}
|
| 17 |
+
{%- endif -%}
|
| 18 |
+
{{- "<|message_system|><|content_text|>Thinking effort level: " -}}
|
| 19 |
+
{%- if num == 0.0 -%}0{%- else -%}{{ num }}{%- endif -%}
|
| 20 |
+
{{- "<|end_message|>" -}}
|
| 21 |
+
{%- endmacro -%}
|
| 22 |
+
|
| 23 |
+
{%- if tools -%}
|
| 24 |
+
{%- set tool_state = namespace(specs=[]) -%}
|
| 25 |
+
{%- for tool in tools -%}
|
| 26 |
+
{%- set fn = tool.function if tool.function is defined else tool -%}
|
| 27 |
+
{%- set spec = {
|
| 28 |
+
"description": (fn.description if fn.description is defined and fn.description else ""),
|
| 29 |
+
"name": fn.name,
|
| 30 |
+
"parameters": (fn.parameters if fn.parameters is defined and fn.parameters else {}),
|
| 31 |
+
"type": (tool.type if tool.type is defined and tool.type else "function"),
|
| 32 |
+
} -%}
|
| 33 |
+
{%- set tool_state.specs = tool_state.specs + [spec] -%}
|
| 34 |
+
{%- endfor -%}
|
| 35 |
+
{{- "<|message_system|>tool_declare<|content_xml|>" -}}
|
| 36 |
+
{{- tool_state.specs | tojson(sort_keys=true, separators=(",", ":")) -}}
|
| 37 |
+
{{- "<|end_message|>" -}}
|
| 38 |
+
{%- endif -%}
|
| 39 |
+
|
| 40 |
+
{%- set state = namespace(effort_emitted=false) -%}
|
| 41 |
+
{%- for message in messages -%}
|
| 42 |
+
{%- if message.role not in role_token -%}
|
| 43 |
+
{{- raise_exception("Unknown message role: " ~ message.role) -}}
|
| 44 |
+
{%- endif -%}
|
| 45 |
+
{%- if not state.effort_emitted and message.role != "system" -%}
|
| 46 |
+
{{- emit_thinking_effort() -}}
|
| 47 |
+
{%- set state.effort_emitted = true -%}
|
| 48 |
+
{%- endif -%}
|
| 49 |
+
|
| 50 |
+
{%- set rtok = role_token[message.role] -%}
|
| 51 |
+
|
| 52 |
+
{%- if message.role == "tool" -%}
|
| 53 |
+
{%- set tool_name_state = namespace(name="") -%}
|
| 54 |
+
{%- if message.name is defined and message.name -%}
|
| 55 |
+
{%- set tool_name_state.name = message.name -%}
|
| 56 |
+
{%- elif message.tool_call_id is defined and message.tool_call_id -%}
|
| 57 |
+
{%- for prev in messages -%}
|
| 58 |
+
{%- if prev.role == "assistant" and prev.tool_calls -%}
|
| 59 |
+
{%- for tc in prev.tool_calls -%}
|
| 60 |
+
{%- if tc.id is defined and tc.id == message.tool_call_id and tc.function.name is defined -%}
|
| 61 |
+
{%- set tool_name_state.name = tc.function.name -%}
|
| 62 |
+
{%- endif -%}
|
| 63 |
+
{%- endfor -%}
|
| 64 |
+
{%- endif -%}
|
| 65 |
+
{%- endfor -%}
|
| 66 |
+
{%- endif -%}
|
| 67 |
+
{{- rtok -}}
|
| 68 |
+
{%- if tool_name_state.name -%}{{- tool_name_state.name -}}{%- endif -%}
|
| 69 |
+
{{- "<|content_text|>" -}}
|
| 70 |
+
{%- if message.content is string -%}{{- message.content -}}{%- endif -%}
|
| 71 |
+
{{- "<|end_message|>" -}}
|
| 72 |
+
|
| 73 |
+
{%- else -%}
|
| 74 |
+
{%- if message.role == "assistant" and message.reasoning_content is defined and message.reasoning_content -%}
|
| 75 |
+
{{- "<|message_model|><|content_thinking|>" ~ message.reasoning_content ~ "<|end_message|>" -}}
|
| 76 |
+
{%- endif -%}
|
| 77 |
+
|
| 78 |
+
{%- if message.content is string -%}
|
| 79 |
+
{{- rtok ~ "<|content_text|>" ~ message.content ~ "<|end_message|>" -}}
|
| 80 |
+
{%- elif message.content -%}
|
| 81 |
+
{%- for part in message.content -%}
|
| 82 |
+
{%- if part is string -%}
|
| 83 |
+
{{- rtok ~ "<|content_text|>" ~ part ~ "<|end_message|>" -}}
|
| 84 |
+
{%- elif part.type is not defined or part.type in ("text", "input_text") -%}
|
| 85 |
+
{%- set text_part = (part.text if part.text is defined and part.text is string else "") -%}
|
| 86 |
+
{{- rtok ~ "<|content_text|>" ~ text_part ~ "<|end_message|>" -}}
|
| 87 |
+
{%- elif part.type in ("image", "input_image", "image_url") -%}
|
| 88 |
+
{{- rtok ~ "<|content_image|><|unused_200054|><|end_message|>" -}}
|
| 89 |
+
{%- elif part.type in ("audio", "input_audio", "audio_url") -%}
|
| 90 |
+
{{- rtok ~ "<|content_audio_input|><|unused_200053|><|audio_end|><|end_message|>" -}}
|
| 91 |
+
{%- else -%}
|
| 92 |
+
{{- raise_exception("Unsupported content part type: " ~ part.type) -}}
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- endfor -%}
|
| 95 |
+
{%- endif -%}
|
| 96 |
+
|
| 97 |
+
{%- if message.role == "assistant" and message.tool_calls -%}
|
| 98 |
+
{%- for tc in message.tool_calls -%}
|
| 99 |
+
{%- set fn = tc.function -%}
|
| 100 |
+
{%- if fn.name is not defined or fn.name is not string -%}
|
| 101 |
+
{{- raise_exception("tool call function name must be a string") -}}
|
| 102 |
+
{%- endif -%}
|
| 103 |
+
{%- set args = fn.arguments if fn.arguments is defined and fn.arguments else {} -%}
|
| 104 |
+
{%- if args is string -%}
|
| 105 |
+
{{- raise_exception("tool call arguments must be a parsed object, not a JSON string; canonicalize upstream") -}}
|
| 106 |
+
{%- endif -%}
|
| 107 |
+
{%- if args is not mapping -%}
|
| 108 |
+
{{- raise_exception("tool call arguments must be an object") -}}
|
| 109 |
+
{%- endif -%}
|
| 110 |
+
{{- "<|message_model|>" ~ fn.name ~ "<|content_invoke_tool_json|>" -}}
|
| 111 |
+
{{- '{"name":' ~ (fn.name | tojson(sort_keys=true, separators=(",", ":"))) ~ ',"args":' -}}
|
| 112 |
+
{{- (args | tojson(sort_keys=true, separators=(",", ":"))) -}}
|
| 113 |
+
{{- "}<|end_message|>" -}}
|
| 114 |
+
{%- endfor -%}
|
| 115 |
+
{%- endif -%}
|
| 116 |
+
|
| 117 |
+
{%- if message.role == "assistant" -%}
|
| 118 |
+
{{- "<|content_model_end_sampling|>" -}}
|
| 119 |
+
{%- endif -%}
|
| 120 |
+
{%- endif -%}
|
| 121 |
+
{%- endfor -%}
|
| 122 |
+
|
| 123 |
+
{%- if not state.effort_emitted -%}
|
| 124 |
+
{{- emit_thinking_effort() -}}
|
| 125 |
+
{%- endif -%}
|
| 126 |
+
|
| 127 |
+
{%- if add_generation_prompt -%}
|
| 128 |
+
{{- "<|message_model|>" -}}
|
| 129 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"InklingForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"audio_config": {
|
| 6 |
+
"n_mel_bins": 80,
|
| 7 |
+
"mel_vocab_size": 16,
|
| 8 |
+
"bias": false,
|
| 9 |
+
"dmel_min_value": -7.0,
|
| 10 |
+
"dmel_max_value": 2.0,
|
| 11 |
+
"use_audio_norm": true,
|
| 12 |
+
"audio_mode": "dmel",
|
| 13 |
+
"text_hidden_size": 4096
|
| 14 |
+
},
|
| 15 |
+
"eos_token_id": 200006,
|
| 16 |
+
"model_type": "inkling",
|
| 17 |
+
"mtp_config": {
|
| 18 |
+
"num_nextn_predict_layers": 8,
|
| 19 |
+
"chain_hidden_post_norm": false,
|
| 20 |
+
"local_layer_ids": [
|
| 21 |
+
0,
|
| 22 |
+
2,
|
| 23 |
+
4,
|
| 24 |
+
5,
|
| 25 |
+
6,
|
| 26 |
+
7
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"quantization": {
|
| 30 |
+
"group_size": 64,
|
| 31 |
+
"bits": 2,
|
| 32 |
+
"mode": "affine"
|
| 33 |
+
},
|
| 34 |
+
"quantization_config": {
|
| 35 |
+
"group_size": 64,
|
| 36 |
+
"bits": 2,
|
| 37 |
+
"mode": "affine"
|
| 38 |
+
},
|
| 39 |
+
"text_config": {
|
| 40 |
+
"model_max_length": 1048576,
|
| 41 |
+
"torch_dtype": "bfloat16",
|
| 42 |
+
"hidden_size": 4096,
|
| 43 |
+
"num_hidden_layers": 42,
|
| 44 |
+
"vocab_size": 201024,
|
| 45 |
+
"num_attention_heads": 32,
|
| 46 |
+
"num_key_value_heads": 8,
|
| 47 |
+
"head_dim": 128,
|
| 48 |
+
"d_rel": 16,
|
| 49 |
+
"rel_extent": 1024,
|
| 50 |
+
"q_bias": false,
|
| 51 |
+
"o_bias": false,
|
| 52 |
+
"log_scaling_n_floor": 128000,
|
| 53 |
+
"log_scaling_alpha": 0.1,
|
| 54 |
+
"rms_norm_eps": 1e-06,
|
| 55 |
+
"use_embed_norm": true,
|
| 56 |
+
"local_layer_ids": [
|
| 57 |
+
0,
|
| 58 |
+
1,
|
| 59 |
+
2,
|
| 60 |
+
3,
|
| 61 |
+
4,
|
| 62 |
+
6,
|
| 63 |
+
7,
|
| 64 |
+
8,
|
| 65 |
+
9,
|
| 66 |
+
10,
|
| 67 |
+
12,
|
| 68 |
+
13,
|
| 69 |
+
14,
|
| 70 |
+
15,
|
| 71 |
+
16,
|
| 72 |
+
18,
|
| 73 |
+
19,
|
| 74 |
+
20,
|
| 75 |
+
21,
|
| 76 |
+
22,
|
| 77 |
+
24,
|
| 78 |
+
25,
|
| 79 |
+
26,
|
| 80 |
+
27,
|
| 81 |
+
28,
|
| 82 |
+
30,
|
| 83 |
+
31,
|
| 84 |
+
32,
|
| 85 |
+
33,
|
| 86 |
+
34,
|
| 87 |
+
36,
|
| 88 |
+
37,
|
| 89 |
+
38,
|
| 90 |
+
39,
|
| 91 |
+
40
|
| 92 |
+
],
|
| 93 |
+
"dense_mlp_idx": 2,
|
| 94 |
+
"use_sconv": true,
|
| 95 |
+
"sconv_kernel_size": 4,
|
| 96 |
+
"unpadded_vocab_size": 200058,
|
| 97 |
+
"logits_mup_width_multiplier": 16.0,
|
| 98 |
+
"final_logit_softcapping": null,
|
| 99 |
+
"swa_head_dim": 128,
|
| 100 |
+
"swa_num_attention_heads": 32,
|
| 101 |
+
"swa_num_key_value_heads": 8,
|
| 102 |
+
"sliding_window_size": 512,
|
| 103 |
+
"n_routed_experts": 256,
|
| 104 |
+
"num_experts_per_tok": 6,
|
| 105 |
+
"n_shared_experts": 2,
|
| 106 |
+
"shared_expert_sink": true,
|
| 107 |
+
"intermediate_size": 16384,
|
| 108 |
+
"route_scale": 8.0,
|
| 109 |
+
"use_gate_bias": true,
|
| 110 |
+
"gate_activation": "sigmoid",
|
| 111 |
+
"norm_after_topk": true,
|
| 112 |
+
"use_global_scale": true,
|
| 113 |
+
"moe_intermediate_size": 2048
|
| 114 |
+
},
|
| 115 |
+
"vision_config": {
|
| 116 |
+
"vision_encoder_type": "hmlp",
|
| 117 |
+
"patch_size": 40,
|
| 118 |
+
"temporal_patch_size": 2,
|
| 119 |
+
"n_layers": 4,
|
| 120 |
+
"use_vision_norm": true,
|
| 121 |
+
"num_channels": 3,
|
| 122 |
+
"text_hidden_size": 4096
|
| 123 |
+
}
|
| 124 |
+
}
|
model-00001-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27171f0f989f1a71f35c7d8967f8e5f6506608eb46e2326911f0d52b11f97ff5
|
| 3 |
+
size 5187900962
|
model-00002-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:837e7c88b8f4043486cd9b69d811a3753ef036ea7fe3d1309a21dd4c5678abf5
|
| 3 |
+
size 5365071335
|
model-00003-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dced781d910d705a8ee86b11c7c49d1932a82cb2ff90af7105b618e0ba131c19
|
| 3 |
+
size 4859909583
|
model-00004-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f62312f7e5dd3c8f803e1134fc8371b6406147b6b22442d4286a2402007b060
|
| 3 |
+
size 5365071471
|
model-00005-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4918dbdb9ca2add617b0c61fa579c80f3999f101c324e9919246831ac5365b6f
|
| 3 |
+
size 4859909727
|
model-00006-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:295e1bcd71c1f2d308c8a7ba14010e0a52e5416563835a15899fc401f7753f79
|
| 3 |
+
size 5365055039
|
model-00007-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:812490c0da651ff7dac6d62f1b3c98c29c7e86dc3bc453af998b02c3a2a3d68f
|
| 3 |
+
size 4859926156
|
model-00008-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0aef9a454632bd934919ab64e0b3fbd4bd60df94e41b63e9b805827664cff6ca
|
| 3 |
+
size 5365055095
|
model-00009-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28f63ef9294524befb334d8a4c2ebee35ba0a5e1d02561706d95a6fd478285f5
|
| 3 |
+
size 4859926148
|
model-00010-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81177d8a971d5bedad9c17ad6a55213a2210cf06dcc119d39dd3960371f58bf8
|
| 3 |
+
size 5365055043
|
model-00011-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90b808b6f4add8fa09db3a73d6c1b8058890f3c2e4a015184607de77b695480f
|
| 3 |
+
size 4859926158
|
model-00012-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ffa3548e85648edd71660902223fdbae20c2a99b1b9a3a022654af3ea1ed89a
|
| 3 |
+
size 5365055103
|
model-00013-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:108804d405ced5048a9d0932e554e9ee6a208c3d5070eefc28e1acb1a0e7d8b5
|
| 3 |
+
size 4859909783
|
model-00014-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4b8834eb749e562dcbd18f4c51f0bfa1cd7f5eed90b536b45bf54eaf3c0789c
|
| 3 |
+
size 5365071424
|
model-00015-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b38c9613579e1c87572c858d52b23f8164eedb583da034b10d18c0e28afbe78
|
| 3 |
+
size 4859909735
|
model-00016-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75b84c0d634641218f19928945dfeee90e6eb9ab94d0527f977beb411ef47c60
|
| 3 |
+
size 5365071474
|
model-00017-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d738dee26b15bd4fcd42f19ef4f73554f8820de2e118adca4448c70be4ccd11
|
| 3 |
+
size 478896590
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
processor_config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_bos_token": "<|content_audio_input|>",
|
| 3 |
+
"audio_token": "<|unused_200053|>",
|
| 4 |
+
"dmel_max_value": 2.0,
|
| 5 |
+
"dmel_min_value": -7.0,
|
| 6 |
+
"feature_extractor": {
|
| 7 |
+
"audio_token_duration_s": 0.05,
|
| 8 |
+
"feature_extractor_type": "InklingFeatureExtractor",
|
| 9 |
+
"feature_size": 80,
|
| 10 |
+
"hop_length": 800,
|
| 11 |
+
"n_fft": 1600,
|
| 12 |
+
"padding_side": "right",
|
| 13 |
+
"padding_value": 0.0,
|
| 14 |
+
"return_attention_mask": true,
|
| 15 |
+
"sampling_rate": 16000,
|
| 16 |
+
"window_size": 1600,
|
| 17 |
+
"window_size_multiplier": 2.0
|
| 18 |
+
},
|
| 19 |
+
"image_bos_token": "<|content_image|>",
|
| 20 |
+
"image_processor": {
|
| 21 |
+
"do_convert_rgb": true,
|
| 22 |
+
"do_normalize": true,
|
| 23 |
+
"do_rescale": true,
|
| 24 |
+
"do_resize": true,
|
| 25 |
+
"image_mean": [
|
| 26 |
+
0.48145466,
|
| 27 |
+
0.4578275,
|
| 28 |
+
0.40821073
|
| 29 |
+
],
|
| 30 |
+
"image_processor_type": "InklingImageProcessor",
|
| 31 |
+
"image_std": [
|
| 32 |
+
0.26862954,
|
| 33 |
+
0.26130258,
|
| 34 |
+
0.27577711
|
| 35 |
+
],
|
| 36 |
+
"resample": 3,
|
| 37 |
+
"rescale_factor": 0.00392156862745098,
|
| 38 |
+
"rescale_image_max_upscaled_long_edge": 2048,
|
| 39 |
+
"size": {
|
| 40 |
+
"height": 40,
|
| 41 |
+
"width": 40
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"image_token": "<|unused_200054|>",
|
| 45 |
+
"num_dmel_bins": 16,
|
| 46 |
+
"processor_class": "InklingProcessor"
|
| 47 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|endoftext|>",
|
| 4 |
+
"<|message_user|>",
|
| 5 |
+
"<|message_model|>",
|
| 6 |
+
"<|message_system|>",
|
| 7 |
+
"<|message_tool|>",
|
| 8 |
+
"<|content_text|>",
|
| 9 |
+
"<|content_image|>",
|
| 10 |
+
"<|content_model_end_sampling|>",
|
| 11 |
+
"<|content_thinking|>",
|
| 12 |
+
"<|end_message|>",
|
| 13 |
+
"<|content_audio_input|>",
|
| 14 |
+
"<|content_tool_error|>",
|
| 15 |
+
"<|audio|>",
|
| 16 |
+
"<|content_xml|>",
|
| 17 |
+
"<|begin_of_text|>",
|
| 18 |
+
"<|audio_end|>",
|
| 19 |
+
"<|content_invoke_tool_json|>",
|
| 20 |
+
"<|content_invoke_tool_text|>"
|
| 21 |
+
]
|
| 22 |
+
}
|
tiktoken/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc253fd2b702f7a6da7105eaa8f3463b2f1247e83614f23e5323b921088bed2a
|
| 3 |
+
size 3615874
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c470271fb7649eef922e660e757b5f076e2a94adc20df7fad7df85c46bc48eac
|
| 3 |
+
size 27875796
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio": "<|audio|>",
|
| 3 |
+
"audio_end": "<|audio_end|>",
|
| 4 |
+
"backend": "tokenizers",
|
| 5 |
+
"begin_of_text": "<|begin_of_text|>",
|
| 6 |
+
"clean_up_tokenization_spaces": false,
|
| 7 |
+
"content_audio_input": "<|content_audio_input|>",
|
| 8 |
+
"content_image": "<|content_image|>",
|
| 9 |
+
"content_invoke_tool_json": "<|content_invoke_tool_json|>",
|
| 10 |
+
"content_invoke_tool_text": "<|content_invoke_tool_text|>",
|
| 11 |
+
"content_model_end_sampling": "<|content_model_end_sampling|>",
|
| 12 |
+
"content_text": "<|content_text|>",
|
| 13 |
+
"content_thinking": "<|content_thinking|>",
|
| 14 |
+
"content_tool_error": "<|content_tool_error|>",
|
| 15 |
+
"content_xml": "<|content_xml|>",
|
| 16 |
+
"end_message": "<|end_message|>",
|
| 17 |
+
"endoftext": "<|endoftext|>",
|
| 18 |
+
"eos_token": "<|content_model_end_sampling|>",
|
| 19 |
+
"fix_mistral_regex": false,
|
| 20 |
+
"is_local": true,
|
| 21 |
+
"local_files_only": false,
|
| 22 |
+
"message_model": "<|message_model|>",
|
| 23 |
+
"message_system": "<|message_system|>",
|
| 24 |
+
"message_tool": "<|message_tool|>",
|
| 25 |
+
"message_user": "<|message_user|>",
|
| 26 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 27 |
+
"model_specific_special_tokens": {
|
| 28 |
+
"audio": "<|audio|>",
|
| 29 |
+
"audio_end": "<|audio_end|>",
|
| 30 |
+
"begin_of_text": "<|begin_of_text|>",
|
| 31 |
+
"content_audio_input": "<|content_audio_input|>",
|
| 32 |
+
"content_image": "<|content_image|>",
|
| 33 |
+
"content_invoke_tool_json": "<|content_invoke_tool_json|>",
|
| 34 |
+
"content_invoke_tool_text": "<|content_invoke_tool_text|>",
|
| 35 |
+
"content_model_end_sampling": "<|content_model_end_sampling|>",
|
| 36 |
+
"content_text": "<|content_text|>",
|
| 37 |
+
"content_thinking": "<|content_thinking|>",
|
| 38 |
+
"content_tool_error": "<|content_tool_error|>",
|
| 39 |
+
"content_xml": "<|content_xml|>",
|
| 40 |
+
"end_message": "<|end_message|>",
|
| 41 |
+
"endoftext": "<|endoftext|>",
|
| 42 |
+
"message_model": "<|message_model|>",
|
| 43 |
+
"message_system": "<|message_system|>",
|
| 44 |
+
"message_tool": "<|message_tool|>",
|
| 45 |
+
"message_user": "<|message_user|>"
|
| 46 |
+
},
|
| 47 |
+
"pad_token": "<|endoftext|>",
|
| 48 |
+
"processor_class": "InklingProcessor",
|
| 49 |
+
"tokenizer_class": "TokenizersBackend"
|
| 50 |
+
}
|