alt.freeweights.qwen / Qwen2.5-0.5B-Instruct-bnb-4bit
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.qwenSubject:

Qwen2.5-0.5B-Instruct-bnb-4bit

Date: 2026-11-15Commit: 216d96bSigned: 2DC28CC7B26A283B ✓

Text generation model with 505M parameters. Safetensors weights, 473 MB in all. Published by unsloth under Apache-2.0.

505M params473MBQwen2.5-0.5B-Instruct-bnb-4bitsafetensorspermissive
FactsParams505MSize473 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit
# manifest sha256 37a94fce03e4… · 473 MB · 11 files
$ fw verify ./Qwen2.5-0.5B-Instruct-bnb-4bit unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit
From sourceHosted (signed)unsloth/Qwen2.5-0.5B-Instruct-bnb-4bitLast check: 2026-11-15 04:44 UTC

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

Quantized of Qwen2.5-0.5B-Instruct.

Works with

Overview

Size
473 MB
Weights
457 MB (safetensors)
Parameters
505M
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/Qwen2.5-0.5B-Instruct

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 04:44 UTCpassed

Model card

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

Finetune Llama 3.1, Gemma 2, Mistral 2-5x faster with 70% less memory via Unsloth!#

We have a Qwen 2.5 (all model sizes) free Google Colab Tesla T4 notebook. Also a Qwen 2.5 conversational style notebook.

https://discord.gg/unsloth https://github.com/unslothai/unsloth

✨ Finetune for Free#

All notebooks are beginner friendly! Add your dataset, click "Run All", and you'll get a 2x faster finetuned model which can be exported to GGUF, vLLM or uploaded to Hugging Face.

Unsloth supportsFree NotebooksPerformanceMemory use
Llama-3.1 8b▶️ Start on Colab2.4x faster58% less
Phi-3.5 (mini)▶️ Start on Colab2x faster50% less
Gemma-2 9b▶️ Start on Colab2.4x faster58% less
Mistral 7b▶️ Start on Colab2.2x faster62% less
TinyLlama▶️ Start on Colab3.9x faster74% less
DPO - Zephyr▶️ Start on Colab1.9x faster19% less

Qwen2.5-0.5B-Instruct#

Introduction#

Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 brings the following improvements upon Qwen2:

  • Significantly more knowledge and has greatly improved capabilities in coding and mathematics, thanks to our specialized expert models in these domains.
  • Significant improvements in instruction following, generating long texts (over 8K tokens), understanding structured data (e.g, tables), and generating structured outputs especially JSON. More resilient to the diversity of system prompts, enhancing role-play implementation and condition-setting for chatbots.
  • Long-context Support up to 128K tokens and can generate up to 8K tokens.
  • Multilingual support for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.

This repo contains the instruction-tuned 0.5B Qwen2.5 model, which has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training
  • Architecture: transformers with RoPE, SwiGLU, RMSNorm, Attention QKV bias and tied word embeddings
  • Number of Parameters: 0.49B
  • Number of Paramaters (Non-Embedding): 0.36B
  • Number of Layers: 24
  • Number of Attention Heads (GQA): 14 for Q and 2 for KV
  • Context Length: Full 32,768 tokens and generation 8192 tokens

For more details, please refer to our blog, GitHub, and Documentation.

Requirements#

The code of Qwen2.5 has been in the latest Hugging face transformers and we advise you to use the latest version of transformers.

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

KeyError: 'qwen2'

