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

richarderkhov/qwen_-_qwen2-1.5b-instruct-gguf overview

Comprehensive model page for richarderkhov/qwen-qwen2-1.5b-instruct-gguf

ggufendpoints_compatibleregion:usconversational
richarderkhov/qwen_-_qwen2-1.5b-instruct-gguf visual
Downloads
168
Likes
0
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

22 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Qwen2-1.5B-Instruct.IQ3_M.gguf GGUF IQ3_M 740.68 MB Download
Qwen2-1.5B-Instruct.IQ3_S.gguf GGUF IQ3_S 727.09 MB Download
Qwen2-1.5B-Instruct.IQ3_XS.gguf GGUF IQ3_XS 697.80 MB Download
Qwen2-1.5B-Instruct.IQ4_NL.gguf GGUF IQ4_NL 897.87 MB Download
Qwen2-1.5B-Instruct.IQ4_XS.gguf GGUF IQ4_XS 860.39 MB Download
Qwen2-1.5B-Instruct.Q2_K.gguf GGUF Q2_K 644.97 MB Download
Qwen2-1.5B-Instruct.Q3_K.gguf GGUF Q3_K 786.00 MB Download
Qwen2-1.5B-Instruct.Q3_K_L.gguf GGUF Q3_K_L 839.39 MB Download
Qwen2-1.5B-Instruct.Q3_K_M.gguf GGUF Q3_K_M 786.00 MB Download
Qwen2-1.5B-Instruct.Q3_K_S.gguf GGUF Q3_K_S 725.69 MB Download
Qwen2-1.5B-Instruct.Q4_0.gguf GGUF 891.64 MB Download
Qwen2-1.5B-Instruct.Q4_1.gguf GGUF 969.73 MB Download
Qwen2-1.5B-Instruct.Q4_K.gguf GGUF Q4_K 940.37 MB Download
Qwen2-1.5B-Instruct.Q4_K_M.gguf GGUF Q4_K_M 940.37 MB Download
Qwen2-1.5B-Instruct.Q4_K_S.gguf GGUF Q4_K_S 896.75 MB Download
Qwen2-1.5B-Instruct.Q5_0.gguf GGUF 1.02 GB Download
Qwen2-1.5B-Instruct.Q5_1.gguf GGUF 1.10 GB Download
Qwen2-1.5B-Instruct.Q5_K.gguf GGUF Q5_K 1.05 GB Download
Qwen2-1.5B-Instruct.Q5_K_M.gguf GGUF Q5_K_M 1.05 GB Download
Qwen2-1.5B-Instruct.Q5_K_S.gguf GGUF Q5_K_S 1.02 GB Download
Qwen2-1.5B-Instruct.Q6_K.gguf GGUF Q6_K 1.19 GB Download
Qwen2-1.5B-Instruct.Q8_0.gguf GGUF 1.53 GB Download

Model Details Live

