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

richarderkhov/qwen_-_qwen1.5-0.5b-chat-gguf overview

Comprehensive model page for richarderkhov/qwen-qwen1.5-0.5b-chat-gguf

ggufarxiv:2309.16609endpoints_compatibleregion:usconversational
richarderkhov/qwen_-_qwen1.5-0.5b-chat-gguf visual
Downloads
82
Likes
0
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

21 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Qwen1.5-0.5B-Chat.IQ3_M.gguf GGUF IQ3_M 325.41 MB Download
Qwen1.5-0.5B-Chat.IQ3_S.gguf GGUF IQ3_S 317.94 MB Download
Qwen1.5-0.5B-Chat.IQ3_XS.gguf GGUF IQ3_XS 311.05 MB Download
Qwen1.5-0.5B-Chat.IQ4_NL.gguf GGUF IQ4_NL 377.72 MB Download
Qwen1.5-0.5B-Chat.IQ4_XS.gguf GGUF IQ4_XS 364.16 MB Download
Qwen1.5-0.5B-Chat.Q2_K.gguf GGUF Q2_K 284.59 MB Download
Qwen1.5-0.5B-Chat.Q3_K.gguf GGUF Q3_K 333.67 MB Download
Qwen1.5-0.5B-Chat.Q3_K_L.gguf GGUF Q3_K_L 347.33 MB Download
Qwen1.5-0.5B-Chat.Q3_K_M.gguf GGUF Q3_K_M 333.67 MB Download
Qwen1.5-0.5B-Chat.Q3_K_S.gguf GGUF Q3_K_S 317.94 MB Download
Qwen1.5-0.5B-Chat.Q4_0.gguf GGUF 376.69 MB Download
Qwen1.5-0.5B-Chat.Q4_1.gguf GGUF 404.34 MB Download
Qwen1.5-0.5B-Chat.Q4_K.gguf GGUF Q4_K 388.29 MB Download
Qwen1.5-0.5B-Chat.Q4_K_M.gguf GGUF Q4_K_M 388.29 MB Download
Qwen1.5-0.5B-Chat.Q4_K_S.gguf GGUF Q4_K_S 378.22 MB Download
Qwen1.5-0.5B-Chat.Q5_0.gguf GGUF 431.99 MB Download
Qwen1.5-0.5B-Chat.Q5_1.gguf GGUF 459.64 MB Download
Qwen1.5-0.5B-Chat.Q5_K.gguf GGUF Q5_K 437.97 MB Download
Qwen1.5-0.5B-Chat.Q5_K_M.gguf GGUF Q5_K_M 437.97 MB Download
Qwen1.5-0.5B-Chat.Q5_K_S.gguf GGUF Q5_K_S 431.99 MB Download
Qwen1.5-0.5B-Chat.Q6_K.gguf GGUF Q6_K 490.74 MB Download

Model Details Live

Model Slug
richarderkhov/qwen_-_qwen1.5-0.5b-chat-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-04-06
Last Modified
2024-04-11
Gated
No
Private
No
HF SHA
f76c81a47a0db3a6cddda115a89d5875c579d90f
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "frontmatter": {},
    "hero_image_url": "",
    "summary": "",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "GGUF quantization made by Richard Erkhov.\n\n[Github](https://github.com/RichardErkhov)\n\n[Discord](https://discord.gg/pvy7H8DZMG)\n\n[Request more models](https://github.com/RichardErkhov/quant_request)\n\n\nQwen1.5-0.5B-Chat - GGUF\n- Model creator: https://huggingface.co/Qwen/\n- Original model: https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [Qwen1.5-0.5B-Chat.Q2_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q2_K.gguf) | Q2_K | 0.28GB |\n| [Qwen1.5-0.5B-Chat.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.IQ3_XS.gguf) | IQ3_XS | 0.3GB |\n| [Qwen1.5-0.5B-Chat.IQ3_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.IQ3_S.gguf) | IQ3_S | 0.31GB |\n| [Qwen1.5-0.5B-Chat.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q3_K_S.gguf) | Q3_K_S | 0.31GB |\n| [Qwen1.5-0.5B-Chat.IQ3_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.IQ3_M.gguf) | IQ3_M | 0.32GB |\n| [Qwen1.5-0.5B-Chat.Q3_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q3_K.gguf) | Q3_K | 0.33GB |\n| [Qwen1.5-0.5B-Chat.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q3_K_M.gguf) | Q3_K_M | 0.33GB |\n| [Qwen1.5-0.5B-Chat.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q3_K_L.gguf) | Q3_K_L | 0.34GB |\n| [Qwen1.5-0.5B-Chat.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.IQ4_XS.gguf) | IQ4_XS | 0.36GB |\n| [Qwen1.5-0.5B-Chat.Q4_0.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q4_0.gguf) | Q4_0 | 0.37GB |\n| [Qwen1.5-0.5B-Chat.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.IQ4_NL.gguf) | IQ4_NL | 0.37GB |\n| [Qwen1.5-0.5B-Chat.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q4_K_S.gguf) | Q4_K_S | 0.37GB |\n| [Qwen1.5-0.5B-Chat.Q4_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q4_K.gguf) | Q4_K | 0.38GB |\n| [Qwen1.5-0.5B-Chat.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q4_K_M.gguf) | Q4_K_M | 0.38GB |\n| [Qwen1.5-0.5B-Chat.Q4_1.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q4_1.gguf) | Q4_1 | 0.39GB |\n| [Qwen1.5-0.5B-Chat.Q5_0.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q5_0.gguf) | Q5_0 | 0.42GB |\n| [Qwen1.5-0.5B-Chat.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q5_K_S.gguf) | Q5_K_S | 0.42GB |\n| [Qwen1.5-0.5B-Chat.Q5_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q5_K.gguf) | Q5_K | 0.43GB |\n| [Qwen1.5-0.5B-Chat.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q5_K_M.gguf) | Q5_K_M | 0.43GB |\n| [Qwen1.5-0.5B-Chat.Q5_1.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q5_1.gguf) | Q5_1 | 0.45GB |\n| [Qwen1.5-0.5B-Chat.Q6_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf/blob/main/Qwen1.5-0.5B-Chat.Q6_K.gguf) | Q6_K | 0.48GB |\n\n\n\n\tOriginal model description:\n\t---\nlicense: other\nlicense_name: tongyi-qianwen-research\nlicense_link: >-\n  https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat/blob/main/LICENSE\nlanguage:\n- en\npipeline_tag: text-generation\ntags:\n- chat\n---\n\n# Qwen1.5-0.5B-Chat\n\n\n## Introduction\n\nQwen1.5 is the beta version of Qwen2, a transformer-based decoder-only language model pretrained on a large amount of data. In comparison with the previous released Qwen, the improvements include: \n\n* 8 model sizes, including 0.5B, 1.8B, 4B, 7B, 14B, 32B and 72B dense models, and an MoE model of 14B with 2.7B activated;\n* Significant performance improvement in human preference for chat models;\n* Multilingual support of both base and chat models;\n* Stable support of 32K context length for models of all sizes\n* No need of `trust_remote_code`.\n\nFor more details, please refer to our [blog post](https://qwenlm.github.io/blog/qwen1.5/) and [GitHub repo](https://github.com/QwenLM/Qwen1.5).\n<br>\n\n## Model Details\nQwen1.5 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, mixture of sliding window attention and full attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes. For the beta version, temporarily we did not include GQA (except for 32B) and the mixture of SWA and full attention.\n\n## Training details\nWe pretrained the models with a large amount of data, and we post-trained the models with both supervised finetuning and direct preference optimization. \n\n## Requirements\nThe code of Qwen1.5 has been in the latest Hugging face transformers and we advise you to install `transformers>=4.37.0`, or you might encounter the following error:\n```\nKeyError: 'qwen2'\n```\n\n## Quickstart\n\nHere provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\ndevice = \"cuda\" # the device to load the model onto\n\nmodel = AutoModelForCausalLM.from_pretrained(\n    \"Qwen/Qwen1.5-0.5B-Chat\",\n    torch_dtype=\"auto\",\n    device_map=\"auto\"\n)\ntokenizer = AutoTokenizer.from_pretrained(\"Qwen/Qwen1.5-0.5B-Chat\")\n\nprompt = \"Give me a short introduction to large language model.\"\nmessages = [\n    {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n    {\"role\": \"user\", \"content\": prompt}\n]\ntext = tokenizer.apply_chat_template(\n    messages,\n    tokenize=False,\n    add_generation_prompt=True\n)\nmodel_inputs = tokenizer([text], return_tensors=\"pt\").to(device)\n\ngenerated_ids = model.generate(\n    model_inputs.input_ids,\n    max_new_tokens=512\n)\ngenerated_ids = [\n    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)\n]\n\nresponse = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]\n```\n\nFor quantized models, we advise you to use the GPTQ, AWQ, and GGUF correspondents, namely `Qwen1.5-0.5B-Chat-GPTQ-Int4`, `Qwen1.5-0.5B-Chat-GPTQ-Int8`, `Qwen1.5-0.5B-Chat-AWQ`, and `Qwen1.5-0.5B-Chat-GGUF`.\n\n\n## Tips\n\n* If you encounter code switching or other bad cases, we advise you to use our provided hyper-parameters in `generation_config.json`.\n\n\n## Citation\n\nIf you find our work helpful, feel free to give us a cite.\n\n```\n@article{qwen,\n  title={Qwen Technical Report},\n  author={Jinze Bai and Shuai Bai and Yunfei Chu and Zeyu Cui and Kai Dang and Xiaodong Deng and Yang Fan and Wenbin Ge and Yu Han and Fei Huang and Binyuan Hui and Luo Ji and Mei Li and Junyang Lin and Runji Lin and Dayiheng Liu and Gao Liu and Chengqiang Lu and Keming Lu and Jianxin Ma and Rui Men and Xingzhang Ren and Xuancheng Ren and Chuanqi Tan and Sinan Tan and Jianhong Tu and Peng Wang and Shijie Wang and Wei Wang and Shengguang Wu and Benfeng Xu and Jin Xu and An Yang and Hao Yang and Jian Yang and Shusheng Yang and Yang Yao and Bowen Yu and Hongyi Yuan and Zheng Yuan and Jianwei Zhang and Xingxuan Zhang and Yichang Zhang and Zhenru Zhang and Chang Zhou and Jingren Zhou and Xiaohuan Zhou and Tianhang Zhu},\n  journal={arXiv preprint arXiv:2309.16609},\n  year={2023}\n}\n```\n\t",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "arxiv:2309.16609",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 82,
  "gated": false,
  "private": false,
  "last_modified": "2024-04-11T22:58:47.000Z",
  "created_at": "2024-04-06T22:59:57.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "6611d3ed5983d516270279a4",
  "id": "RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf",
  "modelId": "RichardErkhov/Qwen_-_Qwen1.5-0.5B-Chat-gguf",
  "sha": "f76c81a47a0db3a6cddda115a89d5875c579d90f",
  "createdAt": "2024-04-06T22:59:57.000Z",
  "lastModified": "2024-04-11T22:58:47.000Z",
  "author": "RichardErkhov",
  "downloads": 82,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 23
}