Image-Text-to-Text
Transformers
Safetensors
minimax_m3_vl
multimodal
Mixture of Experts
agent
coding
video
conversational
custom_code
Eval Results
8-bit precision
mxfp8
Run this model with HF Jobs
Run MiniMaxAI/MiniMax-M3.1-Flash on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use MiniMaxAI/MiniMax-M3.1-Flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MiniMaxAI/MiniMax-M3.1-Flash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="MiniMaxAI/MiniMax-M3.1-Flash", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("MiniMaxAI/MiniMax-M3.1-Flash", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("MiniMaxAI/MiniMax-M3.1-Flash", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MiniMaxAI/MiniMax-M3.1-Flash with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MiniMaxAI/MiniMax-M3.1-Flash" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MiniMaxAI/MiniMax-M3.1-Flash", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/MiniMaxAI/MiniMax-M3.1-Flash
- SGLang
How to use MiniMaxAI/MiniMax-M3.1-Flash with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MiniMaxAI/MiniMax-M3.1-Flash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MiniMaxAI/MiniMax-M3.1-Flash", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MiniMaxAI/MiniMax-M3.1-Flash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MiniMaxAI/MiniMax-M3.1-Flash", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use MiniMaxAI/MiniMax-M3.1-Flash with Docker Model Runner:
docker model run hf.co/MiniMaxAI/MiniMax-M3.1-Flash
Add DSpark tokenizer files and update chat template
#5
by ryanlee-dev - opened
Files changed (8)
- chat_template.jinja+8-1
- dspark/added_tokens.jsonAdded+63
- dspark/chat_template.jinjaAdded+255
- dspark/merges.txtAdded
- dspark/special_tokens_map.jsonAdded+16
- dspark/tokenizer.jsonAdded
- dspark/tokenizer_config.jsonAdded+501
- dspark/vocab.jsonAdded
8 unmodified lines9101112131435 unmodified lines50515253545525 unmodified lines81828384858687129 unmodified lines2172182192202212228 unmodified lines{%- set think_end_token = '</mm:think>' -%}{%- set image_token = ']<]image[>[' -%}{%- set video_token = ']<]video[>[' -%}{#- Recursive XML renderer for tool_call arguments ======================== -#}{#- None values are intentionally skipped in mapping iteration so that`<key>null</key>` (which would round-trip to the literal string "null")35 unmodified lines{{- image_token }}{%- elif item is mapping and item.type == 'video' -%}{{- video_token }}{%- elif item is string -%}{{- item }}{%- endif -%}25 unmodified lines{{- 'You have a thinking capability that allows you to reason step by step before responding. When thinking is enabled, wrap your reasoning in ' ~ think_begin_token ~ think_end_token ~ ' tags before your response. When thinking is disabled, begin your response directly after the ' ~ think_end_token ~ ' prefix. When thinking is adaptive, decide on your own whether to think for the current turn.\n' }}{{- 'Current thinking mode: adaptive. You are encouraged to think for complex decision-making, multi-step reasoning, or when analyzing function/tool results.\n' }}{{- '</thinking_instructions>' }}{{- '\n\n<model_id>8bb8149fe</model_id>' }}{%- if reasoning_effort is defined and reasoning_effort is not none -%}{{- '\n\n<effort>' ~ reasoning_effort ~ '</effort>' }}{%- elif effort is defined and effort is not none -%}129 unmodified lines{{- image_token }}{%- elif tr is mapping and tr.type is defined and tr.type == 'video' -%}{{- video_token }}{%- else -%}{{- tr.output if tr.output is defined else (tr.text if tr.type == 'text' and tr.text is defined else tr) }}{%- endif -%}8 unmodified lines910111213141535 unmodified lines515253545556575825 unmodified lines848586878889909192129 unmodified lines2222232242252262272282298 unmodified lines{%- set think_end_token = '</mm:think>' -%}{%- set image_token = ']<]image[>[' -%}{%- set video_token = ']<]video[>[' -%}{%- set frame_token = ']<]frame[>[' -%}{#- Recursive XML renderer for tool_call arguments ======================== -#}{#- None values are intentionally skipped in mapping iteration so that`<key>null</key>` (which would round-trip to the literal string "null")35 unmodified lines{{- image_token }}{%- elif item is mapping and item.type == 'video' -%}{{- video_token }}{%- elif item is mapping and item.type == 'frame' -%}{{- frame_token}}{%- elif item is string -%}{{- item }}{%- endif -%}25 unmodified lines{{- 'You have a thinking capability that allows you to reason step by step before responding. When thinking is enabled, wrap your reasoning in ' ~ think_begin_token ~ think_end_token ~ ' tags before your response. When thinking is disabled, begin your response directly after the ' ~ think_end_token ~ ' prefix. When thinking is adaptive, decide on your own whether to think for the current turn.\n' }}{{- 'Current thinking mode: adaptive. You are encouraged to think for complex decision-making, multi-step reasoning, or when analyzing function/tool results.\n' }}{{- '</thinking_instructions>' }}{%- if template_model_id is defined -%}{{- '\n\n<model_id>' ~ template_model_id ~ '</model_id>' }}{%- endif -%}{%- if reasoning_effort is defined and reasoning_effort is not none -%}{{- '\n\n<effort>' ~ reasoning_effort ~ '</effort>' }}{%- elif effort is defined and effort is not none -%}129 unmodified lines{{- image_token }}{%- elif tr is mapping and tr.type is defined and tr.type == 'video' -%}{{- video_token }}{%- elif tr is mapping and tr.type is defined and tr.type == 'frame' -%}{{- frame_token }}{%- else -%}{{- tr.output if tr.output is defined else (tr.text if tr.type == 'text' and tr.text is defined else tr) }}{%- endif -%}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ "]!p~[": 200000, "<fim_prefix>": 200001, "<fim_middle>": 200002, "<fim_suffix>": 200003, "<fim_pad>": 200004, "<reponame>": 200005, "<filename>": 200006, "<gh_stars>": 200007, "<issue_start>": 200008, "<issue_comment>": 200009, "<issue_closed>": 200010, "<jupyter_start>": 200011, "<jupyter_text>": 200012, "<jupyter_code>": 200013, "<jupyter_output>": 200014, "<empty_output>": 200015, "<commit_before>": 200016, "<commit_msg>": 200017, "<commit_after>": 200018, "]~b]": 200019, "[e~[": 200020, "]!d~[": 200021, "<function_call>": 200022, "<code_interpreter>": 200023, "]<]speech[>[": 200024, "]<]image[>[": 200025, "]<]video[>[": 200026, "]<]start of speech[>[": 200027, "]<]end of speech[>[": 200028, "]<]start of image[>[": 200029, "]<]end of image[>[": 200030, "]<]start of video[>[": 200031, "]<]end of video[>[": 200032, "]<]vision pad[>[": 200033, "]~!b[": 200034, "<jupyter_error>": 200035, "<add_file>": 200036, "<delete_file>": 200037, "<rename_file>": 200038, "<edit_file>": 200039, "<commit_message>": 200040, "<empty_source_file>": 200041, "<repo_struct>": 200042, "<code_context>": 200043, "<file_content>": 200044, "<source_files>": 200045, "<pr_start>": 200046, "<review_comment>": 200047, "<filepath>": 200048, "<file_sep>": 200049, "<think>": 200050, "</think>": 200051, "<tool_call>": 200052, "</tool_call>": 200053, "]<]frame[>[": 200054, "]<]start of frame[>[": 200055, "]<]end of frame[>[": 200056, "<|content_altered_placeholder|>": 200057, "]<]minimax[>[": 200058, "<mm:think>": 200059, "</mm:think>": 200060}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255{# ---------- special token variables ---------- #}{%- set ns_token = ']<]minimax[>[' -%}{%- set bod_token = ']~!b[' -%}{%- set bos_token = ']~b]' -%}{%- set eos_token = '[e~[' -%}{%- set toolcall_begin_token = ns_token ~ '<tool_call>' -%}{%- set toolcall_end_token = ns_token ~ '</tool_call>' -%}{%- set think_begin_token = '<mm:think>' -%}{%- set think_end_token = '</mm:think>' -%}{%- set image_token = ']<]image[>[' -%}{%- set video_token = ']<]video[>[' -%}{%- set frame_token = ']<]frame[>[' -%}{#- Recursive XML renderer for tool_call arguments ======================== -#}{#- None values are intentionally skipped in mapping iteration so that `<key>null</key>` (which would round-trip to the literal string "null") never appears in the rendered tool_call. The convention is: omit the field entirely. The top-level `_args` loop applies the same rule. The `val is none` branch below is a safety net only — upstream cleaning (drop_none_in_tool_arguments) should ensure no None ever reaches here. -#}{%- macro to_xml(val, ns) -%}{%- if val is mapping -%}{%- for k, v in val.items() if v is not none -%}{{ ns }}<{{ k }}>{{ to_xml(v, ns) }}{{ ns }}</{{ k }}>{%- endfor -%}{%- elif val is iterable and val is not string -%}{%- for item in val -%}{{ ns }}<item>{{ to_xml(item, ns) }}{{ ns }}</item>{%- endfor -%}{%- elif val is none -%}{#- Should be unreachable when upstream cleaning is applied. -#}{%- elif val is boolean -%}{{ val | tojson }}{%- else -%}{{ val }}{%- endif -%}{%- endmacro -%}{#- Tool Rendering Functions ============================================== -#}{%- macro render_tool_namespace(namespace_name, tool_list) -%}{%- for tool in tool_list -%}<tool>{{ tool.function | tojson(ensure_ascii=False) }}</tool>{% endfor -%}{%- endmacro -%}{%- macro visible_text(content) -%} {%- if content is string -%} {{ content }} {%- elif content is iterable and content is not mapping -%} {%- for item in content -%} {%- if item is mapping and item.type == 'text' -%} {{- item.text }} {%- elif item is mapping and item.type == 'image' -%} {{- image_token }} {%- elif item is mapping and item.type == 'video' -%} {{- video_token }} {%- elif item is mapping and item.type == 'frame' -%} {{- frame_token}} {%- elif item is string -%} {{- item }} {%- endif -%} {%- endfor -%} {%- elif content is none -%} {{- '' }} {%- else -%} {{- content }} {%- endif -%}{%- endmacro -%}{#- System Message Construction ============================================ -#}{%- macro build_system_message(system_message) -%} {%- if system_message and system_message.content -%} {{- visible_text(system_message.content) }} {#- Handle current_date -#} {%- if system_message.current_date -%} {{- '\n' ~ 'Current date: ' + system_message.current_date }} {%- endif -%} {#- Handle current_location -#} {%- if system_message.current_location -%} {{- '\n' ~ 'Current location: ' + system_message.current_location }} {%- endif -%} {%- else -%} {{- 'Your model version is MiniMax-M3.1, developed by MiniMax. Knowledge cutoff: January 2026. Founded in early 2022, MiniMax is a global AI foundation model company committed to advancing the frontiers of AI towards AGI.' }} {%- endif -%}
{#- Thinking mode instructions -#} {{- '\n\n<thinking_instructions>\n' }} {{- 'You have a thinking capability that allows you to reason step by step before responding. When thinking is enabled, wrap your reasoning in ' ~ think_begin_token ~ think_end_token ~ ' tags before your response. When thinking is disabled, begin your response directly after the ' ~ think_end_token ~ ' prefix. When thinking is adaptive, decide on your own whether to think for the current turn.\n' }} {{- 'Current thinking mode: adaptive. You are encouraged to think for complex decision-making, multi-step reasoning, or when analyzing function/tool results.\n' }} {{- '</thinking_instructions>' }} {%- if template_model_id is defined -%} {{- '\n\n<model_id>' ~ template_model_id ~ '</model_id>' }} {%- endif -%} {%- if reasoning_effort is defined and reasoning_effort is not none -%} {{- '\n\n<effort>' ~ reasoning_effort ~ '</effort>' }} {%- elif effort is defined and effort is not none -%} {{- '\n\n<effort>' ~ effort ~ '</effort>' }} {%- endif -%}{%- endmacro -%}{%- macro build_developer_message(developer_message) -%} {%- if developer_message and developer_message.content -%} {{- visible_text(developer_message.content) }} {%- else -%} {%- if model_identity is not defined -%} {%- set model_identity = "You are a helpful assistant." -%} {%- endif -%} {{- model_identity }} {%- endif -%}{%- endmacro -%}{#- Main Template Logic ================================================= -#}{#- Role mapping: root -> system sp (high priority), system/developer -> developer sp (low priority) -#}{%- set system_message = none -%}{%- set developer_message = none -%}{%- set conversation_messages = messages -%}{%- if messages and messages[0].role == "root" -%} {%- set system_message = messages[0] -%} {%- set conversation_messages = messages[1:] -%} {%- if conversation_messages and conversation_messages[0].role in ["system", "developer"] -%} {%- set developer_message = conversation_messages[0] -%} {%- set conversation_messages = conversation_messages[1:] -%} {%- endif -%}{%- elif messages and messages[0].role in ["system", "developer"] -%} {%- set developer_message = messages[0] -%} {%- set conversation_messages = messages[1:] -%}{%- endif -%}{#- Render system sp (higher priority, root role only) -#}{{- bod_token ~ bos_token ~ 'system' ~ '\n' }}{{- build_system_message(system_message) }}{{- eos_token ~ '\n' }}
{#- Render developer sp (lower priority: system/developer role + tools) -#}{{- bos_token ~ 'developer' ~ '\n' }}{{- build_developer_message(developer_message) }}{%- if tools -%} {{- '\n\n' ~ '# Tools' ~ '\n' ~ 'You may call one or more tools to assist with the user query.\nHere are the tools available in JSONSchema format:' ~ '\n' }} {{- '\n' ~ '<tools>' ~ '\n' }} {{- render_tool_namespace("functions", tools) }} {{- '</tools>' ~ '\n\n' }} {{- 'To call tools, wrap all invocations in a single ' ~ toolcall_begin_token ~ toolcall_end_token ~ ' block. Parameter values containing nested objects or arrays are recursively expanded into XML elements. Example:\n' }} {{- '\n' ~ toolcall_begin_token ~ '\n' }} {{- ns_token + '<invoke name="tool-name-1">' }} {{- ns_token + '<param-1>value-1' + ns_token + '</param-1>' }} {{- ns_token + '<param-2>' }} {{- ns_token + '<item>' }} {{- ns_token + '<key-a>val-a' + ns_token + '</key-a>' }} {{- ns_token + '<key-b>val-b' + ns_token + '</key-b>' }} {{- ns_token + '</item>' }} {{- ns_token + '</param-2>' }} {{- ns_token + '</invoke>\n' }} {{- ns_token + '<invoke name="tool-name-2">' }} {{- ns_token + '<param-1>value-1' + ns_token + '</param-1>' }} {{- ns_token + '</invoke>\n' }} {{- toolcall_end_token }}{%- endif -%}{{- eos_token ~ '\n' }}
{#- Render messages -#}{%- set last_tool_call = namespace(name=none) -%}{%- for message in conversation_messages -%} {%- if message.role == 'assistant' -%} {{- bos_token ~ 'ai' ~ '\n' }}
{%- set reasoning_content = '' %} {%- set content = visible_text(message.content) %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if think_end_token in content %} {%- set reasoning_content = content.split(think_end_token)[0].strip('\n').split(think_begin_token)[-1].strip('\n') %} {%- set content = content.split(think_end_token)[-1].strip('\n') %} {%- endif %} {%- endif %}
{%- if reasoning_content -%} {#- Render thinking for every assistant turn (all-turn visible) -#} {{- think_begin_token ~ reasoning_content ~ think_end_token }} {%- else -%} {#- No thinking rendered → prefix with think_end_token -#} {{- think_end_token }} {%- endif -%}
{%- if content -%} {{- content }} {%- endif -%} {%- if message.tool_calls -%} {{- toolcall_begin_token ~ '\n' }}
{%- for tool_call in message.tool_calls -%} {%- if tool_call.function -%} {%- set tool_call = tool_call.function -%} {%- endif -%}{{- ns_token + '<invoke name="' + tool_call.name + '">' }}{%- set _args = tool_call.arguments -%}{%- for k, v in _args.items() if v is not none %}{{- ns_token + '<' + k + '>' -}}{{- to_xml(v, ns_token) -}}{{- ns_token + '</' + k + '>' }}{%- endfor -%}{{- ns_token + '</invoke>' ~ '\n' }} {%- endfor -%}
{{- toolcall_end_token }} {%- if message.tool_calls[-1].function -%} {%- set last_tool_call.name = message.tool_calls[-1].function.name -%} {%- else -%} {%- set last_tool_call.name = message.tool_calls[-1].name -%} {%- endif -%} {%- else -%} {%- set last_tool_call.name = none -%} {%- endif -%} {{- eos_token ~ '\n' }}
{%- elif message.role == 'tool' -%} {%- if last_tool_call.name is none -%} {{- raise_exception("Message has tool role, but there was no previous assistant message with a tool call!") }} {%- endif -%} {%- if loop.first or (conversation_messages[loop.index0 - 1].role != 'tool') -%} {{- bos_token ~ 'tool' }} {%- endif -%} {{- '\n<response>' }} {%- if message.content is string -%} {{- message.content }} {%- else -%} {%- for tr in message.content -%} {%- if tr is mapping and tr.type is defined and tr.type == 'image' -%} {{- image_token }} {%- elif tr is mapping and tr.type is defined and tr.type == 'video' -%} {{- video_token }} {%- elif tr is mapping and tr.type is defined and tr.type == 'frame' -%} {{- frame_token }} {%- else -%} {{- tr.output if tr.output is defined else (tr.text if tr.type == 'text' and tr.text is defined else tr) }} {%- endif -%} {%- endfor -%} {%- endif -%} {{- '</response>' }} {%- if loop.last or (conversation_messages[loop.index0 + 1].role != 'tool') -%} {{- eos_token ~ '\n' -}} {%- endif -%}
{%- elif message.role in ['system', 'developer'] -%} {#- Mid-conversation system/developer messages keep their position and map to the lower-priority M3 developer role. -#} {{- bos_token ~ 'developer' ~ '\n' }} {{- build_developer_message(message) }} {{- eos_token ~ '\n' }}
{%- elif message.role == 'user' -%} {{- bos_token ~ 'user' ~ '\n' }} {{- visible_text(message.content) }} {{- eos_token ~ '\n' }} {%- endif -%}{%- endfor -%}
{#- Generation prompt -#}{%- if add_generation_prompt -%}{{- bos_token ~ 'ai' ~ '\n' }}{#- adaptive: no prefix, let model decide -#}{%- endif -%}12345678910111213141516{ "bos_token": { "content": "]~b]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "[e~[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501{ "add_prefix_space": false, "added_tokens_decoder": { "200000": { "content": "]!p~[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200001": { "content": "<fim_prefix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200002": { "content": "<fim_middle>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200003": { "content": "<fim_suffix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200004": { "content": "<fim_pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200005": { "content": "<reponame>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200006": { "content": "<filename>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200007": { "content": "<gh_stars>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200008": { "content": "<issue_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200009": { "content": "<issue_comment>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200010": { "content": "<issue_closed>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200011": { "content": "<jupyter_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200012": { "content": "<jupyter_text>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200013": { "content": "<jupyter_code>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200014": { "content": "<jupyter_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200015": { "content": "<empty_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200016": { "content": "<commit_before>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200017": { "content": "<commit_msg>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200018": { "content": "<commit_after>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200019": { "content": "]~b]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200020": { "content": "[e~[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200021": { "content": "]!d~[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200022": { "content": "<function_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200023": { "content": "<code_interpreter>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200024": { "content": "]<]speech[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200025": { "content": "]<]image[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200026": { "content": "]<]video[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200027": { "content": "]<]start of speech[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200028": { "content": "]<]end of speech[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200029": { "content": "]<]start of image[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200030": { "content": "]<]end of image[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200031": { "content": "]<]start of video[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200032": { "content": "]<]end of video[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200033": { "content": "]<]vision pad[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200034": { "content": "]~!b[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200035": { "content": "<jupyter_error>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200036": { "content": "<add_file>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200037": { "content": "<delete_file>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200038": { "content": "<rename_file>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200039": { "content": "<edit_file>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200040": { "content": "<commit_message>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200041": { "content": "<empty_source_file>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200042": { "content": "<repo_struct>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200043": { "content": "<code_context>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200044": { "content": "<file_content>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200045": { "content": "<source_files>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200046": { "content": "<pr_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200047": { "content": "<review_comment>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200048": { "content": "<filepath>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200049": { "content": "<file_sep>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200050": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200051": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200052": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200053": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200054": { "content": "]<]frame[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200055": { "content": "]<]start of frame[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200056": { "content": "]<]end of frame[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200057": { "content": "<|content_altered_placeholder|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "200058": { "content": "]<]minimax[>[", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200059": { "content": "<mm:think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "200060": { "content": "</mm:think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "]~b]", "clean_up_tokenization_spaces": false, "eos_token": "[e~[", "pad_token": "]!p~[", "model_max_length": 40960000, "tokenizer_class": "PreTrainedTokenizerFast", "unk_token": "[e~["}
chat_template.jinja+8-1
dspark/added_tokens.jsonAdded+63
dspark/chat_template.jinjaAdded+255
dspark/merges.txtAdded
dspark/special_tokens_map.jsonAdded+16
dspark/tokenizer.jsonAdded
dspark/tokenizer_config.jsonAdded+501
dspark/vocab.jsonAdded