Model Slug
richarderkhov/qwen_-_qwen2-1.5b-instruct-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-06-22
Last Modified
2024-06-22
Gated
No
Private
No
HF SHA
f9da9a6b63f60404ac88e3bfefa5fc31aa015d22
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": "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-1.5B-Instruct - GGUF\n- Model creator: https://huggingface.co/Qwen/\n- Original model: https://huggingface.co/Qwen/Qwen2-1.5B-Instruct/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [Qwen2-1.5B-Instruct.Q2_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q2_K.gguf) | Q2_K | 0.63GB |\n| [Qwen2-1.5B-Instruct.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.IQ3_XS.gguf) | IQ3_XS | 0.68GB |\n| [Qwen2-1.5B-Instruct.IQ3_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.IQ3_S.gguf) | IQ3_S | 0.71GB |\n| [Qwen2-1.5B-Instruct.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q3_K_S.gguf) | Q3_K_S | 0.71GB |\n| [Qwen2-1.5B-Instruct.IQ3_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.IQ3_M.gguf) | IQ3_M | 0.72GB |\n| [Qwen2-1.5B-Instruct.Q3_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q3_K.gguf) | Q3_K | 0.77GB |\n| [Qwen2-1.5B-Instruct.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q3_K_M.gguf) | Q3_K_M | 0.77GB |\n| [Qwen2-1.5B-Instruct.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q3_K_L.gguf) | Q3_K_L | 0.82GB |\n| [Qwen2-1.5B-Instruct.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.IQ4_XS.gguf) | IQ4_XS | 0.84GB |\n| [Qwen2-1.5B-Instruct.Q4_0.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q4_0.gguf) | Q4_0 | 0.87GB |\n| [Qwen2-1.5B-Instruct.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.IQ4_NL.gguf) | IQ4_NL | 0.88GB |\n| [Qwen2-1.5B-Instruct.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q4_K_S.gguf) | Q4_K_S | 0.88GB |\n| [Qwen2-1.5B-Instruct.Q4_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q4_K.gguf) | Q4_K | 0.92GB |\n| [Qwen2-1.5B-Instruct.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q4_K_M.gguf) | Q4_K_M | 0.92GB |\n| [Qwen2-1.5B-Instruct.Q4_1.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q4_1.gguf) | Q4_1 | 0.95GB |\n| [Qwen2-1.5B-Instruct.Q5_0.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q5_0.gguf) | Q5_0 | 1.02GB |\n| [Qwen2-1.5B-Instruct.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q5_K_S.gguf) | Q5_K_S | 1.02GB |\n| [Qwen2-1.5B-Instruct.Q5_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q5_K.gguf) | Q5_K | 1.05GB |\n| [Qwen2-1.5B-Instruct.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q5_K_M.gguf) | Q5_K_M | 1.05GB |\n| [Qwen2-1.5B-Instruct.Q5_1.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q5_1.gguf) | Q5_1 | 1.1GB |\n| [Qwen2-1.5B-Instruct.Q6_K.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q6_K.gguf) | Q6_K | 1.19GB |\n| [Qwen2-1.5B-Instruct.Q8_0.gguf](https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/blob/main/Qwen2-1.5B-Instruct.Q8_0.gguf) | Q8_0 | 1.53GB |\n\n\n\n\nOriginal model description:\n---\nlicense: apache-2.0\nlanguage:\n- en\npipeline_tag: text-generation\ntags:\n- chat\n---\n\n# Qwen2-1.5B-Instruct\n\n## Introduction\n\nQwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model. This repo contains the instruction-tuned 1.5B Qwen2 model.\n\nCompared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.\n\nFor more details, please refer to our [blog](https://qwenlm.github.io/blog/qwen2/), [GitHub](https://github.com/QwenLM/Qwen2), and [Documentation](https://qwen.readthedocs.io/en/latest/).\n<br>\n\n## Model Details\nQwen2 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, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes.\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\n## Requirements\nThe code of Qwen2 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/Qwen2-1.5B-Instruct\",\n    torch_dtype=\"auto\",\n    device_map=\"auto\"\n)\ntokenizer = AutoTokenizer.from_pretrained(\"Qwen/Qwen2-1.5B-Instruct\")\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\n## Evaluation\n\nWe briefly compare Qwen2-1.5B-Instruct with Qwen1.5-1.8B-Chat. The results are as follows:\n\n| Datasets | Qwen1.5-0.5B-Chat | **Qwen2-0.5B-Instruct** | Qwen1.5-1.8B-Chat | **Qwen2-1.5B-Instruct** |\n| :--- | :---: | :---: | :---: | :---: |\n| MMLU | 35.0 | **37.9** | 43.7 | **52.4** |\n| HumanEval | 9.1 | **17.1** | 25.0 | **37.8** |\n| GSM8K | 11.3 | **40.1** | 35.3 | **61.6** |\n| C-Eval | 37.2 | **45.2** | 55.3 | **63.8** |\n| IFEval (Prompt Strict-Acc.) | 14.6 | **20.0** | 16.8 | **29.0** |\n\n## Citation\n\nIf you find our work helpful, feel free to give us a cite.\n\n```\n@article{qwen2,\n  title={Qwen2 Technical Report},\n  year={2024}\n}\n```\n\n",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 168,
  "gated": false,
  "private": false,
  "last_modified": "2024-06-22T18:08:34.000Z",
  "created_at": "2024-06-22T17:53:39.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "66770fa3d5ac75b591ab99a4",
  "id": "RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf",
  "modelId": "RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf",
  "sha": "f9da9a6b63f60404ac88e3bfefa5fc31aa015d22",
  "createdAt": "2024-06-22T17:53:39.000Z",
  "lastModified": "2024-06-22T18:08:34.000Z",
  "author": "RichardErkhov",
  "downloads": 168,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 24
}