GraySoft
Projects Models About FAQ Contact Download guIDE →
Model Intelligence Sheet

thomasbaruzier/qwen2.5-0.5b-instruct-gguf overview

Using llama.cpp commit eca0fab for quantization. Original model: Qwen/Qwen2.5-0.5B-Instruct All quants were made using the imatrix option and Bartowski's calibration file. # Perplexity table (the lower the better) | Quant | Size (MB) | PPL | Size (%) | Accuracy (%) | PPL error rate | | ------- | --------- | ------- | -------- | ------------ | -------------- | | IQ1S | 302 | 30.0453 | 31.82 | 50.53 | 0.23714 | | IQ1M | 304 | 24.9151 | 32.03 | 60.93 | 0.19238 | | IQ2XXS | 307 | 21.4864 | 32.35 | 70.66 | 0.16704 | | IQ2XS | 310 | 19.7829 | 32.67 | 76.74 | 0.15355 | | IQ2S | 311 | 19.2041 | 32.77 | 79.06 | 0.14841 | | IQ2M | 314 | 18.325 | 33.09 | 82.85 | 0.14001 | | Q2KS | 316 | 18.3462 | 33.3 | 82.75 | 0.14091 | | IQ3XXS | 319 | 16.9784 | 33.61 | 89.42 | 0.12828 | | Q3KS | 323 | 17.7765 | 34.04 | 85.4 | 0.13668 | | IQ3S | 323 | 16.3794 | 34.04 | 92.69 | 0.12173 | | IQ3XS | 323 | 16.3794 | 34.04 | 92.69 | 0.12173 | | Q2K | 323 | 17.6841 | 34.04 | 85.85 | 0.13561 | | IQ3M | 327 | 16.3667 | 34.46 | 92.76 | 0.12182 | | IQ4XS | 334 | 15.8792 | 35.19 | 95.61 | 0.11933 | | IQ4NL | 337 | 15.8468 | 35.51 | 95.8 | 0.11921 | | Q40 | 337 | 17.1007 | 35.51 | 88.78 | 0.13053 | | Q3KM | 339 | 15.8499 | 35.72 | 95.79 | 0.11934 | | Q3KL | 353 | 15.7298 | 37.2 | 96.52 | 0.1182 | | Q41 | 358 | 16.1819 | 37.72 | 93.82 | 0.12328 | | Q4KS | 368 | 15.5497 | 38.78 | 97.63 | 0.11716 | | Q50 | 380 | 15.5038 | 40.04 | 97.92 | 0.11702 | | Q4KM | 380 | 15.4428 | 40.04 | 98.31 | 0.11637 | | Q5KS | 394 | 15.5266 | 41.52 | 97.78 | 0.11682 | | Q51 | 400 | 15.4875 | 42.15 | 98.03 | 0.11641 | | Q5KM | 401 | 15.4788 | 42.26 | 98.08 | 0.11631 | | Q6K | 483 | 15.2145 | 50.9 | 99.79 | 0.11422 | | Q8_0 | 507 | 15.239 | 53.42 | 99.63 | 0.11452 | | F16 | 949 | 15.1819 | 100 | 100 | 0.114 | # Qwen2.5-0.5B-Instruct

ggufchattext-generationzhoengfraspapordeuitarusjpnkorviethaaraarxiv:2407.10671base_model:Qwen/Qwen2.5-0.5Bbase_model:quantized:Qwen/Qwen2.5-0.5Blicense:apache-2.0endpoints_compatibleregion:usconversational
thomasbaruzier/qwen2.5-0.5b-instruct-gguf visual
Downloads
1,069
Likes
0
Pipeline
text-generation
Library
Visibility
Public
Access
Open

Repository Files & Downloads

