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

richarderkhov/mistralai_-_mistral-7b-instruct-v0.2-gguf overview

The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2. Mistral-7B-v0.2 has the following changes compared to Mistral-7B-v0.1 For full details of this model please read our paper and release blog post.

ggufarxiv:2310.06825endpoints_compatibleregion:usconversational
richarderkhov/mistralai_-_mistral-7b-instruct-v0.2-gguf visual
Downloads
91
Likes
3
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

21 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Mistral-7B-Instruct-v0.2.IQ3_M.gguf GGUF IQ3_M 3.06 GB Download
Mistral-7B-Instruct-v0.2.IQ3_S.gguf GGUF IQ3_S 2.96 GB Download
Mistral-7B-Instruct-v0.2.IQ3_XS.gguf GGUF IQ3_XS 2.81 GB Download
Mistral-7B-Instruct-v0.2.IQ4_NL.gguf GGUF IQ4_NL 3.87 GB Download
Mistral-7B-Instruct-v0.2.IQ4_XS.gguf GGUF IQ4_XS 3.67 GB Download
Mistral-7B-Instruct-v0.2.Q2_K.gguf GGUF Q2_K 2.53 GB Download
Mistral-7B-Instruct-v0.2.Q3_K.gguf GGUF Q3_K 3.28 GB Download
Mistral-7B-Instruct-v0.2.Q3_K_L.gguf GGUF Q3_K_L 3.56 GB Download
Mistral-7B-Instruct-v0.2.Q3_K_M.gguf GGUF Q3_K_M 3.28 GB Download
Mistral-7B-Instruct-v0.2.Q3_K_S.gguf GGUF Q3_K_S 2.95 GB Download
Mistral-7B-Instruct-v0.2.Q4_0.gguf GGUF 3.83 GB Download
Mistral-7B-Instruct-v0.2.Q4_1.gguf GGUF 4.24 GB Download
Mistral-7B-Instruct-v0.2.Q4_K.gguf GGUF Q4_K 4.07 GB Download
Mistral-7B-Instruct-v0.2.Q4_K_M.gguf GGUF Q4_K_M 4.07 GB Download
Mistral-7B-Instruct-v0.2.Q4_K_S.gguf GGUF Q4_K_S 3.86 GB Download
Mistral-7B-Instruct-v0.2.Q5_0.gguf GGUF 4.65 GB Download
Mistral-7B-Instruct-v0.2.Q5_1.gguf GGUF 5.07 GB Download
Mistral-7B-Instruct-v0.2.Q5_K.gguf GGUF Q5_K 4.78 GB Download
Mistral-7B-Instruct-v0.2.Q5_K_M.gguf GGUF Q5_K_M 4.78 GB Download
Mistral-7B-Instruct-v0.2.Q5_K_S.gguf GGUF Q5_K_S 4.65 GB Download
Mistral-7B-Instruct-v0.2.Q6_K.gguf GGUF Q6_K 5.53 GB Download

Model Details Live

Model Slug
richarderkhov/mistralai_-_mistral-7b-instruct-v0.2-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-04-14
Last Modified
2024-04-14
Gated
No
Private
No
HF SHA
4e3b60635fff9df805fcb0adfc8eda9a38a9db18
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "frontmatter": {},
    "hero_image_url": "",
    "summary": "The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2. Mistral-7B-v0.2 has the following changes compared to Mistral-7B-v0.1 For full details of this model please read our paper and release blog post.",
    "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\nMistral-7B-Instruct-v0.2 - GGUF\n- Model creator: https://huggingface.co/mistralai/\n- Original model: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [Mistral-7B-Instruct-v0.2.Q2_K.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q2_K.gguf) | Q2_K | 2.53GB |\n| [Mistral-7B-Instruct-v0.2.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.IQ3_XS.gguf) | IQ3_XS | 2.81GB |\n| [Mistral-7B-Instruct-v0.2.IQ3_S.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.IQ3_S.gguf) | IQ3_S | 2.96GB |\n| [Mistral-7B-Instruct-v0.2.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q3_K_S.gguf) | Q3_K_S | 2.95GB |\n| [Mistral-7B-Instruct-v0.2.IQ3_M.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.IQ3_M.gguf) | IQ3_M | 3.06GB |\n| [Mistral-7B-Instruct-v0.2.Q3_K.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q3_K.gguf) | Q3_K | 3.28GB |\n| [Mistral-7B-Instruct-v0.2.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q3_K_M.gguf) | Q3_K_M | 3.28GB |\n| [Mistral-7B-Instruct-v0.2.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q3_K_L.gguf) | Q3_K_L | 3.56GB |\n| [Mistral-7B-Instruct-v0.2.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.IQ4_XS.gguf) | IQ4_XS | 3.67GB |\n| [Mistral-7B-Instruct-v0.2.Q4_0.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q4_0.gguf) | Q4_0 | 3.83GB |\n| [Mistral-7B-Instruct-v0.2.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.IQ4_NL.gguf) | IQ4_NL | 3.87GB |\n| [Mistral-7B-Instruct-v0.2.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q4_K_S.gguf) | Q4_K_S | 3.86GB |\n| [Mistral-7B-Instruct-v0.2.Q4_K.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q4_K.gguf) | Q4_K | 4.07GB |\n| [Mistral-7B-Instruct-v0.2.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q4_K_M.gguf) | Q4_K_M | 4.07GB |\n| [Mistral-7B-Instruct-v0.2.Q4_1.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q4_1.gguf) | Q4_1 | 4.24GB |\n| [Mistral-7B-Instruct-v0.2.Q5_0.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q5_0.gguf) | Q5_0 | 4.65GB |\n| [Mistral-7B-Instruct-v0.2.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q5_K_S.gguf) | Q5_K_S | 4.65GB |\n| [Mistral-7B-Instruct-v0.2.Q5_K.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q5_K.gguf) | Q5_K | 4.78GB |\n| [Mistral-7B-Instruct-v0.2.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q5_K_M.gguf) | Q5_K_M | 4.78GB |\n| [Mistral-7B-Instruct-v0.2.Q5_1.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q5_1.gguf) | Q5_1 | 5.07GB |\n| [Mistral-7B-Instruct-v0.2.Q6_K.gguf](https://huggingface.co/RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf/blob/main/Mistral-7B-Instruct-v0.2.Q6_K.gguf) | Q6_K | 5.53GB |\n\n\n\n\nOriginal model description:\n---\nlicense: apache-2.0\npipeline_tag: text-generation\ntags:\n- finetuned\ninference: true\nwidget:\n- messages:\n  - role: user\n    content: What is your favorite condiment?\n---\n\n# Model Card for Mistral-7B-Instruct-v0.2\n\nThe Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.\n\nMistral-7B-v0.2 has the following changes compared to Mistral-7B-v0.1\n- 32k context window (vs 8k context in v0.1)\n- Rope-theta = 1e6\n- No Sliding-Window Attention\n\nFor full details of this model please read our [paper](https://arxiv.org/abs/2310.06825) and [release blog post](https://mistral.ai/news/la-plateforme/).\n\n## Instruction format\n\nIn order to leverage instruction fine-tuning, your prompt should be surrounded by `[INST]` and `[/INST]` tokens. The very first instruction should begin with a begin of sentence id. The next instructions should not. The assistant generation will be ended by the end-of-sentence token id.\n\nE.g.\n```\ntext = \"<s>[INST] What is your favourite condiment? [/INST]\"\n\"Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen!</s> \"\n\"[INST] Do you have mayonnaise recipes? [/INST]\"\n```\n\nThis format is available as a [chat template](https://huggingface.co/docs/transformers/main/chat_templating) via the `apply_chat_template()` method:\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\ndevice = \"cuda\" # the device to load the model onto\n\nmodel = AutoModelForCausalLM.from_pretrained(\"mistralai/Mistral-7B-Instruct-v0.2\")\ntokenizer = AutoTokenizer.from_pretrained(\"mistralai/Mistral-7B-Instruct-v0.2\")\n\nmessages = [\n    {\"role\": \"user\", \"content\": \"What is your favourite condiment?\"},\n    {\"role\": \"assistant\", \"content\": \"Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen!\"},\n    {\"role\": \"user\", \"content\": \"Do you have mayonnaise recipes?\"}\n]\n\nencodeds = tokenizer.apply_chat_template(messages, return_tensors=\"pt\")\n\nmodel_inputs = encodeds.to(device)\nmodel.to(device)\n\ngenerated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)\ndecoded = tokenizer.batch_decode(generated_ids)\nprint(decoded[0])\n```\n\n## Troubleshooting\n- If you see the following error:\n```\nTraceback (most recent call last):\nFile \"\", line 1, in\nFile \"/transformers/models/auto/auto_factory.py\", line 482, in from_pretrained\nconfig, kwargs = AutoConfig.from_pretrained(\nFile \"/transformers/models/auto/configuration_auto.py\", line 1022, in from_pretrained\nconfig_class = CONFIG_MAPPING[config_dict[\"model_type\"]]\nFile \"/transformers/models/auto/configuration_auto.py\", line 723, in getitem\nraise KeyError(key)\nKeyError: 'mistral'\n```\n\nInstalling transformers from source should solve the issue\npip install git+https://github.com/huggingface/transformers\n\nThis should not be required after transformers-v4.33.4.\n\n## Limitations\n\nThe Mistral 7B Instruct model is a quick demonstration that the base model can be easily fine-tuned to achieve compelling performance. \nIt does not have any moderation mechanisms. We're looking forward to engaging with the community on ways to\nmake the model finely respect guardrails, allowing for deployment in environments requiring moderated outputs.\n\n## The Mistral AI Team\n\nAlbert Jiang, Alexandre Sablayrolles, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Emma Bou Hanna, Florian Bressand, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Lélio Renard Lavaud, Louis Ternon, Lucile Saulnier, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Théophile Gervet, Thibaut Lavril, Thomas Wang, Timothée Lacroix, William El Sayed.\n\n",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "arxiv:2310.06825",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 3,
  "downloads": 91,
  "gated": false,
  "private": false,
  "last_modified": "2024-04-14T19:18:01.000Z",
  "created_at": "2024-04-14T15:52:47.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "661bfbcf6a2892cc275db0b5",
  "id": "RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf",
  "modelId": "RichardErkhov/mistralai_-_Mistral-7B-Instruct-v0.2-gguf",
  "sha": "4e3b60635fff9df805fcb0adfc8eda9a38a9db18",
  "createdAt": "2024-04-14T15:52:47.000Z",
  "lastModified": "2024-04-14T19:18:01.000Z",
  "author": "RichardErkhov",
  "downloads": 91,
  "likes": 3,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 23
}