Quickstart#

Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen2.5-0.5B-Instruct"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
    {"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)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=512
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

Evaluation & Performance#

Detailed evaluation results are reported in this 📑 blog.

For requirements on GPU memory and the respective throughput, see results here.

Citation#

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

@misc{qwen2.5,
    title = {Qwen2.5: A Party of Foundation Models},
    url = {https://qwenlm.github.io/blog/qwen2.5/},
    author = {Qwen Team},
    month = {September},
    year = {2024}
}

@article{qwen2,
      title={Qwen2 Technical Report}, 
      author={An Yang and Baosong Yang and Binyuan Hui and Bo Zheng and Bowen Yu and Chang Zhou and Chengpeng Li and Chengyuan Li and Dayiheng Liu and Fei Huang and Guanting Dong and Haoran Wei and Huan Lin and Jialong Tang and Jialin Wang and Jian Yang and Jianhong Tu and Jianwei Zhang and Jianxin Ma and Jin Xu and Jingren Zhou and Jinze Bai and Jinzheng He and Junyang Lin and Kai Dang and Keming Lu and Keqin Chen and Kexin Yang and Mei Li and Mingfeng Xue and Na Ni and Pei Zhang and Peng Wang and Ru Peng and Rui Men and Ruize Gao and Runji Lin and Shijie Wang and Shuai Bai and Sinan Tan and Tianhang Zhu and Tianhao Li and Tianyu Liu and Wenbin Ge and Xiaodong Deng and Xiaohuan Zhou and Xingzhang Ren and Xinyu Zhang and Xipin Wei and Xuancheng Ren and Yang Fan and Yang Yao and Yichang Zhang and Yu Wan and Yunfei Chu and Yuqiong Liu and Zeyu Cui and Zhenru Zhang and Zhihao Fan},
      journal={arXiv preprint arXiv:2407.10671},
      year={2024}
}

Files

11 files · 473 MBWeights 457 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md7.63 KBe3dbc15f61ded21da9db3043a5aed1156862fb4ce918667bd5a0b90a13be5c42
added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
config.json1.34 KB994325141aef76ff9fbc6be18f4dbd363dd2ecafb13a1a7746bf44c665fdfe47
generation_config.json270 B409eda00f5fe7d1c29c2c0335823449a4fda6af454b6638b96044fce19186cc5
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model.safetensors457 MBfa6ed98084afb0497d9075a82ab17fdfc0b5d99fb6b37d8f761463e67c100f45
special_tokens_map.json614 Bb5acd1507cb3a3539e63369cb4a2b675a599cf13afe62282d371518288967797
tokenizer.json11.4 MB9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
tokenizer_config.json7.36 KB0553ada6e92b1a29b4431c72782c6e5e6ab675ef0b20ceb2833cd1074c7fb932
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
216d96b52c pinned now2026-11-15 04:44 UTC11 files · 473 MB

Use it

$ fw get unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit
# manifest sha256 37a94fce03e4… · 473 MB · 11 files
$ fw verify ./Qwen2.5-0.5B-Instruct-bnb-4bit unsloth/Qwen2.5-0.5B-Instruct-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/Qwen2.5-0.5B-Instruct-bnb-4bit.json --dir ./Qwen2.5-0.5B-Instruct-bnb-4bit $ python3 fw.py verify ./Qwen2.5-0.5B-Instruct-bnb-4bit ./unsloth__Qwen2.5-0.5B-Instruct-bnb-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit --revision 216d96b52c97a3c8294776df8477592f6828981c --local-dir ./Qwen2.5-0.5B-Instruct-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/Qwen2.5-0.5B-Instruct-bnb-4bit", revision="216d96b52c97a3c8294776df8477592f6828981c") model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit", revision="216d96b52c97a3c8294776df8477592f6828981c", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit --revision 216d96b52c97a3c8294776df8477592f6828981c

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
e3dbc15f61ded21da9db3043a5aed1156862fb4ce918667bd5a0b90a13be5c42
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: Qwen2.5-0.5B-Instruct-bnb-4bitDate: 2026-11-15Commit: 216d96bSigned: 2DC28CC7B26A283B ✓
Upstream
unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit
Pinned commit
216d96b52c97a3c8294776df8477592f6828981c
Manifest
Qwen2.5-0.5B-Instruct-bnb-4bit.json · .minisig
Manifest sha256
37a94fce03e45010cb6634993f8fbe726cdb630dd85fb1c99779c4515ed8a531
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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