alt.freeweights.qwen / Qwen3-4B-Base-bnb-4bit
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.qwenSubject:

Qwen3-4B-Base-bnb-4bit

Date: 2026-11-15Commit: 4959fd9Signed: 2DC28CC7B26A283B ✓

Text generation model with 4.1B parameters. Safetensors weights, 2.67 GB in all. Published by unsloth under Apache-2.0.

4.1B params2.67GBQwen3-4B-Base-bnb-4bitsafetensorspermissive
FactsParams4.1BSize2.67 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get unsloth/Qwen3-4B-Base-bnb-4bit
# manifest sha256 f2c67463b90e… · 2.67 GB · 11 files
$ fw verify ./Qwen3-4B-Base-bnb-4bit unsloth/Qwen3-4B-Base-bnb-4bit
From sourceHosted (signed)unsloth/Qwen3-4B-Base-bnb-4bitLast check: 2026-11-15 05:02 UTC

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

Quantized of Qwen3-4B-Base.

Works with

Overview

Size
2.67 GB
Weights
2.65 GB (safetensors)
Parameters
4.1B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
11, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3-4B-Base

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-15 05:02 UTCpassed

Model card

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

Qwen3-4B-Base#

Qwen3 Highlights#

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Building upon extensive advancements in training data, model architecture, and optimization techniques, Qwen3 delivers the following key improvements over the previously released Qwen2.5:

  • Expanded Higher-Quality Pre-training Corpus: Qwen3 is pre-trained on 36 trillion tokens across 119 languages — tripling the language coverage of Qwen2.5 — with a much richer mix of high-quality data, including coding, STEM, reasoning, book, multilingual, and synthetic data.
  • Training Techniques and Model Architecture: Qwen3 incorporates a series of training techiques and architectural refinements, including global-batch load balancing loss for MoE models and qk layernorm for all models, leading to improved stability and overall performance.
  • Three-stage Pre-training: Stage 1 focuses on broad language modeling and general knowledge acquisition, Stage 2 improves reasoning skills like STEM, coding, and logical reasoning, and Stage 3 enhances long-context comprehension by extending training sequence lengths up to 32k tokens.
  • Scaling Law Guided Hyperparameter Tuning: Through comprehensive scaling law studies across the three-stage pre-training pipeline, Qwen3 systematically tunes critical hyperparameters — such as learning rate scheduler and batch size — separately for dense and MoE models, resulting in better training dynamics and final performance across different model scales.

Model Overview#

Qwen3-4B-Base has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining
  • 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: 32,768

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

Requirements#

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'

Evaluation & Performance#

Detailed evaluation results are reported in this 📑 blog.

Citation#

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

@misc{qwen3,
    title  = {Qwen3},
    url    = {https://qwenlm.github.io/blog/qwen3/},
    author = {Qwen Team},
    month  = {April},
    year   = {2025}
}

Files

11 files · 2.67 GBWeights 2.65 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md2.91 KBca11ccec5d82422a56a5d2eb980ebc8023abd3bd13365a7d01265a034c44cdfa
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
config.json1.33 KBe51fa81d2eb8bd2f39f4997f9b3b931cc728972c5271d413866d80066c4190cc
generation_config.json166 B64c0fe69b4457fce4a9875ee51d009e18e62ca46793e9611be526866871a6de0
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model.safetensors2.65 GB3f3554cacea75d87909d1c5f03182f03c8a7245e8497d9f8a215a4c4c5984c05
special_tokens_map.json617 B560aa69e8ac8bb38c99dc2d38be9307e5380fe9047d61eb434d2a6b97272d296
tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer_config.json5.43 KBaa71776c7cec3ef357d7b59a67edb31377d9c52407b9e2e822c717fe145cd03c
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4959fd9c78 pinned now2026-11-15 05:02 UTC11 files · 2.67 GB

Use it

$ fw get unsloth/Qwen3-4B-Base-bnb-4bit
# manifest sha256 f2c67463b90e… · 2.67 GB · 11 files
$ fw verify ./Qwen3-4B-Base-bnb-4bit unsloth/Qwen3-4B-Base-bnb-4bit
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-Base-bnb-4bit.json --dir ./Qwen3-4B-Base-bnb-4bit $ python3 fw.py verify ./Qwen3-4B-Base-bnb-4bit ./unsloth__Qwen3-4B-Base-bnb-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Qwen3-4B-Base-bnb-4bit --revision 4959fd9c78cf32e755866ee3b823a4134b4678df --local-dir ./Qwen3-4B-Base-bnb-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("unsloth/Qwen3-4B-Base-bnb-4bit", revision="4959fd9c78cf32e755866ee3b823a4134b4678df") model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-Base-bnb-4bit", revision="4959fd9c78cf32e755866ee3b823a4134b4678df", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve unsloth/Qwen3-4B-Base-bnb-4bit --revision 4959fd9c78cf32e755866ee3b823a4134b4678df

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-15
Text in
README.md
Text sha256
ca11ccec5d82422a56a5d2eb980ebc8023abd3bd13365a7d01265a034c44cdfa
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-Base-bnb-4bitDate: 2026-11-15Commit: 4959fd9Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/Qwen3-4B-Base-bnb-4bit
Pinned commit
4959fd9c78cf32e755866ee3b823a4134b4678df
Manifest
Qwen3-4B-Base-bnb-4bit.json · .minisig
Manifest sha256
f2c67463b90ee71cd352ed99627eb2b1aaacb7e79bfd045b35605e4a486bce9a
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:02 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/Qwen3-4B-Base-bnb-4bit.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/Qwen3-4B-Base-bnb-4bit.json.minisig $ minisign -Vm Qwen3-4B-Base-bnb-4bit.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-Base · 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-Base-bnb-4bit
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-Base-bnb-4bit.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