alt.freeweights.qwen / Qwen3-4B-Instruct-2507-GGUF
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.qwenSubject:

Qwen3-4B-Instruct-2507-GGUF

Date: 2026-11-14Commit: a06e946Signed: 2DC28CC7B26A283B ✓

Model. Gguf weights, 67.8 GB in all. Published by unsloth under Apache-2.0.

qwen67.8GBQwen3-4B-Instruct-2507-GGUFggufpermissive
FactsParamsnot statedSize67.8 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/Qwen3-4B-Instruct-2507-GGUF
# manifest sha256 af16891a60cf… · 67.8 GB · 31 files
$ fw verify ./Qwen3-4B-Instruct-2507-GGUF unsloth/Qwen3-4B-Instruct-2507-GGUF
From sourceHosted (signed)unsloth/Qwen3-4B-Instruct-2507-GGUFLast check: 2026-11-14 21:32 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Qwen3-4B-Instruct-2507.

Works with

Convert with

Scan with

Overview

Size
67.8 GB
Weights
1.08 GB (smallest of 26 GGUF variants)
Parameters
not stated
Formats
gguf
Task
not tagged
License
Apache-2.0 (permissive)
Files
31, each with a sha256
Publisher
unsloth
Added
2026-11-14
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3-4B-Instruct-2507

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:32 UTCpassed

Model card

From the publisher at commit a06e946. Shown as plain text with links; images open at the publisher.

See our collection for all versions of Qwen3 including GGUF, 4-bit & 16-bit formats.

Learn to run Qwen3-2507 correctly - Read our Guide.

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/basics/qwen3-2507

✨ Read our Qwen3-2507 Guide here!#

Unsloth supportsFree NotebooksPerformanceMemory use
Qwen3 (14B)▶️ Start on Colab3x faster70% less
GRPO with Qwen3 (8B)▶️ Start on Colab3x faster80% less
Llama-3.2 (3B)▶️ Start on Colab-Conversational.ipynb)2.4x faster58% less
Llama-3.2 (11B vision)▶️ Start on Colab-Vision.ipynb)2x faster60% less
Qwen2.5 (7B)▶️ Start on Colab-Alpaca.ipynb)2x faster60% less

Qwen3-4B-Instruct-2507#

Chat

Highlights#

We introduce the updated version of the Qwen3-4B non-thinking mode, named Qwen3-4B-Instruct-2507, featuring the following key enhancements:

  • Significant improvements in general capabilities, including instruction following, logical reasoning, text comprehension, mathematics, science, coding and tool usage.
  • Substantial gains in long-tail knowledge coverage across multiple languages.
  • Markedly better alignment with user preferences in subjective and open-ended tasks, enabling more helpful responses and higher-quality text generation.
  • Enhanced capabilities in 256K long-context understanding.

Image: image/jpeg

Model Overview#

Qwen3-4B-Instruct-2507 has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training
  • Number of Parameters: 4.0B
  • Number of Paramaters (Non-Embedding): 3.6B
  • Number of Layers: 36
  • Number of Attention Heads (GQA): 32 for Q and 8 for KV
  • Context Length: 262,144 natively.

NOTE: This model supports only non-thinking mode and does not generate <think></think> blocks in its output. Meanwhile, specifying enable_thinking=False is no longer required.

For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation.

Performance#

