Instructions to use DeepBeepMeep/Wan2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use DeepBeepMeep/Wan2.1 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Commit ·
60fb1c3
0
Parent(s):
Consolidate main history while preserving all current files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributesAdded+59
- DFN5B-CLIP-ViT-H-14-378/open_clip_config.jsonAdded+34
- DFN5B-CLIP-ViT-H-14-378/open_clip_pytorch_model.binAdded+3
- DFN5B-CLIP-ViT-H-14-378/readme.txtAdded+1
- FastWan_T2V_14B_480p_lora_rank_128_bf16.safetensorsAdded+3
- FlashVSR/FlashVSR_v1.1_lq_proj_bf16.safetensorsAdded+3
- FlashVSR/FlashVSR_v1.1_posi_prompt_bf16.safetensorsAdded+3
- FlashVSR/FlashVSR_v1.1_tcdecoder_bf16.safetensorsAdded+3
- FlashVSR/FlashVSR_v1.1_transformer_bf16.safetensorsAdded+3
- Qwen3_5_4B_Abliterated/Qwen3.5-4B-Abliterated-text-Q4_K_M.ggufAdded+3
- Qwen3_5_4B_Abliterated/Qwen3.5-4B-Abliterated_quanto_bf16_int8.safetensorsAdded+3
- Qwen3_5_4B_Abliterated/Qwen3.5-4B-vision_bf16.safetensorsAdded+3
- Qwen3_5_4B_Abliterated/chat_template.jinjaAdded+154
- Qwen3_5_4B_Abliterated/config.jsonAdded+109
- Qwen3_5_4B_Abliterated/generation_config.jsonAdded+6
- Qwen3_5_4B_Abliterated/merges.txtAdded
- Qwen3_5_4B_Abliterated/readme.txtAdded
- Qwen3_5_4B_Abliterated/tokenizer.jsonAdded+3
- Qwen3_5_4B_Abliterated/tokenizer_config.jsonAdded+31
- Qwen3_5_4B_Abliterated/video_preprocessor_config.jsonAdded+21
- Qwen3_5_4B_Abliterated/vocab.jsonAdded
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M.ggufAdded+3
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M_bis.ggufAdded+3
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_mtp_int8_convrot.safetensorsAdded+3
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_quanto_bf16_int8.safetensorsAdded+3
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_v2_quanto_bf16_int8.safetensorsAdded+3
- Qwen3_5_9B_Abliterated/Qwen3.5-9B-vision_bf16.safetensorsAdded+3
- Qwen3_5_9B_Abliterated/chat_template.jinjaAdded+154
- Qwen3_5_9B_Abliterated/config.jsonAdded+103
- Qwen3_5_9B_Abliterated/readme.txtAdded
- Qwen3_5_9B_Abliterated/tokenizer.jsonAdded+3
- Qwen3_5_9B_Abliterated/tokenizer_config.jsonAdded+305
- Qwen3_5_9B_Abliterated/video_preprocessor_config.jsonAdded+21
- Qwen3_5_9B_Abliterated/vocab.jsonAdded
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.LICENSEAdded+177
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.NOTICEAdded+1
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.UPSTREAM_README.mdAdded+65
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.config.jsonAdded+57
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.int8_convrot.provenance.jsonAdded+12
- Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2_int8_convrot.safetensorsAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-IQ2_M.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-MTP-Q4_K_M.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-Q4_K_M.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-noMTP-IQ3_S.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-vision-f16.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.provenance.jsonAdded+17
- Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q8_0.ggufAdded+3
- Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q8_0.provenance.jsonAdded+54
- Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic.GGUF_README.mdAdded+82
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textxlm-roberta-large/tokenizer.json filter=lfs diff=lfs merge=lfs -textumt5-xxl/tokenizer.json filter=lfs diff=lfs merge=lfs -textdebug_cm/k filter=lfs diff=lfs merge=lfs -textdebug_cm/o filter=lfs diff=lfs merge=lfs -textdebug_cm/q filter=lfs diff=lfs merge=lfs -textdebug_cm/v filter=lfs diff=lfs merge=lfs -textpose/nlf_l_multi_0.3.2.torchscript filter=lfs diff=lfs merge=lfs -textgauss_mask filter=lfs diff=lfs merge=lfs -textQwen3_5_4B_Abliterated/tokenizer.json filter=lfs diff=lfs merge=lfs -textQwen3_5_9B_Abliterated/tokenizer.json filter=lfs diff=lfs merge=lfs -textQwen3_5_9B_Abliterated/Qwen3.5-9B-abliterated-text-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_5_4B_Abliterated/Qwen3.5-4B-abliterated-text-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_5_4B_Abliterated/Qwen3.5-4B-Abliterated-text-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M_bis.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-vision-f16.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-noMTP-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-MTP-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Ternary-Bonsai-2-27B-Abliterated-PTQ1_0.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Ternary-Bonsai-2-27B-MTP-Q8_0.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text12345678910111213141516171819202122232425262728293031323334{ "model_cfg": { "embed_dim": 1024, "quick_gelu": true, "vision_cfg": { "image_size": 378, "layers": 32, "width": 1280, "head_width": 80, "patch_size": 14 }, "text_cfg": { "context_length": 77, "vocab_size": 49408, "width": 1024, "heads": 16, "layers": 24 } }, "preprocess_cfg": { "mean": [ 0.48145466, 0.4578275, 0.40821073 ], "std": [ 0.26862954, 0.26130258, 0.27577711 ], "interpolation": "bicubic", "resize_mode": "squash" }}123version https://git-lfs.github.com/spec/v1oid sha256:c07a17b547d461c60a3cce5062b26bf8545b13de602c4c59d8490361eb716033size 39470816371open clip goes here123version https://git-lfs.github.com/spec/v1oid sha256:93fe4efb5198710843de9843091e15a4a967702f62f169135b73be51884fb7d7size 1253192432123version https://git-lfs.github.com/spec/v1oid sha256:b6b98d11ff78202d88bdb06bd9fc3b6e5c76dde18ac9a59922c16e194807b998size 575692496123version https://git-lfs.github.com/spec/v1oid sha256:18ef7c04916beb5e90326e273b23163f1e910763955238745e7b2c51ffa4055dsize 4194392123version https://git-lfs.github.com/spec/v1oid sha256:904ba20f8fc29603672e55effebcda147a5f1df07e1ba2b949c4af7212739963size 90683014123version https://git-lfs.github.com/spec/v1oid sha256:de9e46d66b7248425ebf52088440f553bb0ecb74b0daa37929be9932cfce8105size 2838077304123version https://git-lfs.github.com/spec/v1oid sha256:0d775c976995e0765ad86ad04be57a5d0f4a74d50e82add8ba35b9804cc6b0c8size 2724723264123version https://git-lfs.github.com/spec/v1oid sha256:3563d71540c755b3004dd4d514a2478c96d5f5e7ff29b4162a391b2d79a0071asize 4844829456123version https://git-lfs.github.com/spec/v1oid sha256:3a592b5e32e71d12aab75f9197b52b488119cfbdf982ff88f25a4821571d61dasize 667072552123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{%- set image_count = namespace(value=0) %}{%- set video_count = namespace(value=0) %}{%- macro render_content(content, do_vision_count, is_system_content=false) %} {%- if content is string %} {{- content }} {%- elif content is iterable and content is not mapping %} {%- for item in content %} {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain images.') }} {%- endif %} {%- if do_vision_count %} {%- set image_count.value = image_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Picture ' ~ image_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|image_pad|><|vision_end|>' }} {%- elif 'video' in item or item.type == 'video' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain videos.') }} {%- endif %} {%- if do_vision_count %} {%- set video_count.value = video_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Video ' ~ video_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|video_pad|><|vision_end|>' }} {%- elif 'text' in item %} {{- item.text }} {%- else %} {{- raise_exception('Unexpected item type in content.') }} {%- endif %} {%- endfor %} {%- elif content is none or content is undefined %} {{- '' }} {%- else %} {{- raise_exception('Unexpected content type.') }} {%- endif %}{%- endmacro %}{%- if not messages %} {{- raise_exception('No messages provided.') }}{%- endif %}{%- if tools and tools is iterable and tools is not mapping %} {{- '<|im_start|>system\n' }} {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>" }} {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {%- if content %} {{- '\n\n' + content }} {%- endif %} {%- endif %} {{- '<|im_end|>\n' }}{%- else %} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set content = render_content(message.content, false)|trim %} {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- if ns.multi_step_tool %} {{- raise_exception('No user query found in messages.') }}{%- endif %}{%- for message in messages %} {%- set content = render_content(message.content, true)|trim %} {%- if message.role == "system" %} {%- if not loop.first %} {{- raise_exception('System message must be at the beginning.') }} {%- endif %} {%- elif message.role == "user" %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- set reasoning_content = reasoning_content|trim %} {%- if loop.index0 > ns.last_query_index %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {%- if loop.first %} {%- if content|trim %} {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- else %} {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- else %} {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- if tool_call.arguments is defined %} {%- for args_name, args_value in tool_call.arguments|items %} {{- '<parameter=' + args_name + '>\n' }} {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %} {{- args_value }} {{- '\n</parameter>\n' }} {%- endfor %} {%- endif %} {{- '</function>\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.previtem and loop.previtem.role != "tool" %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if not loop.last and loop.nextitem.role != "tool" %} {{- '<|im_end|>\n' }} {%- elif loop.last %} {{- '<|im_end|>\n' }} {%- endif %} {%- else %} {{- raise_exception('Unexpected message role.') }} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n' }} {%- endif %}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109{ "architectures": [ "Qwen3_5ForConditionalGeneration" ], "dtype": "bfloat16", "image_token_id": 248056, "model_type": "qwen3_5", "text_config": { "attention_bias": false, "attention_dropout": 0.0, "attn_output_gate": true, "bos_token_id": null, "dtype": "bfloat16", "eos_token_id": 248044, "full_attention_interval": 4, "head_dim": 256, "hidden_act": "silu", "hidden_size": 2560, "initializer_range": 0.02, "intermediate_size": 9216, "layer_types": [ "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 128, "linear_num_key_heads": 16, "linear_num_value_heads": 32, "linear_value_head_dim": 128, "mamba_ssm_dtype": "float32", "max_position_embeddings": 262144, "mlp_only_layers": [], "model_type": "qwen3_5_text", "mtp_num_hidden_layers": 1, "mtp_use_dedicated_embeddings": false, "num_attention_heads": 16, "num_hidden_layers": 32, "num_key_value_heads": 4, "pad_token_id": null, "partial_rotary_factor": 0.25, "rms_norm_eps": 1e-06, "rope_parameters": { "mrope_interleaved": true, "mrope_section": [ 11, 11, 10 ], "partial_rotary_factor": 0.25, "rope_theta": 10000000, "rope_type": "default" }, "tie_word_embeddings": true, "use_cache": true, "vocab_size": 248320 }, "tie_word_embeddings": true, "transformers_version": "5.2.0", "video_token_id": 248057, "vision_config": { "deepstack_visual_indexes": [], "depth": 24, "dtype": "bfloat16", "hidden_act": "gelu_pytorch_tanh", "hidden_size": 1024, "in_channels": 3, "initializer_range": 0.02, "intermediate_size": 4096, "model_type": "qwen3_5", "num_heads": 16, "num_position_embeddings": 2304, "out_hidden_size": 2560, "patch_size": 16, "spatial_merge_size": 2, "temporal_patch_size": 2 }, "vision_end_token_id": 248054, "vision_start_token_id": 248053}123456{ "_from_model_config": true, "eos_token_id": 248044, "transformers_version": "5.2.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:639e352c0f904c1875d448ebed6f6faac005fd3eb58393b7f1fb3ff044e5ca03size 1998951012345678910111213141516171819202122232425262728293031{ "add_prefix_space": false, "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "image_token": "<|image_pad|>", "is_local": true, "model_max_length": 262144, "model_specific_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }, "pad_token": "<|endoftext|>", "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+", "split_special_tokens": false, "tokenizer_class": "TokenizersBackend", "unk_token": null, "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>"}123456789101112131415161718192021{ "size": { "longest_edge": 25165824, "shortest_edge": 4096 }, "patch_size": 16, "temporal_patch_size": 2, "merge_size": 2, "image_mean": [ 0.5, 0.5, 0.5 ], "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "Qwen3VLProcessor", "video_processor_type": "Qwen3VLVideoProcessor"}123version https://git-lfs.github.com/spec/v1oid sha256:da5c045509c3b8bf49dc47fac1ae986c467f52fb762b35cea18b9bba9c792189size 5038065216123version https://git-lfs.github.com/spec/v1oid sha256:dba64d0e5cce0739e27535ee0a6b75249eb8006ce8b2d6c060e20750035c4695size 5627044704123version https://git-lfs.github.com/spec/v1oid sha256:646275a4e5fcbca6ad6d1a356450a1e8c8fdc3b9511cf8571bd102290be57600size 243546137123version https://git-lfs.github.com/spec/v1oid sha256:a7f48e43b7713375f7c0cc3686c17e81ee9244f86379c1d65232dad3f763c69csize 8958865324123version https://git-lfs.github.com/spec/v1oid sha256:eb03df5ccba4536eb64cf096c08b068eb84cfd2d2aa798cd45f31a0f67e339e6size 8957488932123version https://git-lfs.github.com/spec/v1oid sha256:51cdf3972087941da8185d54b4bc903885eb1fef64550f04b83a0042b297ba13size 912070464123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{%- set image_count = namespace(value=0) %}{%- set video_count = namespace(value=0) %}{%- macro render_content(content, do_vision_count, is_system_content=false) %} {%- if content is string %} {{- content }} {%- elif content is iterable and content is not mapping %} {%- for item in content %} {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain images.') }} {%- endif %} {%- if do_vision_count %} {%- set image_count.value = image_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Picture ' ~ image_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|image_pad|><|vision_end|>' }} {%- elif 'video' in item or item.type == 'video' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain videos.') }} {%- endif %} {%- if do_vision_count %} {%- set video_count.value = video_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Video ' ~ video_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|video_pad|><|vision_end|>' }} {%- elif 'text' in item %} {{- item.text }} {%- else %} {{- raise_exception('Unexpected item type in content.') }} {%- endif %} {%- endfor %} {%- elif content is none or content is undefined %} {{- '' }} {%- else %} {{- raise_exception('Unexpected content type.') }} {%- endif %}{%- endmacro %}{%- if not messages %} {{- raise_exception('No messages provided.') }}{%- endif %}{%- if tools and tools is iterable and tools is not mapping %} {{- '<|im_start|>system\n' }} {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>" }} {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {%- if content %} {{- '\n\n' + content }} {%- endif %} {%- endif %} {{- '<|im_end|>\n' }}{%- else %} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set content = render_content(message.content, false)|trim %} {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- if ns.multi_step_tool %} {{- raise_exception('No user query found in messages.') }}{%- endif %}{%- for message in messages %} {%- set content = render_content(message.content, true)|trim %} {%- if message.role == "system" %} {%- if not loop.first %} {{- raise_exception('System message must be at the beginning.') }} {%- endif %} {%- elif message.role == "user" %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- set reasoning_content = reasoning_content|trim %} {%- if loop.index0 > ns.last_query_index %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {%- if loop.first %} {%- if content|trim %} {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- else %} {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- else %} {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- if tool_call.arguments is defined %} {%- for args_name, args_value in tool_call.arguments|items %} {{- '<parameter=' + args_name + '>\n' }} {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %} {{- args_value }} {{- '\n</parameter>\n' }} {%- endfor %} {%- endif %} {{- '</function>\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.previtem and loop.previtem.role != "tool" %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if not loop.last and loop.nextitem.role != "tool" %} {{- '<|im_end|>\n' }} {%- elif loop.last %} {{- '<|im_end|>\n' }} {%- endif %} {%- else %} {{- raise_exception('Unexpected message role.') }} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n' }} {%- endif %}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103{ "architectures": [ "Qwen3_5ForConditionalGeneration" ], "image_token_id": 248056, "model_type": "qwen3_5", "text_config": { "attention_bias": false, "attention_dropout": 0.0, "attn_output_gate": true, "dtype": "bfloat16", "eos_token_id": 248044, "full_attention_interval": 4, "head_dim": 256, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 128, "linear_num_key_heads": 16, "linear_num_value_heads": 32, "linear_value_head_dim": 128, "max_position_embeddings": 262144, "mlp_only_layers": [], "model_type": "qwen3_5_text", "mtp_num_hidden_layers": 1, "mtp_use_dedicated_embeddings": false, "num_attention_heads": 16, "num_hidden_layers": 32, "num_key_value_heads": 4, "rms_norm_eps": 1e-06, "use_cache": true, "vocab_size": 248320, "mamba_ssm_dtype": "float32", "rope_parameters": { "mrope_interleaved": true, "mrope_section": [ 11, 11, 10 ], "rope_type": "default", "rope_theta": 10000000, "partial_rotary_factor": 0.25 } }, "tie_word_embeddings": false, "transformers_version": "4.57.0.dev0", "video_token_id": 248057, "vision_config": { "deepstack_visual_indexes": [], "depth": 27, "hidden_act": "gelu_pytorch_tanh", "hidden_size": 1152, "in_channels": 3, "initializer_range": 0.02, "intermediate_size": 4304, "model_type": "qwen3_5", "num_heads": 16, "num_position_embeddings": 2304, "out_hidden_size": 4096, "patch_size": 16, "spatial_merge_size": 2, "temporal_patch_size": 2 }, "vision_end_token_id": 248054, "vision_start_token_id": 248053}123version https://git-lfs.github.com/spec/v1oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42size 12807982123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305{ "add_prefix_space": false, "added_tokens_decoder": { "248044": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248045": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248046": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248047": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248048": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248049": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248050": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248051": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248052": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248053": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248054": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248055": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248056": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248057": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248058": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248059": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248060": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248061": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248062": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248063": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248064": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248065": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248066": { "content": "<tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248067": { "content": "</tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248068": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248069": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "248070": { "content": "<|audio_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248071": { "content": "<|audio_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248072": { "content": "<tts_pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248073": { "content": "<tts_text_bos>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248074": { "content": "<tts_text_eod>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248075": { "content": "<tts_text_bos_single>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "248076": { "content": "<|audio_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if loop.index0 > ns.last_query_index %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "model_max_length": 262144, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null, "add_bos_token": false, "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+", "extra_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }}123456789101112131415161718192021{ "size": { "longest_edge": 25165824, "shortest_edge": 4096 }, "patch_size": 16, "temporal_patch_size": 2, "merge_size": 2, "image_mean": [ 0.5, 0.5, 0.5 ], "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "Qwen3VLProcessor", "video_processor_type": "Qwen3VLVideoProcessor"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
1Independent Bonsai DFlash2 adaptation by ProCreations, September 2026. Derived model weights: z-lab Qwen3.8-27B-DFlash2 and frozen Prism Ternary-Bonsai-2-27B target; Apache-2.0. Runtime: Prism/llama.cpp with upstream DFlash2 contribution (PR27342), plus Bonsai rotation integration. Training: vendored SpecForge with noncausal block-mask correction. See included upstream model cards, licenses, exact source archives and manifest for provenance.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465---license: apache-2.0base_model:- prism-ml/Ternary-Bonsai-2-27B-gguf- z-lab/Qwen3.8-27B-DFlash2tags:- speculative-decoding- dflash2- bonsai- gguf---# Bonsai 2 27B DFlash2
A DFlash2 draft model adapted from the original Qwen 3.8 27B DFlash2 head to the frozen, original **Ternary Bonsai 2 27B PQ2_0** target. This repository contains the adapted BF16 checkpoint, Q8_0 GGUF draft, a patched native CUDA runtime, exact source snapshots, training recipe and raw measurements. The target model remains unchanged and is downloaded separately.
## Measured speed
On one RTX PRO 6000 Blackwell 96GB, the trained Q8 draft averaged **179.2 decode tokens/s** on the fixed six-prompt test. That is **1.038x** the original Qwen DFlash2 head on Bonsai and **1.295x** Bonsai without speculation.
| Same Bonsai target and native runtime | Decode tok/s | Relative to base ||---|---:|---:|| No draft | 138.4 | 1.000x || Original Qwen DFlash2, Q8 | 172.6 | 1.248x || Bonsai-adapted DFlash2, Q8 | 179.2 | 1.295x |
Both draft heads use maximum **5 draft tokens**, selected before this test on four separate development prompts. Release prompts were excluded from training and draft-length selection. All arms use the same requests, two repeats, 1536 generated tokens per request, medium reasoning without a thinking-token cap, temperature1/top-p.95/top-k20/min-p0, context32768, one slot. Throughput includes reasoning tokens and is total generated tokens divided by total generation time. Raw requests, outputs, wall times and draft counters are in [the comparison report](reports/comparison-results.json).
| Prompt | Original Qwen DFlash2 Q8 | Adapted DFlash2 Q8 | Ratio ||---|---:|---:|---:|| code | 219.7 | 231.5 | 1.054x || geometry | 148.5 | 156.7 | 1.055x || prose | 116.6 | 120.6 | 1.034x || reasoning | 216.1 | 223.3 | 1.034x || sql | 182.1 | 188.2 | 1.034x || structured | 209.5 | 212.7 | 1.015x |
These are short-context, finite-prefix speed measurements, not completed-answer correctness scores, end-to-end browser timings or broad quality guarantees. Benefits vary by prompt; sampled sequences can differ even with fixed seeds. For context, the separately measured [Bonsai MTP model](https://huggingface.co/ProCreations/Ternary-Bonsai-2-27B-MTP) achieved 171.7 tok/s on the same prompt protocol with two draft tokens; its runtime is a different build.
## Run locally
The included native binary was tested on Linux with CUDA 13.3 and an RTX PRO 6000 (SM120). Other GPUs/platforms should build from the included source. The draft is **not** a standalone chat model or a standard Transformers AutoModel checkpoint.
```bashpython -m pip install huggingface_hubhf download ProCreations/Ternary-Bonsai-2-27B-DFlash2 --local-dir bonsai-dflash2cd bonsai-dflash2sha256sum -c SHA256SUMSpython download-target.pytar -xzf runtime/llama-bonsai-dflash2-linux-cuda13.3-sm120.tar.gz -C runtimebash serve.sh```
The OpenAI-compatible API listens privately at `http://127.0.0.1:8080/v1`, model alias `bonsai2-dflash2`. Set `BONSAI_MODEL` for an existing original PQ2_0 target. For vision, run `python download-target.py --vision`, then set `MMPROJ=$PWD/target/Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf` when launching. `PORT`, `CONTEXT`, `DRAFT_TOKENS` and `LLAMA_BIN_DIR` can override defaults. Medium reasoning and `--reasoning-budget -1` are defaults; do not insert a thinking-token cutoff.
## Training and checks
The 1.924B-parameter draft was adapted for 896 AdamW updates (two epochs, LR 5e-6), using 304 train and 40 held-out sequences, with native frozen Bonsai features from post-layers 5, 19, 33, 47, 61. The 48 generated training sequences have 4x weight. Held-out selector greedy accepted length improved from **2.2984 to 2.6359**, including the anchor; this offline metric is distinct from live sampling acceptance.
The selected Q8 draft's native hidden-state cosine agreement exceeded 0.99978 and logit agreement exceeded 0.99991 against the BF16 PyTorch reference on the checked block; all 8 argmax tokens matched. The test establishes one-block integration agreement, not global identity. The 12 objective checks scored 12/12 after disclosed equivalent-string normalization (10/12 with strict JSON type equality); raw outputs remain available. See [TRAINING.md](TRAINING.md), [validation](reports/training-validation.json), [numerical parity](reports/numerical-parity-best.json), and [quality assessment](reports/quality-assessment.json).
The packaged runtime was extracted into a clean directory and passed a native vision-to-tool-call test (red, green and blue squares in order). See [the complete response](reports/portable-vision-tool-smoke.json).
## Attribution
This is an independent experimental adaptation by ProCreations, not an official Prism, Qwen or z-lab release. Original model licenses are Apache 2.0; native runtime and SpecForge source retain their included licenses. The donor checkpoint was verified byte-for-byte against `z-lab/Qwen3.8-27B-DFlash2` revision 50307d4c4cde6860d4eee73e2547cd786fe8e8a4. Exact hashes and the frozen target revision appear in [manifest.json](manifest.json). The supplied source includes the DFlash2 native support from upstream llama.cpp PR 27342 and the Bonsai rotation integration patch.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "architectures": [ "DFlash2DraftModel" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dflash_config": { "block_size": 8, "conv_group_size": 16, "conv_kernel_size": 2, "mask_token_id": 248070, "selector_rank": 256, "selector_top_k": 16, "target_layer_ids": [ 5, 19, 33, 47, 61 ] }, "dtype": "bfloat16", "eos_token_id": 248044, "head_dim": 128, "hidden_act": "silu", "hidden_size": 5120, "initializer_range": 0.02, "intermediate_size": 17408, "is_causal": false, "layer_types": [ "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 262144, "max_window_layers": 5, "model_type": "qwen3", "num_attention_heads": 32, "num_hidden_layers": 5, "num_key_value_heads": 8, "num_target_layers": 64, "pad_token_id": 248044, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000000, "rope_type": "default" }, "sliding_window": 2048, "tie_word_embeddings": false, "transformers_version": "5.17.0", "use_cache": true, "use_sliding_window": true, "vocab_size": 248320}123456789101112{
"method": "dflash2",
"format": "int8_convrot",
"file": "Bonsai_2_27B_DFlash2_int8_convrot.safetensors",
"bytes": 2185293401,
"sha256": "c0fc82e0dae8bdd876b2d571f8fddb15e9a67e652105681819b6183974f45945",
"converted_linear_weights": 45,
"source_repository": "ProCreations/Ternary-Bonsai-2-27B-DFlash2",
"source_revision": "8cc7a436ef7637a0655a692245c0696713a6af4f",
"source_file": "model.safetensors",
"source_sha256": "c6f94f2e8d9b4111645d5bd78845289dbc77b0215f7a139f8bfe55f28cc2a0b9"
}123version https://git-lfs.github.com/spec/v1oid sha256:c0fc82e0dae8bdd876b2d571f8fddb15e9a67e652105681819b6183974f45945size 2185293401123version https://git-lfs.github.com/spec/v1oid sha256:28e0f88eea09438220a086c2a1e5180ad83764c748856a28fd63ce1c0fbef187size 10624771968123version https://git-lfs.github.com/spec/v1oid sha256:3e36b7ef3ea1e7fca05a49bece121c59786b63c7bd628995f1f66a9a0df4f454size 274258176123version https://git-lfs.github.com/spec/v1oid sha256:4c5e2db039e9325ac7724c8846c71356a24ad1cdfa28002d73ecb6be645f9675size 16810714528123version https://git-lfs.github.com/spec/v1oid sha256:a44829b1ccd20d2ebcfb9977bf79c1e6cd91bd17f9e95711c67991791ce3f80fsize 12588187168123version https://git-lfs.github.com/spec/v1oid sha256:5ac423f8a29059dc24e51bc6a43e9380dcd57a9347f28b62591e0b3f60b7081csize 927606912123version https://git-lfs.github.com/spec/v1oid sha256:7bda572597874a743ed26fbfbc0f9e75a782c5d1489115cc13032eb0812d4e23size 57800912321234567891011121314151617{
"file": "Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.gguf",
"sha256": "7bda572597874a743ed26fbfbc0f9e75a782c5d1489115cc13032eb0812d4e23",
"license": "apache-2.0",
"upstream_reference": {
"repository": "mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF",
"revision": "a5938404d09d736ce4cfcd8548f02f61209e30c4",
"file": "Qwen3.8-9B-Distill-uncensored-heretic.Q4_K_M.gguf",
"sha256": "7bda572597874a743ed26fbfbc0f9e75a782c5d1489115cc13032eb0812d4e23"
},
"byte_identical_to_upstream": true,
"comparison": {
"omitted_gguf_metadata": {},
"tensor_payload_matches_upstream": true
},
"mtp": "embedded; no separate MTP checkpoint required"
}123version https://git-lfs.github.com/spec/v1oid sha256:5bcb501cf658b75fd57e78d9eebb72d68cd42eb7716ed1ec72f42418883e5e3bsize 9786060160123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{
"file": "Qwen3.8-9B-Uncensored-Heretic-Q8_0.gguf",
"sha256": "5bcb501cf658b75fd57e78d9eebb72d68cd42eb7716ed1ec72f42418883e5e3b",
"license": "apache-2.0",
"upstream_reference": {
"repository": "mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF",
"revision": "a5938404d09d736ce4cfcd8548f02f61209e30c4",
"file": "Qwen3.8-9B-Distill-uncensored-heretic.Q8_0.gguf",
"sha256": "33c95be777efcf133dc5d1e8f1a44b5d4e73917824b6d5a042dddedac4d6dca2"
},
"byte_identical_to_upstream": false,
"comparison": {
"omitted_gguf_metadata": {
"general.base_model.0.name": "Qwen3.5 9B",
"general.base_model.0.organization": "Qwen",
"general.base_model.0.repo_url": "https://huggingface.co/Qwen/Qwen3.5-9B",
"general.base_model.count": 1,
"general.languages": [
"en"
],
"general.license": "apache-2.0",
"general.source.url": "https://huggingface.co/nurdich/Qwen3.8-9B-Distill-uncensored-heretic",
"general.tags": [
"empero-ai",
"qwen3.5",
"qwen3.8",
"distillation",
"reasoning",
"function-calling",
"sft",
"text-generation"
],
"general.url": "https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF",
"mradermacher.convert_type": "hf",
"mradermacher.quantize_version": "2",
"mradermacher.quantized_at": "2026-08-24T08:20:36+02:00",
"mradermacher.quantized_by": "mradermacher",
"mradermacher.quantized_on": "leia"
},
"tensor_payload_matches_upstream": false
},
"mtp": "embedded; no separate MTP checkpoint required",
"preparation": "Previously prepared local Q8_0 artifact. Tensor layout and computation/tokenizer metadata match the upstream reference; tensor payload bytes differ. The exact local quantization recipe was not recorded.",
"previous_runtime_validation": {
"variant": "qwen38_9b",
"layout": "native",
"mtp": true,
"mixed_type_projections": 0,
"expanded_iq1m": 0,
"doc_nll": 2.2734426083946455,
"recall_new_text_nll": 2.3138282120868143,
"recall_23k_nll": 0.002587883897151536
}
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182---base_model: nurdich/Qwen3.8-9B-Distill-uncensored-hereticlanguage:- enlibrary_name: transformerslicense: apache-2.0mradermacher: readme_rev: 1quantized_by: mradermachertags:- empero-ai- qwen3.5- qwen3.8- distillation- reasoning- function-calling- sft---## About
<!-- ### quantize_version: 2 --><!-- ### output_tensor_quantised: 1 --><!-- ### convert_type: hf --><!-- ### vocab_type: --><!-- ### tags: --><!-- ### quants: x-f16 Q4_K_S Q2_K Q8_0 Q6_K Q3_K_M Q3_K_S Q3_K_L Q4_K_M Q5_K_S Q5_K_M IQ4_XS --><!-- ### quants_skip: --><!-- ### skip_mmproj: -->static quants of https://huggingface.co/nurdich/Qwen3.8-9B-Distill-uncensored-heretic
<!-- provided-files -->
***For a convenient overview and download list, visit our [model page for this model](https://hf.tst.eu/model#Qwen3.8-9B-Distill-uncensored-heretic-GGUF).***
weighted/imatrix quants are available at https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-i1-GGUF## Usage
If you are unsure how to use GGUF files, refer to one of [TheBloke'sREADMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) formore details, including on how to concatenate multi-part files.
## Provided Quants
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
| Link | Type | Size/GB | Notes ||:-----|:-----|--------:|:------|| [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.mmproj-Q8_0.gguf) | mmproj-Q8_0 | 0.7 | multi-modal supplement || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.mmproj-f16.gguf) | mmproj-f16 | 1.0 | multi-modal supplement || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q2_K.gguf) | Q2_K | 4.0 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q3_K_S.gguf) | Q3_K_S | 4.5 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q3_K_M.gguf) | Q3_K_M | 4.8 | lower quality || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q3_K_L.gguf) | Q3_K_L | 5.1 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.IQ4_XS.gguf) | IQ4_XS | 5.5 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q4_K_S.gguf) | Q4_K_S | 5.6 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q4_K_M.gguf) | Q4_K_M | 5.9 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q5_K_S.gguf) | Q5_K_S | 6.6 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q5_K_M.gguf) | Q5_K_M | 6.7 | || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q6_K.gguf) | Q6_K | 7.7 | very good quality || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.Q8_0.gguf) | Q8_0 | 9.9 | fast, best quality || [GGUF](https://huggingface.co/mradermacher/Qwen3.8-9B-Distill-uncensored-heretic-GGUF/resolve/main/Qwen3.8-9B-Distill-uncensored-heretic.f16.gguf) | f16 | 18.5 | 16 bpw, overkill |
Here is a handy graph by ikawrakow comparing some lower-quality quanttypes (lower is better):

And here are Artefact2's thoughts on the matter:https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
## FAQ / Model Request
See https://huggingface.co/mradermacher/model_requests for some answers toquestions you might have and/or if you want some other model quantized.
## Thanks
I thank my company, [nethype GmbH](https://www.nethype.de/), for lettingme use its servers and providing upgrades to my workstation to enablethis work in my free time.
<!-- end -->.gitattributesAdded+59
DFN5B-CLIP-ViT-H-14-378/open_clip_config.jsonAdded+34
DFN5B-CLIP-ViT-H-14-378/open_clip_pytorch_model.binAdded+3
DFN5B-CLIP-ViT-H-14-378/readme.txtAdded+1
FastWan_T2V_14B_480p_lora_rank_128_bf16.safetensorsAdded+3
FlashVSR/FlashVSR_v1.1_lq_proj_bf16.safetensorsAdded+3
FlashVSR/FlashVSR_v1.1_posi_prompt_bf16.safetensorsAdded+3
FlashVSR/FlashVSR_v1.1_tcdecoder_bf16.safetensorsAdded+3
FlashVSR/FlashVSR_v1.1_transformer_bf16.safetensorsAdded+3
Qwen3_5_4B_Abliterated/Qwen3.5-4B-Abliterated-text-Q4_K_M.ggufAdded+3
Qwen3_5_4B_Abliterated/Qwen3.5-4B-Abliterated_quanto_bf16_int8.safetensorsAdded+3
Qwen3_5_4B_Abliterated/Qwen3.5-4B-vision_bf16.safetensorsAdded+3
Qwen3_5_4B_Abliterated/chat_template.jinjaAdded+154
Qwen3_5_4B_Abliterated/config.jsonAdded+109
Qwen3_5_4B_Abliterated/generation_config.jsonAdded+6
Qwen3_5_4B_Abliterated/merges.txtAdded
Qwen3_5_4B_Abliterated/readme.txtAdded
Qwen3_5_4B_Abliterated/tokenizer.jsonAdded+3
Qwen3_5_4B_Abliterated/tokenizer_config.jsonAdded+31
Qwen3_5_4B_Abliterated/video_preprocessor_config.jsonAdded+21
Qwen3_5_4B_Abliterated/vocab.jsonAdded
Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M.ggufAdded+3
Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated-text-Q4_K_M_bis.ggufAdded+3
Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_mtp_int8_convrot.safetensorsAdded+3
Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_quanto_bf16_int8.safetensorsAdded+3
Qwen3_5_9B_Abliterated/Qwen3.5-9B-Abliterated_v2_quanto_bf16_int8.safetensorsAdded+3
Qwen3_5_9B_Abliterated/Qwen3.5-9B-vision_bf16.safetensorsAdded+3
Qwen3_5_9B_Abliterated/chat_template.jinjaAdded+154
Qwen3_5_9B_Abliterated/config.jsonAdded+103
Qwen3_5_9B_Abliterated/readme.txtAdded
Qwen3_5_9B_Abliterated/tokenizer.jsonAdded+3
Qwen3_5_9B_Abliterated/tokenizer_config.jsonAdded+305
Qwen3_5_9B_Abliterated/video_preprocessor_config.jsonAdded+21
Qwen3_5_9B_Abliterated/vocab.jsonAdded
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.LICENSEAdded+177
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.NOTICEAdded+1
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.UPSTREAM_README.mdAdded+65
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.config.jsonAdded+57
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2.int8_convrot.provenance.jsonAdded+12
Qwen3_8_27B_Uncensored/Bonsai_2_27B_DFlash2_int8_convrot.safetensorsAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-IQ2_M.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-MTP-Q4_K_M.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-Q4_K_M.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-noMTP-IQ3_S.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-27B-Uncensored-vision-f16.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q4_K_M.provenance.jsonAdded+17
Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q8_0.ggufAdded+3
Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic-Q8_0.provenance.jsonAdded+54
Qwen3_8_27B_Uncensored/Qwen3.8-9B-Uncensored-Heretic.GGUF_README.mdAdded+82