31 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Qwen2.5-0.5B-Instruct-F16.gguf GGUF F16 948.10 MB Download
Qwen2.5-0.5B-Instruct-IQ1_M.gguf GGUF IQ1_M 303.24 MB Download
Qwen2.5-0.5B-Instruct-IQ1_S.gguf GGUF IQ1_S 301.20 MB Download
Qwen2.5-0.5B-Instruct-IQ2_M.gguf GGUF IQ2_M 313.38 MB Download
Qwen2.5-0.5B-Instruct-IQ2_S.gguf GGUF IQ2_S 310.65 MB Download
Qwen2.5-0.5B-Instruct-IQ2_XS.gguf GGUF IQ2_XS 309.38 MB Download
Qwen2.5-0.5B-Instruct-IQ2_XXS.gguf GGUF IQ2_XXS 306.65 MB Download
Qwen2.5-0.5B-Instruct-IQ3_M.gguf GGUF IQ3_M 326.87 MB Download
Qwen2.5-0.5B-Instruct-IQ3_S.gguf GGUF IQ3_S 322.92 MB Download
Qwen2.5-0.5B-Instruct-IQ3_XS.gguf GGUF IQ3_XS 322.92 MB Download
Qwen2.5-0.5B-Instruct-IQ3_XXS.gguf GGUF IQ3_XXS 318.25 MB Download
Qwen2.5-0.5B-Instruct-IQ4_NL.gguf GGUF IQ4_NL 336.33 MB Download
Qwen2.5-0.5B-Instruct-IQ4_XS.gguf GGUF IQ4_XS 333.22 MB Download
Qwen2.5-0.5B-Instruct-Q2_K.gguf GGUF Q2_K 322.92 MB Download
Qwen2.5-0.5B-Instruct-Q2_K_S.gguf GGUF Q2_K_S 315.71 MB Download
Qwen2.5-0.5B-Instruct-Q3_K_L.gguf GGUF Q3_K_L 352.25 MB Download
Qwen2.5-0.5B-Instruct-Q3_K_M.gguf GGUF Q3_K_M 339.00 MB Download
Qwen2.5-0.5B-Instruct-Q3_K_S.gguf GGUF Q3_K_S 322.59 MB Download
Qwen2.5-0.5B-Instruct-Q4_0.gguf GGUF 336.62 MB Download
Qwen2.5-0.5B-Instruct-Q4_0_4_4.gguf GGUF 335.84 MB Download
Qwen2.5-0.5B-Instruct-Q4_0_4_8.gguf GGUF 335.84 MB Download
Qwen2.5-0.5B-Instruct-Q4_0_8_8.gguf GGUF 335.84 MB Download
Qwen2.5-0.5B-Instruct-Q4_1.gguf GGUF 357.17 MB Download
Qwen2.5-0.5B-Instruct-Q4_K_M.gguf GGUF Q4_K_M 379.38 MB Download
Qwen2.5-0.5B-Instruct-Q4_K_S.gguf GGUF Q4_K_S 367.61 MB Download
Qwen2.5-0.5B-Instruct-Q5_0.gguf GGUF 379.28 MB Download
Qwen2.5-0.5B-Instruct-Q5_1.gguf GGUF 399.83 MB Download
Qwen2.5-0.5B-Instruct-Q5_K_M.gguf GGUF Q5_K_M 400.63 MB Download
Qwen2.5-0.5B-Instruct-Q5_K_S.gguf GGUF Q5_K_S 393.59 MB Download
Qwen2.5-0.5B-Instruct-Q6_K.gguf GGUF Q6_K 482.31 MB Download
Qwen2.5-0.5B-Instruct-Q8_0.gguf GGUF 506.47 MB Download

Model Details Live