GPT-4.1-nano-2025-04-14Qwen3-30B-A3B Non-ThinkingQwen3-4B Non-ThinkingQwen3-4B-Instruct-2507
Knowledge
MMLU-Pro62.869.158.069.6
MMLU-Redux80.284.177.384.2
GPQA50.354.841.762.0
SuperGPQA32.242.232.042.8
Reasoning
AIME2522.721.619.147.4
HMMT259.712.012.131.0
ZebraLogic14.833.235.280.2
LiveBench 2024112541.559.448.463.0
Coding
LiveCodeBench v6 (25.02-25.05)31.529.026.435.1
MultiPL-E76.374.666.676.8
Aider-Polyglot9.824.413.812.9
Alignment
IFEval74.583.781.283.4
Arena-Hard v2*15.924.89.543.4
Creative Writing v372.768.153.683.5
WritingBench66.972.268.583.4
Agent
BFCL-v353.058.657.661.9
TAU1-Retail23.538.324.348.7
TAU1-Airline14.018.016.032.0
TAU2-Retail-31.628.140.4
TAU2-Airline-18.012.024.0
TAU2-Telecom-18.417.513.2
Multilingualism
MultiIF60.770.861.369.0
MMLU-ProX56.265.149.661.6
INCLUDE58.667.853.860.1
PolyMATH15.623.316.631.1

*: For reproducibility, we report the win rates evaluated by GPT-4.1.

Quickstart#

The code of Qwen3 has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers.

With transformers<4.51.0, you will encounter the following error:

KeyError: 'qwen3'

The following contains a code snippet illustrating how to use the model generate content based on given inputs.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-4B-Instruct-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() 

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

For deployment, you can use sglang>=0.4.6.post1 or vllm>=0.8.5 or to create an OpenAI-compatible API endpoint:

  • SGLang: shell python -m sglang.launch_server --model-path Qwen/Qwen3-4B-Instruct-2507 --context-length 262144
  • vLLM: shell vllm serve Qwen/Qwen3-4B-Instruct-2507 --max-model-len 262144

Note: If you encounter out-of-memory (OOM) issues, consider reducing the context length to a shorter value, such as 32,768.

For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.

Agentic Use#

Qwen3 excels in tool calling capabilities. We recommend using Qwen-Agent to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.

To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.

from qwen_agent.agents import Assistant

# Define LLM
llm_cfg = {
    'model': 'Qwen3-4B-Instruct-2507',

    # Use a custom endpoint compatible with OpenAI API:
    'model_server': 'http://localhost:8000/v1',  # api_base
    'api_key': 'EMPTY',
}

# Define Tools
tools = [
    {'mcpServers': {  # You can specify the MCP configuration file
            'time': {
                'command': 'uvx',
                'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
            },
            "fetch": {
                "command": "uvx",
                "args": ["mcp-server-fetch"]
            }
        }
    },
  'code_interpreter',  # Built-in tools
]

# Define Agent
bot = Assistant(llm=llm_cfg, function_list=tools)

# Streaming generation
messages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]
for responses in bot.run(messages=messages):
    pass
print(responses)

Best Practices#

To achieve optimal performance, we recommend the following settings:

  1. Sampling Parameters:
    • We suggest using Temperature=0.7, TopP=0.8, TopK=20, and MinP=0.
    • For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
  2. Adequate Output Length: We recommend using an output length of 16,384 tokens for most queries, which is adequate for instruct models.
  3. Standardize Output Format: We recommend using prompts to standardize model outputs when benchmarking.
    • Math Problems: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
    • Multiple-Choice Questions: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the answer field with only the choice letter, e.g., "answer": "C"."
Citation#

If you find our work helpful, feel free to give us a cite.

@misc{qwen3technicalreport,
      title={Qwen3 Technical Report}, 
      author={Qwen Team},
      year={2025},
      eprint={2505.09388},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.09388}, 
}

Files

