Instructions to use ben0112/Qwen3-Reranker-4B-oQ4e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ben0112/Qwen3-Reranker-4B-oQ4e with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download ben0112/Qwen3-Reranker-4B-oQ4e --local-dir Qwen3-Reranker-4B-oQ4e
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Upload Qwen3-Reranker-4B-oQ4e via oMLX
Browse filesFiles changed (12)
- .gitattributes+1
- README.mdAdded+18
- chat_template.jinjaAdded+15
- config.jsonAdded+540
- generation_config.jsonAdded+13
- merges.txtAdded
- model.safetensorsAdded+3
- oq_imatrix_report.jsonAdded+362
- special_tokens_map.jsonAdded+31
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+240
- vocab.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718---library_name: mlxtags:- mlx- oq- quantized---
# Qwen3-Reranker-4B-oQ4e
This model was quantized using [oQ](https://github.com/jundot/omlx) (oMLX v0.7.0) mixed-precision quantization.
## Quantization details
- **Model type**: qwen3- **Bits**: 4- **Group size**: 64- **Format**: MLX safetensors123456789101112131415{%- set instruction = messages | selectattr("role", "eq", "system") | map(attribute="content") | first | default("Given a web search query, retrieve relevant passages that answer the query") -%}{%- set query_text = messages | selectattr("role", "eq", "query") | map(attribute="content") | first -%}{%- set document_text = messages | selectattr("role", "eq", "document") | map(attribute="content") | first -%}<|im_start|>systemJudge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be "yes" or "no".<|im_end|><|im_start|>user<Instruct>: {{ instruction }}<Query>: {{ query_text }}<Document>: {{ document_text }}<|im_end|><|im_start|>assistant<think>
</think>
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540{ "architectures": [ "Qwen3ForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 151643, "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 2560, "initializer_range": 0.02, "intermediate_size": 9728, "max_position_embeddings": 40960, "max_window_layers": 36, "model_type": "qwen3", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "rms_norm_eps": 1e-06, "rope_scaling": null, "rope_theta": 1000000, "sliding_window": null, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.51.3", "use_cache": true, "use_sliding_window": false, "vocab_size": 151669, "quantization": { "group_size": 64, "bits": 4, "mode": "affine", "model.layers.0.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.1.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.10.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.10.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.11.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.11.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.12.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.12.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.13.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.13.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.14.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.14.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.15.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.15.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.16.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.3.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.4.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.5.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.6.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.6.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.7.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.7.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.8.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.8.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.33.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" } }, "quantization_config": { "group_size": 64, "bits": 4, "mode": "affine", "model.layers.0.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.0.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.1.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.1.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.10.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.10.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.11.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.11.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.12.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.12.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.13.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.13.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.14.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.14.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.15.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.15.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.16.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.2.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.3.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.3.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.4.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.4.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.5.mlp.down_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.q_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.5.self_attn.v_proj": { "bits": 6, "group_size": 64, "mode": "affine" }, "model.layers.6.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.6.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.7.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.7.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.8.mlp.down_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.8.self_attn.o_proj": { "bits": 5, "group_size": 64, "mode": "affine" }, "model.layers.33.self_attn.k_proj": { "bits": 5, "group_size": 64, "mode": "affine" } }}12345678910111213{ "bos_token_id": 151643, "do_sample": true, "eos_token_id": [ 151645, 151643 ], "pad_token_id": 151643, "temperature": 0.6, "top_k": 20, "top_p": 0.95, "transformers_version": "4.51.3"}123version https://git-lfs.github.com/spec/v1oid sha256:ca90636730eaf804428213b39139f2c32f719d5525bec5b553d3da05970c0607size 2363071851123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362{ "enabled": true, "cache_path": "/Users/benjamin/.omlx/models/.oqe_imatrix/Qwen3-Reranker-4B-50804fb93472-s128-l512.npz", "cache_reused": false, "entry_count": 252, "calib_dataset": "oqe_code_multilingual", "collection": { "dataset": "oqe_code_multilingual", "requested_samples": 128, "seq_length": 512, "adaptive": true, "adaptive_step_samples": 128, "adaptive_max_samples": 1024, "available_samples": 1024, "micro_batch_size": 32, "micro_batches": 4, "batch_plan": { "micro_batch_size": 32, "estimated_sample_bytes": 5242880, "capture_budget_bytes": 805306368, "system_available_bytes": 102338052096, "metal_available_bytes": 130561578214, "live_available_bytes": 102338052096, "model_bytes": 8043614960, "remaining_available_bytes": 94294437136, "fits_one_sample": true, "hidden_size": 2560, "num_experts": 0, "top_k": 1, "gemma4_state_bytes": 0, "num_hidden_layers": 36, "num_kv_shared_layers": 0, "per_layer_input_size": 0 }, "processed_samples": 128, "model_class": "mlx_lm.models.qwen3.Model", "layer_model_class": "mlx_lm.models.qwen3.Qwen3Model", "layer_model_type": "qwen3", "layer_count": 36, "layer_state_kind": "generic", "successful_layer_forwards": 144, "skipped_layer_forwards": 0, "mtp_head_forwards": 0, "installed_modules": 252, "capture_module_classes": { "Linear": 252 }, "switch_capture_modules": 0, "requires_expert_counts": false, "coverage_sufficient": true, "collection_sufficient": true, "coverage": { "has_expert_counts": false, "expert_modules": 0, "total_experts": 0, "active_experts": 0, "zero_count_experts": 0, "active_ratio": 1.0, "min_count": 0, "p05_count": 0.0, "p10_count": 0.0, "median_count": 0.0, "max_count": 0, "min_required_count": 16, "required_percentile": 5 }, "rounds": [ { "processed_samples": 128, "coverage_sufficient": true, "collection_sufficient": true, "coverage": { "has_expert_counts": false, "expert_modules": 0, "total_experts": 0, "active_experts": 0, "zero_count_experts": 0, "active_ratio": 1.0, "min_count": 0, "p05_count": 0.0, "p10_count": 0.0, "median_count": 0.0, "max_count": 0, "min_required_count": 16, "required_percentile": 5 } } ] }, "expert_coverage": { "has_expert_counts": false, "expert_modules": 0, "total_experts": 0, "active_experts": 0, "zero_count_experts": 0, "active_ratio": 1.0, "min_count": 0, "p05_count": 0.0, "p10_count": 0.0, "median_count": 0.0, "max_count": 0, "min_required_count": 16, "required_percentile": 5 }, "applied": [ "model.layers.0.mlp.down_proj", "model.layers.0.mlp.gate_proj", "model.layers.0.mlp.up_proj", "model.layers.0.self_attn.k_proj", "model.layers.0.self_attn.o_proj", "model.layers.0.self_attn.q_proj", "model.layers.0.self_attn.v_proj", "model.layers.1.mlp.down_proj", "model.layers.1.mlp.gate_proj", "model.layers.1.mlp.up_proj", "model.layers.1.self_attn.k_proj", "model.layers.1.self_attn.o_proj", "model.layers.1.self_attn.q_proj", "model.layers.1.self_attn.v_proj", "model.layers.10.mlp.down_proj", "model.layers.10.mlp.gate_proj", "model.layers.10.mlp.up_proj", "model.layers.10.self_attn.k_proj", "model.layers.10.self_attn.o_proj", "model.layers.10.self_attn.q_proj", "model.layers.10.self_attn.v_proj", "model.layers.11.mlp.down_proj", "model.layers.11.mlp.gate_proj", "model.layers.11.mlp.up_proj", "model.layers.11.self_attn.k_proj", "model.layers.11.self_attn.o_proj", "model.layers.11.self_attn.q_proj", "model.layers.11.self_attn.v_proj", "model.layers.12.mlp.down_proj", "model.layers.12.mlp.gate_proj", "model.layers.12.mlp.up_proj", "model.layers.12.self_attn.k_proj", "model.layers.12.self_attn.o_proj", "model.layers.12.self_attn.q_proj", "model.layers.12.self_attn.v_proj", "model.layers.13.mlp.down_proj", "model.layers.13.mlp.gate_proj", "model.layers.13.mlp.up_proj", "model.layers.13.self_attn.k_proj", "model.layers.13.self_attn.o_proj", "model.layers.13.self_attn.q_proj", "model.layers.13.self_attn.v_proj", "model.layers.14.mlp.down_proj", "model.layers.14.mlp.gate_proj", "model.layers.14.mlp.up_proj", "model.layers.14.self_attn.k_proj", "model.layers.14.self_attn.o_proj", "model.layers.14.self_attn.q_proj", "model.layers.14.self_attn.v_proj", "model.layers.15.mlp.down_proj", "model.layers.15.mlp.gate_proj", "model.layers.15.mlp.up_proj", "model.layers.15.self_attn.k_proj", "model.layers.15.self_attn.o_proj", "model.layers.15.self_attn.q_proj", "model.layers.15.self_attn.v_proj", "model.layers.16.mlp.down_proj", "model.layers.16.mlp.gate_proj", "model.layers.16.mlp.up_proj", "model.layers.16.self_attn.k_proj", "model.layers.16.self_attn.o_proj", "model.layers.16.self_attn.q_proj", "model.layers.16.self_attn.v_proj", "model.layers.17.mlp.down_proj", "model.layers.17.mlp.gate_proj", "model.layers.17.mlp.up_proj", "model.layers.17.self_attn.k_proj", "model.layers.17.self_attn.o_proj", "model.layers.17.self_attn.q_proj", "model.layers.17.self_attn.v_proj", "model.layers.18.mlp.down_proj", "model.layers.18.mlp.gate_proj", "model.layers.18.mlp.up_proj", "model.layers.18.self_attn.k_proj", "model.layers.18.self_attn.o_proj", "model.layers.18.self_attn.q_proj", "model.layers.18.self_attn.v_proj", "model.layers.19.mlp.down_proj", "model.layers.19.mlp.gate_proj", "model.layers.19.mlp.up_proj", "model.layers.19.self_attn.k_proj", "model.layers.19.self_attn.o_proj", "model.layers.19.self_attn.q_proj", "model.layers.19.self_attn.v_proj", "model.layers.2.mlp.down_proj", "model.layers.2.mlp.gate_proj", "model.layers.2.mlp.up_proj", "model.layers.2.self_attn.k_proj", "model.layers.2.self_attn.o_proj", "model.layers.2.self_attn.q_proj", "model.layers.2.self_attn.v_proj", "model.layers.20.mlp.down_proj", "model.layers.20.mlp.gate_proj", "model.layers.20.mlp.up_proj", "model.layers.20.self_attn.k_proj", "model.layers.20.self_attn.o_proj", "model.layers.20.self_attn.q_proj", "model.layers.20.self_attn.v_proj", "model.layers.21.mlp.down_proj", "model.layers.21.mlp.gate_proj", "model.layers.21.mlp.up_proj", "model.layers.21.self_attn.k_proj", "model.layers.21.self_attn.o_proj", "model.layers.21.self_attn.q_proj", "model.layers.21.self_attn.v_proj", "model.layers.22.mlp.down_proj", "model.layers.22.mlp.gate_proj", "model.layers.22.mlp.up_proj", "model.layers.22.self_attn.k_proj", "model.layers.22.self_attn.o_proj", "model.layers.22.self_attn.q_proj", "model.layers.22.self_attn.v_proj", "model.layers.23.mlp.down_proj", "model.layers.23.mlp.gate_proj", "model.layers.23.mlp.up_proj", "model.layers.23.self_attn.k_proj", "model.layers.23.self_attn.o_proj", "model.layers.23.self_attn.q_proj", "model.layers.23.self_attn.v_proj", "model.layers.24.mlp.down_proj", "model.layers.24.mlp.gate_proj", "model.layers.24.mlp.up_proj", "model.layers.24.self_attn.k_proj", "model.layers.24.self_attn.o_proj", "model.layers.24.self_attn.q_proj", "model.layers.24.self_attn.v_proj", "model.layers.25.mlp.down_proj", "model.layers.25.mlp.gate_proj", "model.layers.25.mlp.up_proj", "model.layers.25.self_attn.k_proj", "model.layers.25.self_attn.o_proj", "model.layers.25.self_attn.q_proj", "model.layers.25.self_attn.v_proj", "model.layers.26.mlp.down_proj", "model.layers.26.mlp.gate_proj", "model.layers.26.mlp.up_proj", "model.layers.26.self_attn.k_proj", "model.layers.26.self_attn.o_proj", "model.layers.26.self_attn.q_proj", "model.layers.26.self_attn.v_proj", "model.layers.27.mlp.down_proj", "model.layers.27.mlp.gate_proj", "model.layers.27.mlp.up_proj", "model.layers.27.self_attn.k_proj", "model.layers.27.self_attn.o_proj", "model.layers.27.self_attn.q_proj", "model.layers.27.self_attn.v_proj", "model.layers.28.mlp.down_proj", "model.layers.28.mlp.gate_proj", "model.layers.28.mlp.up_proj", "model.layers.28.self_attn.k_proj", "model.layers.28.self_attn.o_proj", "model.layers.28.self_attn.q_proj", "model.layers.28.self_attn.v_proj", "model.layers.29.mlp.down_proj", "model.layers.29.mlp.gate_proj", "model.layers.29.mlp.up_proj", "model.layers.29.self_attn.k_proj", "model.layers.29.self_attn.o_proj", "model.layers.29.self_attn.q_proj", "model.layers.29.self_attn.v_proj", "model.layers.3.mlp.down_proj", "model.layers.3.mlp.gate_proj", "model.layers.3.mlp.up_proj", "model.layers.3.self_attn.k_proj", "model.layers.3.self_attn.o_proj", "model.layers.3.self_attn.q_proj", "model.layers.3.self_attn.v_proj", "model.layers.30.mlp.down_proj", "model.layers.30.mlp.gate_proj", "model.layers.30.mlp.up_proj", "model.layers.30.self_attn.k_proj", "model.layers.30.self_attn.o_proj", "model.layers.30.self_attn.q_proj", "model.layers.30.self_attn.v_proj", "model.layers.31.mlp.down_proj", "model.layers.31.mlp.gate_proj", "model.layers.31.mlp.up_proj", "model.layers.31.self_attn.k_proj", "model.layers.31.self_attn.o_proj", "model.layers.31.self_attn.q_proj", "model.layers.31.self_attn.v_proj", "model.layers.32.mlp.down_proj", "model.layers.32.mlp.gate_proj", "model.layers.32.mlp.up_proj", "model.layers.32.self_attn.k_proj", "model.layers.32.self_attn.o_proj", "model.layers.32.self_attn.q_proj", "model.layers.32.self_attn.v_proj", "model.layers.33.mlp.down_proj", "model.layers.33.mlp.gate_proj", "model.layers.33.mlp.up_proj", "model.layers.33.self_attn.k_proj", "model.layers.33.self_attn.o_proj", "model.layers.33.self_attn.q_proj", "model.layers.33.self_attn.v_proj", "model.layers.34.mlp.down_proj", "model.layers.34.mlp.gate_proj", "model.layers.34.mlp.up_proj", "model.layers.34.self_attn.k_proj", "model.layers.34.self_attn.o_proj", "model.layers.34.self_attn.q_proj", "model.layers.34.self_attn.v_proj", "model.layers.35.mlp.down_proj", "model.layers.35.mlp.gate_proj", "model.layers.35.mlp.up_proj", "model.layers.35.self_attn.k_proj", "model.layers.35.self_attn.o_proj", "model.layers.35.self_attn.q_proj", "model.layers.35.self_attn.v_proj", "model.layers.4.mlp.down_proj", "model.layers.4.mlp.gate_proj", "model.layers.4.mlp.up_proj", "model.layers.4.self_attn.k_proj", "model.layers.4.self_attn.o_proj", "model.layers.4.self_attn.q_proj", "model.layers.4.self_attn.v_proj", "model.layers.5.mlp.down_proj", "model.layers.5.mlp.gate_proj", "model.layers.5.mlp.up_proj", "model.layers.5.self_attn.k_proj", "model.layers.5.self_attn.o_proj", "model.layers.5.self_attn.q_proj", "model.layers.5.self_attn.v_proj", "model.layers.6.mlp.down_proj", "model.layers.6.mlp.gate_proj", "model.layers.6.mlp.up_proj", "model.layers.6.self_attn.k_proj", "model.layers.6.self_attn.o_proj", "model.layers.6.self_attn.q_proj", "model.layers.6.self_attn.v_proj", "model.layers.7.mlp.down_proj", "model.layers.7.mlp.gate_proj", "model.layers.7.mlp.up_proj", "model.layers.7.self_attn.k_proj", "model.layers.7.self_attn.o_proj", "model.layers.7.self_attn.q_proj", "model.layers.7.self_attn.v_proj", "model.layers.8.mlp.down_proj", "model.layers.8.mlp.gate_proj", "model.layers.8.mlp.up_proj", "model.layers.8.self_attn.k_proj", "model.layers.8.self_attn.o_proj", "model.layers.8.self_attn.q_proj", "model.layers.8.self_attn.v_proj", "model.layers.9.mlp.down_proj", "model.layers.9.mlp.gate_proj", "model.layers.9.mlp.up_proj", "model.layers.9.self_attn.k_proj", "model.layers.9.self_attn.o_proj", "model.layers.9.self_attn.q_proj", "model.layers.9.self_attn.v_proj" ], "missing": [], "mismatched": [], "zero_count_experts": 0}12345678910111213141516171819202122232425262728293031{ "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|>" ], "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4size 11422654123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151665": { "content": "<tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151666": { "content": "</tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151667": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151668": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "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": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].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\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\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 {%- endif %}\n{%- endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}.gitattributes+1
README.mdAdded+18
chat_template.jinjaAdded+15
config.jsonAdded+540
generation_config.jsonAdded+13
merges.txtAdded
model.safetensorsAdded+3
oq_imatrix_report.jsonAdded+362
special_tokens_map.jsonAdded+31
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+240
vocab.jsonAdded