Model Slug
thomasbaruzier/qwen2.5-0.5b-instruct-gguf
Author
ThomasBaruzier
Pipeline Task
text-generation
Library
Created
2024-09-19
Last Modified
2025-04-28
Gated
No
Private
No
HF SHA
a3b40abef7502b3ed30318b8a773b87f69587eef
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "license": "apache-2.0",
    "license_link": "https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct/blob/main/LICENSE",
    "language": [
      "zho",
      "eng",
      "fra",
      "spa",
      "por",
      "deu",
      "ita",
      "rus",
      "jpn",
      "kor",
      "vie",
      "tha",
      "ara"
    ],
    "pipeline_tag": "text-generation",
    "base_model": "Qwen/Qwen2.5-0.5B",
    "tags": [
      "chat"
    ],
    "frontmatter": {},
    "hero_image_url": "https://cdn-uploads.huggingface.co/production/uploads/646410e04bf9122922289dc7/gDUbZOu1ND0j-th4Q6tep.jpeg",
    "summary": "Using llama.cpp commit eca0fab for quantization. Original model: Qwen/Qwen2.5-0.5B-Instruct All quants were made using the imatrix option and Bartowski's calibration file.  # Perplexity table (the lower the better) | Quant   | Size (MB) | PPL     | Size (%) | Accuracy (%) | PPL error rate | | ------- | --------- | ------- | -------- | ------------ | -------------- | | IQ1_S   | 302       | 30.0453 | 31.82    | 50.53        | 0.23714        | | IQ1_M   | 304       | 24.9151 | 32.03    | 60.93        | 0.19238        | | IQ2_XXS | 307       | 21.4864 | 32.35    | 70.66        | 0.16704        | | IQ2_XS  | 310       | 19.7829 | 32.67    | 76.74        | 0.15355        | | IQ2_S   | 311       | 19.2041 | 32.77    | 79.06        | 0.14841        | | IQ2_M   | 314       | 18.325  | 33.09    | 82.85        | 0.14001        | | Q2_K_S  | 316       | 18.3462 | 33.3     | 82.75        | 0.14091        | | IQ3_XXS | 319       | 16.9784 | 33.61    | 89.42        | 0.12828        | | Q3_K_S  | 323       | 17.7765 | 34.04    | 85.4         | 0.13668        | | IQ3_S   | 323       | 16.3794 | 34.04    | 92.69        | 0.12173        | | IQ3_XS  | 323       | 16.3794 | 34.04    | 92.69        | 0.12173        | | Q2_K    | 323       | 17.6841 | 34.04    | 85.85        | 0.13561        | | IQ3_M   | 327       | 16.3667 | 34.46    | 92.76        | 0.12182        | | IQ4_XS  | 334       | 15.8792 | 35.19    | 95.61        | 0.11933        | | IQ4_NL  | 337       | 15.8468 | 35.51    | 95.8         | 0.11921        | | Q4_0    | 337       | 17.1007 | 35.51    | 88.78        | 0.13053        | | Q3_K_M  | 339       | 15.8499 | 35.72    | 95.79        | 0.11934        | | Q3_K_L  | 353       | 15.7298 | 37.2     | 96.52        | 0.1182         | | Q4_1    | 358       | 16.1819 | 37.72    | 93.82        | 0.12328        | | Q4_K_S  | 368       | 15.5497 | 38.78    | 97.63        | 0.11716        | | Q5_0    | 380       | 15.5038 | 40.04    | 97.92        | 0.11702        | | Q4_K_M  | 380       | 15.4428 | 40.04    | 98.31        | 0.11637        | | Q5_K_S  | 394       | 15.5266 | 41.52    | 97.78        | 0.11682        | | Q5_1    | 400       | 15.4875 | 42.15    | 98.03        | 0.11641        | | Q5_K_M  | 401       | 15.4788 | 42.26    | 98.08        | 0.11631        | | Q6_K    | 483       | 15.2145 | 50.9     | 99.79        | 0.11422        | | Q8_0    | 507       | 15.239  | 53.42    | 99.63        | 0.11452        | | F16     | 949       | 15.1819 | 100      | 100          | 0.114          |  # Qwen2.5-0.5B-Instruct",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "---\r\nlicense: apache-2.0\r\nlicense_link: https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct/blob/main/LICENSE\r\nlanguage:\r\n- zho\r\n- eng\r\n- fra\r\n- spa\r\n- por\r\n- deu\r\n- ita\r\n- rus\r\n- jpn\r\n- kor\r\n- vie\r\n- tha\r\n- ara\r\npipeline_tag: text-generation\r\nbase_model: Qwen/Qwen2.5-0.5B\r\ntags:\r\n- chat\r\n---\r\n\r\n<hr>\r\n\r\n# Llama.cpp imatrix quantizations of Qwen/Qwen2.5-0.5B-Instruct\r\n\r\n<img src=\"https://cdn-uploads.huggingface.co/production/uploads/646410e04bf9122922289dc7/gDUbZOu1ND0j-th4Q6tep.jpeg\" alt=\"qwen\" width=\"60%\"/>\r\n\r\nUsing llama.cpp commit [eca0fab](https://github.com/ggerganov/llama.cpp/commit/eca0fab) for quantization.\r\n\r\nOriginal model: [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct)\r\n\r\nAll quants were made using the imatrix option and Bartowski's [calibration file](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8).\r\n\r\n<hr>\r\n\r\n# Perplexity table (the lower the better)\r\n\r\n| Quant   | Size (MB) | PPL     | Size (%) | Accuracy (%) | PPL error rate |\r\n| ------- | --------- | ------- | -------- | ------------ | -------------- |\r\n| IQ1_S   | 302       | 30.0453 | 31.82    | 50.53        | 0.23714        |\r\n| IQ1_M   | 304       | 24.9151 | 32.03    | 60.93        | 0.19238        |\r\n| IQ2_XXS | 307       | 21.4864 | 32.35    | 70.66        | 0.16704        |\r\n| IQ2_XS  | 310       | 19.7829 | 32.67    | 76.74        | 0.15355        |\r\n| IQ2_S   | 311       | 19.2041 | 32.77    | 79.06        | 0.14841        |\r\n| IQ2_M   | 314       | 18.325  | 33.09    | 82.85        | 0.14001        |\r\n| Q2_K_S  | 316       | 18.3462 | 33.3     | 82.75        | 0.14091        |\r\n| IQ3_XXS | 319       | 16.9784 | 33.61    | 89.42        | 0.12828        |\r\n| Q3_K_S  | 323       | 17.7765 | 34.04    | 85.4         | 0.13668        |\r\n| IQ3_S   | 323       | 16.3794 | 34.04    | 92.69        | 0.12173        |\r\n| IQ3_XS  | 323       | 16.3794 | 34.04    | 92.69        | 0.12173        |\r\n| Q2_K    | 323       | 17.6841 | 34.04    | 85.85        | 0.13561        |\r\n| IQ3_M   | 327       | 16.3667 | 34.46    | 92.76        | 0.12182        |\r\n| IQ4_XS  | 334       | 15.8792 | 35.19    | 95.61        | 0.11933        |\r\n| IQ4_NL  | 337       | 15.8468 | 35.51    | 95.8         | 0.11921        |\r\n| Q4_0    | 337       | 17.1007 | 35.51    | 88.78        | 0.13053        |\r\n| Q3_K_M  | 339       | 15.8499 | 35.72    | 95.79        | 0.11934        |\r\n| Q3_K_L  | 353       | 15.7298 | 37.2     | 96.52        | 0.1182         |\r\n| Q4_1    | 358       | 16.1819 | 37.72    | 93.82        | 0.12328        |\r\n| Q4_K_S  | 368       | 15.5497 | 38.78    | 97.63        | 0.11716        |\r\n| Q5_0    | 380       | 15.5038 | 40.04    | 97.92        | 0.11702        |\r\n| Q4_K_M  | 380       | 15.4428 | 40.04    | 98.31        | 0.11637        |\r\n| Q5_K_S  | 394       | 15.5266 | 41.52    | 97.78        | 0.11682        |\r\n| Q5_1    | 400       | 15.4875 | 42.15    | 98.03        | 0.11641        |\r\n| Q5_K_M  | 401       | 15.4788 | 42.26    | 98.08        | 0.11631        |\r\n| Q6_K    | 483       | 15.2145 | 50.9     | 99.79        | 0.11422        |\r\n| Q8_0    | 507       | 15.239  | 53.42    | 99.63        | 0.11452        |\r\n| F16     | 949       | 15.1819 | 100      | 100          | 0.114          |\r\n\r\n<hr>\r\n\r\n# Qwen2.5-0.5B-Instruct\r\n\r\n## Introduction\r\n\r\nQwen2.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:\r\n\r\n- Significantly **more knowledge** and has greatly improved capabilities in **coding** and **mathematics**, thanks to our specialized expert models in these domains.\r\n- 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.\r\n- **Long-context Support** up to 128K tokens and can generate up to 8K tokens.\r\n- **Multilingual support** for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more. \r\n\r\n**This repo contains the instruction-tuned 0.5B Qwen2.5 model**, which has the following features:\r\n- Type: Causal Language Models\r\n- Training Stage: Pretraining & Post-training\r\n- Architecture: transformers with RoPE, SwiGLU, RMSNorm, Attention QKV bias and tied word embeddings\r\n- Number of Parameters: 0.49B\r\n- Number of Paramaters (Non-Embedding): 0.36B\r\n- Number of Layers: 24\r\n- Number of Attention Heads (GQA): 14 for Q and 2 for KV\r\n- Context Length: Full 32,768 tokens and generation 8192 tokens\r\n\r\nFor more details, please refer to our [blog](https://qwenlm.github.io/blog/qwen2.5/), [GitHub](https://github.com/QwenLM/Qwen2.5), and [Documentation](https://qwen.readthedocs.io/en/latest/).\r\n\r\n## Requirements\r\n\r\nThe code of Qwen2.5 has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.\r\n\r\nWith `transformers<4.37.0`, you will encounter the following error:\r\n```\r\nKeyError: 'qwen2'\r\n```\r\n\r\n## Quickstart\r\n\r\nHere provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.\r\n\r\n```python\r\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\r\n\r\nmodel_name = \"Qwen/Qwen2.5-0.5B-Instruct\"\r\n\r\nmodel = AutoModelForCausalLM.from_pretrained(\r\n    model_name,\r\n    torch_dtype=\"auto\",\r\n    device_map=\"auto\"\r\n)\r\ntokenizer = AutoTokenizer.from_pretrained(model_name)\r\n\r\nprompt = \"Give me a short introduction to large language model.\"\r\nmessages = [\r\n    {\"role\": \"system\", \"content\": \"You are Qwen, created by Alibaba Cloud. You are a helpful assistant.\"},\r\n    {\"role\": \"user\", \"content\": prompt}\r\n]\r\ntext = tokenizer.apply_chat_template(\r\n    messages,\r\n    tokenize=False,\r\n    add_generation_prompt=True\r\n)\r\nmodel_inputs = tokenizer([text], return_tensors=\"pt\").to(model.device)\r\n\r\ngenerated_ids = model.generate(\r\n    **model_inputs,\r\n    max_new_tokens=512\r\n)\r\ngenerated_ids = [\r\n    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)\r\n]\r\n\r\nresponse = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]\r\n```\r\n\r\n\r\n## Evaluation & Performance\r\n\r\nDetailed evaluation results are reported in this [📑 blog](https://qwenlm.github.io/blog/qwen2.5/).\r\n\r\nFor requirements on GPU memory and the respective throughput, see results [here](https://qwen.readthedocs.io/en/latest/benchmark/speed_benchmark.html).\r\n\r\n## Citation\r\n\r\nIf you find our work helpful, feel free to give us a cite.\r\n\r\n```\r\n@misc{qwen2.5,\r\n    title = {Qwen2.5: A Party of Foundation Models},\r\n    url = {https://qwenlm.github.io/blog/qwen2.5/},\r\n    author = {Qwen Team},\r\n    month = {September},\r\n    year = {2024}\r\n}\r\n\r\n@article{qwen2,\r\n      title={Qwen2 Technical Report}, \r\n      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},\r\n      journal={arXiv preprint arXiv:2407.10671},\r\n      year={2024}\r\n}\r\n```",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "chat",
    "text-generation",
    "zho",
    "eng",
    "fra",
    "spa",
    "por",
    "deu",
    "ita",
    "rus",
    "jpn",
    "kor",
    "vie",
    "tha",
    "ara",
    "arxiv:2407.10671",
    "base_model:Qwen/Qwen2.5-0.5B",
    "base_model:quantized:Qwen/Qwen2.5-0.5B",
    "license:apache-2.0",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 1069,
  "gated": false,
  "private": false,
  "last_modified": "2025-04-28T11:03:12.000Z",
  "created_at": "2024-09-19T13:37:44.000Z",
  "pipeline_tag": "text-generation",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "66ec2928a241a01add89e1fa",
  "id": "ThomasBaruzier/Qwen2.5-0.5B-Instruct-GGUF",
  "modelId": "ThomasBaruzier/Qwen2.5-0.5B-Instruct-GGUF",
  "sha": "a3b40abef7502b3ed30318b8a773b87f69587eef",
  "createdAt": "2024-09-19T13:37:44.000Z",
  "lastModified": "2025-04-28T11:03:12.000Z",
  "author": "ThomasBaruzier",
  "downloads": 1069,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "",
  "siblings_count": 36
}