31 files · 67.8 GBWeights 1.08 GB (smallest of 26 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 31 files with their sha256
FileSizesha256
.gitattributes2.79 KBd7075beff7e9f74e9aba2cdeb9439307b44ac3726c4e14b038f2f1954dafd8f6
Qwen3-4B-Instruct-2507-F16.gguf8.05 GB336228a2810f17724ecd6e9e2e40e8381eee81e886316fee311ade2899c31030
Qwen3-4B-Instruct-2507-IQ4_NL.gguf2.38 GB89bf2f9ba70b4a5ee8411244ae89dcd012ed59e386124bb096287feb09f4f25e
Qwen3-4B-Instruct-2507-IQ4_XS.gguf2.27 GBcfd15a69e4801abfa16f0263b77ffbf97cbb8af67782a70cc95cf627b3dfa27d
Qwen3-4B-Instruct-2507-Q2_K.gguf1.67 GBf7ed2f57713ad29e1a4ec093be0cdf3d7fd31e137e8fd4fc3edcfd04a5267862
Qwen3-4B-Instruct-2507-Q2_K_L.gguf1.67 GBf7ed2f57713ad29e1a4ec093be0cdf3d7fd31e137e8fd4fc3edcfd04a5267862
Qwen3-4B-Instruct-2507-Q3_K_M.gguf2.08 GB9c6e0763577125a994a9bea0bbd7a737ac4498b8a6a4e0f788727553af1806c9
Qwen3-4B-Instruct-2507-Q3_K_S.gguf1.89 GB0ce20058cc0ed6b6c9213bb383589327e458c12ffce0842fc96867042d669c75
Qwen3-4B-Instruct-2507-Q4_0.gguf2.38 GBe0ba675d86ab277c61701c6793659b2ae801d95e3be791464c321e6fbf613be2
Qwen3-4B-Instruct-2507-Q4_1.gguf2.60 GB6e37bc9a4533bae81deefd9081fda514171e8485bbbef86d63ec7407e756eb3f
Qwen3-4B-Instruct-2507-Q4_K_M.gguf2.50 GB3605803b982cb64aead44f6c1b2ae36e3acdb41d8e46c8a94c6533bc4c67e597
Qwen3-4B-Instruct-2507-Q4_K_S.gguf2.38 GB90bc7227557ed8a417696b6ed8a94b2c351ad1d94de39bf2889ad8778366c68a
Qwen3-4B-Instruct-2507-Q5_K_M.gguf2.89 GB5bde5e9d883622acb02bf77fe7dcbc56a8b9a9ad4be78a72ca23a532658b4ecb
Qwen3-4B-Instruct-2507-Q5_K_S.gguf2.82 GBe252a2bb39e90c163ba83524ea833ee73d36f9c5e50d157651c82995e7e72e60
Qwen3-4B-Instruct-2507-Q6_K.gguf3.31 GBcd7b21b38b3e71400587c184b6a9b04d3beb4d13fdae6464d4075dee4f1bc5ad
Qwen3-4B-Instruct-2507-Q8_0.gguf4.28 GB391c1e410fd9f4cf2de2b510273b56a84c19ce18f4fa3bfb3774031dac4ef068
Qwen3-4B-Instruct-2507-UD-IQ1_M.gguf1.14 GB415ed538d93b9f00f7d2cacdf8cf427bc1b05f20ae30e5a3f015fd6b04ba09d1
Qwen3-4B-Instruct-2507-UD-IQ1_S.gguf1.08 GB48e00f29635f0eb1db72d3a3c65ff1a9552676dc15f810b7074be690fbcea59e
Qwen3-4B-Instruct-2507-UD-IQ2_M.gguf1.53 GB6711372517e0e2d6dd1c008a22203299d1ba5d44f894a95fdc40a136815d4fe3
Qwen3-4B-Instruct-2507-UD-IQ2_XXS.gguf1.26 GBb4fb089163ef6c0e32f5edb3e6ef5ca860da23e8fc2c7b8fd53da5a3ce25a17d
Qwen3-4B-Instruct-2507-UD-IQ3_XXS.gguf1.67 GBc886effc2f09e63bbf9419a8136fab49dba22a578c24885f63c5f483de75ad3e
Qwen3-4B-Instruct-2507-UD-Q2_K_XL.gguf1.70 GBb7675a5b61a3e7fec4c2f138ba50504ede76c737c478029ea30510e1ee09976c
Qwen3-4B-Instruct-2507-UD-Q3_K_XL.gguf2.13 GB6aa5c26f5624cf8820f6f0207479445da5a33c4db73a2e097cf6f91f9ce0550e
Qwen3-4B-Instruct-2507-UD-Q4_K_XL.gguf2.55 GB4bbe1f2f8ebe69fad3be8e15d69f220b06448a9dd26f82d7d81cce88ebfc39fd
Qwen3-4B-Instruct-2507-UD-Q5_K_XL.gguf2.90 GB7040e21aa2b43d56735b0e4f9c89210ad21b8282f668d6897f5d1dadf71aa9f2
Qwen3-4B-Instruct-2507-UD-Q6_K_XL.gguf3.66 GB8d5b9304db7e2c419d05f5f3cbb04890b8fa0dd434a72bc3ef448b564ba8b88e
Qwen3-4B-Instruct-2507-UD-Q8_K_XL.gguf5.06 GB0aae4ff27faba8903685f3e3aad97e2004ac6e21f15eeb806e20dec90bb480be
README.md11.2 KBc18c2d01645e709fcc0bfd593291d3dc43e51873f5af170a082c36ccd95988c3
imatrix_unsloth.gguf_file3.87 MB9908ff45cd363230b05588f22150f62f1091459aa67ab4bd1376d23ef2d4781f
params178 Bca914fd65e10461b7ce5991f1ba91c7cc65dcd0c17b1f7ef7cc210a51e9adb80
template1.49 KB96078d3bc49c4c96d088f0ece3d9b87e24121e42b19aa7ba2a97e9b03b1c3cac
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a06e946bb6 pinned now manifest updated, same commit2026-11-14 21:32 UTC31 files · 67.8 GB
a06e946bb62026-11-14 21:32 UTC31 files · 67.8 GB

Use it

$ fw get unsloth/Qwen3-4B-Instruct-2507-GGUF
# manifest sha256 af16891a60cf… · 67.8 GB · 31 files
$ fw verify ./Qwen3-4B-Instruct-2507-GGUF unsloth/Qwen3-4B-Instruct-2507-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/Qwen3-4B-Instruct-2507-GGUF.json --dir ./Qwen3-4B-Instruct-2507-GGUF $ python3 fw.py verify ./Qwen3-4B-Instruct-2507-GGUF ./unsloth__Qwen3-4B-Instruct-2507-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Qwen3-4B-Instruct-2507-GGUF --revision a06e946bb6b655725eafa393f4a9745d460374c9 --local-dir ./Qwen3-4B-Instruct-2507-GGUF
llama.cppDownload one GGUF variant (Qwen3-4B-Instruct-2507-UD-IQ1_S, 1.08 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Qwen3-4B-Instruct-2507-GGUF --include "Qwen3-4B-Instruct-2507-UD-IQ1_S*" --local-dir ./Qwen3-4B-Instruct-2507-GGUF $ llama-server -m ./Qwen3-4B-Instruct-2507-GGUF/Qwen3-4B-Instruct-2507-UD-IQ1_S.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Qwen3-4B-Instruct-2507-GGUF/Qwen3-4B-Instruct-2507-UD-IQ1_S.gguf\n' > Modelfile $ ollama create qwen3-4b-instruct-2507-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
c18c2d01645e709fcc0bfd593291d3dc43e51873f5af170a082c36ccd95988c3
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.qwenSubject: Qwen3-4B-Instruct-2507-GGUFDate: 2026-11-14Commit: a06e946Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/Qwen3-4B-Instruct-2507-GGUF
Pinned commit
a06e946bb6b655725eafa393f4a9745d460374c9
Manifest
Qwen3-4B-Instruct-2507-GGUF.json · .minisig
Manifest sha256
af16891a60cf3889bb19991d2905420cc4fac79150cfcbd34ac85d01435e9225
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:32 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/Qwen3-4B-Instruct-2507-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/Qwen3-4B-Instruct-2507-GGUF.json.minisig $ minisign -Vm Qwen3-4B-Instruct-2507-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3-4B-Instruct-2507 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Qwen3-4B-Instruct-2507-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen3-4B-Instruct-2507-GGUF.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF