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

richarderkhov/unsloth_-_qwen2.5-14b-instruct-gguf overview

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

ggufarxiv:2309.00071arxiv:2407.10671endpoints_compatibleregion:usconversational
richarderkhov/unsloth_-_qwen2.5-14b-instruct-gguf visual
Downloads
106
Likes
0
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

22 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Qwen2.5-14B-Instruct.IQ3_M.gguf GGUF IQ3_M 6.44 GB Download
Qwen2.5-14B-Instruct.IQ3_S.gguf GGUF IQ3_S 6.23 GB Download
Qwen2.5-14B-Instruct.IQ3_XS.gguf GGUF IQ3_XS 5.94 GB Download
Qwen2.5-14B-Instruct.IQ4_NL.gguf GGUF IQ4_NL 8.01 GB Download
Qwen2.5-14B-Instruct.IQ4_XS.gguf GGUF IQ4_XS 7.62 GB Download
Qwen2.5-14B-Instruct.Q2_K.gguf GGUF Q2_K 5.37 GB Download
Qwen2.5-14B-Instruct.Q3_K.gguf GGUF Q3_K 6.84 GB Download
Qwen2.5-14B-Instruct.Q3_K_L.gguf GGUF Q3_K_L 7.38 GB Download
Qwen2.5-14B-Instruct.Q3_K_M.gguf GGUF Q3_K_M 6.84 GB Download
Qwen2.5-14B-Instruct.Q3_K_S.gguf GGUF Q3_K_S 6.20 GB Download
Qwen2.5-14B-Instruct.Q4_0.gguf GGUF 7.93 GB Download
Qwen2.5-14B-Instruct.Q4_1.gguf GGUF 8.75 GB Download
Qwen2.5-14B-Instruct.Q4_K.gguf GGUF Q4_K 8.37 GB Download
Qwen2.5-14B-Instruct.Q4_K_M.gguf GGUF Q4_K_M 8.37 GB Download
Qwen2.5-14B-Instruct.Q4_K_S.gguf GGUF Q4_K_S 7.98 GB Download
Qwen2.5-14B-Instruct.Q5_0.gguf GGUF 9.56 GB Download
Qwen2.5-14B-Instruct.Q5_1.gguf GGUF 10.38 GB Download
Qwen2.5-14B-Instruct.Q5_K.gguf GGUF Q5_K 9.79 GB Download
Qwen2.5-14B-Instruct.Q5_K_M.gguf GGUF Q5_K_M 9.79 GB Download
Qwen2.5-14B-Instruct.Q5_K_S.gguf GGUF Q5_K_S 9.56 GB Download
Qwen2.5-14B-Instruct.Q6_K.gguf GGUF Q6_K 11.29 GB Download
Qwen2.5-14B-Instruct.Q8_0.gguf GGUF 14.62 GB Download

Model Details Live

Model Slug
richarderkhov/unsloth_-_qwen2.5-14b-instruct-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-10-06
Last Modified
2024-10-06
Gated
No
Private
No
HF SHA
dbac29522c17675ce397fea205fc0a27b7bfd308
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "frontmatter": {},
    "hero_image_url": "https://raw.githubusercontent.com/unslothai/unsloth/main/images/Discord%20button.png",
    "summary": "We have a Qwen 2.5 (all model sizes) free Google Colab Tesla T4 notebook. Also a Qwen 2.5 conversational style notebook.",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "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\nQwen2.5-14B-Instruct - GGUF\n- Model creator: https://huggingface.co/unsloth/\n- Original model: https://huggingface.co/unsloth/Qwen2.5-14B-Instruct/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [Qwen2.5-14B-Instruct.Q2_K.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q2_K.gguf) | Q2_K | 5.37GB |\n| [Qwen2.5-14B-Instruct.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.IQ3_XS.gguf) | IQ3_XS | 5.94GB |\n| [Qwen2.5-14B-Instruct.IQ3_S.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.IQ3_S.gguf) | IQ3_S | 6.23GB |\n| [Qwen2.5-14B-Instruct.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q3_K_S.gguf) | Q3_K_S | 6.2GB |\n| [Qwen2.5-14B-Instruct.IQ3_M.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.IQ3_M.gguf) | IQ3_M | 6.44GB |\n| [Qwen2.5-14B-Instruct.Q3_K.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q3_K.gguf) | Q3_K | 6.84GB |\n| [Qwen2.5-14B-Instruct.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q3_K_M.gguf) | Q3_K_M | 6.84GB |\n| [Qwen2.5-14B-Instruct.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q3_K_L.gguf) | Q3_K_L | 7.38GB |\n| [Qwen2.5-14B-Instruct.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.IQ4_XS.gguf) | IQ4_XS | 7.62GB |\n| [Qwen2.5-14B-Instruct.Q4_0.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q4_0.gguf) | Q4_0 | 7.93GB |\n| [Qwen2.5-14B-Instruct.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.IQ4_NL.gguf) | IQ4_NL | 8.01GB |\n| [Qwen2.5-14B-Instruct.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q4_K_S.gguf) | Q4_K_S | 7.98GB |\n| [Qwen2.5-14B-Instruct.Q4_K.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q4_K.gguf) | Q4_K | 8.37GB |\n| [Qwen2.5-14B-Instruct.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q4_K_M.gguf) | Q4_K_M | 8.37GB |\n| [Qwen2.5-14B-Instruct.Q4_1.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q4_1.gguf) | Q4_1 | 8.75GB |\n| [Qwen2.5-14B-Instruct.Q5_0.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q5_0.gguf) | Q5_0 | 9.56GB |\n| [Qwen2.5-14B-Instruct.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q5_K_S.gguf) | Q5_K_S | 9.56GB |\n| [Qwen2.5-14B-Instruct.Q5_K.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q5_K.gguf) | Q5_K | 9.79GB |\n| [Qwen2.5-14B-Instruct.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q5_K_M.gguf) | Q5_K_M | 9.79GB |\n| [Qwen2.5-14B-Instruct.Q5_1.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q5_1.gguf) | Q5_1 | 10.38GB |\n| [Qwen2.5-14B-Instruct.Q6_K.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q6_K.gguf) | Q6_K | 11.29GB |\n| [Qwen2.5-14B-Instruct.Q8_0.gguf](https://huggingface.co/RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf/blob/main/Qwen2.5-14B-Instruct.Q8_0.gguf) | Q8_0 | 14.62GB |\n\n\n\n\nOriginal model description:\n---\nbase_model: Qwen/Qwen2.5-14B-Instruct\nlanguage:\n- en\nlibrary_name: transformers\nlicense: apache-2.0\ntags:\n- unsloth\n- transformers\n---\n\n# Finetune Llama 3.1, Gemma 2, Mistral 2-5x faster with 70% less memory via Unsloth!\n\nWe have a Qwen 2.5 (all model sizes) [free Google Colab Tesla T4 notebook](https://colab.research.google.com/drive/1Kose-ucXO1IBaZq5BvbwWieuubP7hxvQ?usp=sharing).\nAlso a [Qwen 2.5 conversational style notebook](https://colab.research.google.com/drive/1qN1CEalC70EO1wGKhNxs1go1W9So61R5?usp=sharing).\n\n[<img src=\"https://raw.githubusercontent.com/unslothai/unsloth/main/images/Discord%20button.png\" width=\"200\"/>](https://discord.gg/unsloth)\n[<img src=\"https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png\" width=\"200\"/>](https://github.com/unslothai/unsloth)\n\n## ✨ Finetune for Free\n\nAll 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.\n\n| Unsloth supports          |    Free Notebooks                                                                                           | Performance | Memory use |\n|-----------------|--------------------------------------------------------------------------------------------------------------------------|-------------|----------|\n| **Llama-3.1 8b**      | [▶️ Start on Colab](https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing)               | 2.4x faster | 58% less |\n| **Phi-3.5 (mini)** | [▶️ Start on Colab](https://colab.research.google.com/drive/1lN6hPQveB_mHSnTOYifygFcrO8C1bxq4?usp=sharing)               | 2x faster | 50% less |\n| **Gemma-2 9b**      | [▶️ Start on Colab](https://colab.research.google.com/drive/1vIrqH5uYDQwsJ4-OO3DErvuv4pBgVwk4?usp=sharing)               | 2.4x faster | 58% less |\n| **Mistral 7b**    | [▶️ Start on Colab](https://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing)               | 2.2x faster | 62% less |\n| **TinyLlama**  | [▶️ Start on Colab](https://colab.research.google.com/drive/1AZghoNBQaMDgWJpi4RbffGM1h6raLUj9?usp=sharing)              | 3.9x faster | 74% less |\n| **DPO - Zephyr**     | [▶️ Start on Colab](https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing)               | 1.9x faster | 19% less |\n\n- This [conversational notebook](https://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing) is useful for ShareGPT ChatML / Vicuna templates.\n- This [text completion notebook](https://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing) is for raw text. This [DPO notebook](https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing) replicates Zephyr.\n- \\* Kaggle has 2x T4s, but we use 1. Due to overhead, 1x T4 is 5x faster.\n\n# Qwen2.5-14B-Instruct\n\n## Introduction\n\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:\n\n- Significantly **more knowledge** and has greatly improved capabilities in **coding** and **mathematics**, thanks to our specialized expert models in these domains.\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.\n- **Long-context Support** up to 128K tokens and can generate up to 8K tokens.\n- **Multilingual support** for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more. \n\n**This repo contains the instruction-tuned 14B Qwen2.5 model**, which has the following features:\n- Type: Causal Language Models\n- Training Stage: Pretraining & Post-training\n- Architecture: transformers with RoPE, SwiGLU, RMSNorm, and Attention QKV bias\n- Number of Parameters: 14.7B\n- Number of Paramaters (Non-Embedding): 13.1B\n- Number of Layers: 48\n- Number of Attention Heads (GQA): 40 for Q and 8 for KV\n- Context Length: Full 131,072 tokens and generation 8192 tokens\n  - Please refer to [this section](#processing-long-texts) for detailed instructions on how to deploy Qwen2.5 for handling long texts.\n\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/).\n\n## Requirements\n\nThe code of Qwen2.5 has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.\n\nWith `transformers<4.37.0`, you will 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\n\nmodel_name = \"Qwen/Qwen2.5-14B-Instruct\"\n\nmodel = AutoModelForCausalLM.from_pretrained(\n    model_name,\n    torch_dtype=\"auto\",\n    device_map=\"auto\"\n)\ntokenizer = AutoTokenizer.from_pretrained(model_name)\n\nprompt = \"Give me a short introduction to large language model.\"\nmessages = [\n    {\"role\": \"system\", \"content\": \"You are Qwen, created by Alibaba Cloud. 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(model.device)\n\ngenerated_ids = model.generate(\n    **model_inputs,\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\n### Processing Long Texts\n\nThe current `config.json` is set for context length up to 32,768 tokens.\nTo handle extensive inputs exceeding 32,768 tokens, we utilize [YaRN](https://arxiv.org/abs/2309.00071), a technique for enhancing model length extrapolation, ensuring optimal performance on lengthy texts.\n\nFor supported frameworks, you could add the following to `config.json` to enable YaRN:\n```json\n{\n  ...,\n  \"rope_scaling\": {\n    \"factor\": 4.0,\n    \"original_max_position_embeddings\": 32768,\n    \"type\": \"yarn\"\n  }\n}\n```\n\nFor deployment, we recommend using vLLM. \nPlease refer to our [Documentation](https://qwen.readthedocs.io/en/latest/deployment/vllm.html) for usage if you are not familar with vLLM.\nPresently, vLLM only supports static YARN, which means the scaling factor remains constant regardless of input length, **potentially impacting performance on shorter texts**. \nWe advise adding the `rope_scaling` configuration only when processing long contexts is required.\n\n## Evaluation & Performance\n\nDetailed evaluation results are reported in this [📑 blog](https://qwenlm.github.io/blog/qwen2.5/).\n\nFor requirements on GPU memory and the respective throughput, see results [here](https://qwen.readthedocs.io/en/latest/benchmark/speed_benchmark.html).\n\n## Citation\n\nIf you find our work helpful, feel free to give us a cite.\n\n```\n@misc{qwen2.5,\n    title = {Qwen2.5: A Party of Foundation Models},\n    url = {https://qwenlm.github.io/blog/qwen2.5/},\n    author = {Qwen Team},\n    month = {September},\n    year = {2024}\n}\n\n@article{qwen2,\n      title={Qwen2 Technical Report}, \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},\n      journal={arXiv preprint arXiv:2407.10671},\n      year={2024}\n}\n```\n\n",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "arxiv:2309.00071",
    "arxiv:2407.10671",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 106,
  "gated": false,
  "private": false,
  "last_modified": "2024-10-06T21:34:17.000Z",
  "created_at": "2024-10-06T10:02:04.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "6702601c577c579d3466b287",
  "id": "RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf",
  "modelId": "RichardErkhov/unsloth_-_Qwen2.5-14B-Instruct-gguf",
  "sha": "dbac29522c17675ce397fea205fc0a27b7bfd308",
  "createdAt": "2024-10-06T10:02:04.000Z",
  "lastModified": "2024-10-06T21:34:17.000Z",
  "author": "RichardErkhov",
  "downloads": 106,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 24
}