πŸ“‹ Model Description

Quantization made by Richard Erkhov.

Github

Discord

Request more models

Mistral-7B-v0.3 - GGUF

  • Model creator: https://huggingface.co/MaziyarPanahi/
  • Original model: https://huggingface.co/MaziyarPanahi/Mistral-7B-v0.3/

NameQuant methodSize
Mistral-7B-v0.3.Q2K.ggufQ2K2.54GB
Mistral-7B-v0.3.IQ3XS.ggufIQ3XS2.82GB
Mistral-7B-v0.3.IQ3S.ggufIQ3S2.97GB
Mistral-7B-v0.3.Q3KS.ggufQ3K_S2.95GB
Mistral-7B-v0.3.IQ3M.ggufIQ3M3.06GB
Mistral-7B-v0.3.Q3K.ggufQ3K3.28GB
Mistral-7B-v0.3.Q3KM.ggufQ3K_M3.28GB
Mistral-7B-v0.3.Q3KL.ggufQ3K_L3.56GB
Mistral-7B-v0.3.IQ4XS.ggufIQ4XS3.68GB
Mistral-7B-v0.3.Q40.ggufQ403.83GB
Mistral-7B-v0.3.IQ4NL.ggufIQ4NL3.87GB
Mistral-7B-v0.3.Q4KS.ggufQ4K_S3.86GB
Mistral-7B-v0.3.Q4K.ggufQ4K4.07GB
Mistral-7B-v0.3.Q4KM.ggufQ4K_M4.07GB
Mistral-7B-v0.3.Q41.ggufQ414.24GB
Mistral-7B-v0.3.Q50.ggufQ504.66GB
Mistral-7B-v0.3.Q5KS.ggufQ5K_S4.66GB
Mistral-7B-v0.3.Q5K.ggufQ5K4.78GB
Mistral-7B-v0.3.Q5KM.ggufQ5K_M4.78GB
Mistral-7B-v0.3.Q51.ggufQ515.07GB
Mistral-7B-v0.3.Q6K.ggufQ6K5.54GB
Mistral-7B-v0.3.Q80.ggufQ807.17GB

Original model description:



license: apache-2.0

Model Card for Mistral-7B-v0.3

The Mistral-7B-v0.3 Large Language Model (LLM) is a Mistral-7B-v0.2 with extended vocabulary.

Mistral-7B-v0.3 has the following changes compared to Mistral-7B-v0.2

  • Extended vocabulary to 32768

Installation

It is recommended to use mistralai/Mistral-7B-v0.3 with mistral-inference. For HF transformers code snippets, please keep scrolling.

pip install mistral_inference

Download

from huggingfacehub import snapshotdownload
from pathlib import Path

mistralmodelspath = Path.home().joinpath('mistral_models', '7B-v0.3')
mistralmodelspath.mkdir(parents=True, exist_ok=True)

snapshotdownload(repoid="mistralai/Mistral-7B-v0.3", allowpatterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"], localdir=mistralmodelspath)

Demo

After installing mistral_inference, a mistral-demo CLI command should be available in your environment.

mistral-demo $HOME/mistral_models/7B-v0.3

Should give something along the following lines:

This is a test of the emergency broadcast system. This is only a test.

If this were a real emergency, you would be told what to do.

This is a test
=====================
This is another test of the new blogging software. I’m not sure if I’m going to keep it or not. I’m not sure if I’m going to keep
=====================
This is a third test, mistral AI is very good at testing. πŸ™‚

This is a third test, mistral AI is very good at testing. πŸ™‚

This
=====================

Generate with transformers

If you want to use Hugging Face transformers to generate text, you can do something like this.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "mistralai/Mistral-7B-v0.3"
tokenizer = AutoTokenizer.frompretrained(modelid)

model = AutoModelForCausalLM.frompretrained(modelid)
inputs = tokenizer("Hello my name is", return_tensors="pt")

outputs = model.generate(inputs, maxnewtokens=20)
print(tokenizer.decode(outputs[0], skipspecialtokens=True))

Limitations

The Mistral 7B Instruct model is a quick demonstration that the base model can be easily fine-tuned to achieve compelling performance.
It does not have any moderation mechanisms. We're looking forward to engaging with the community on ways to
make the model finely respect guardrails, allowing for deployment in environments requiring moderated outputs.

The Mistral AI Team

Albert Jiang, Alexandre Sablayrolles, Alexis Tacnet, Antoine Roux, Arthur Mensch, Audrey Herblin-Stoop, Baptiste Bout, Baudouin de Monicault, Blanche Savary, Bam4d, Caroline Feldman, Devendra Singh Chaplot, Diego de las Casas, Eleonore Arcelin, Emma Bou Hanna, Etienne Metzger, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Harizo Rajaona, Jean-Malo Delignon, Jia Li, Justus Murke, Louis Martin, Louis Ternon, Lucile Saulnier, LΓ©lio Renard Lavaud, Margaret Jennings, Marie Pellat, Marie Torelli, Marie-Anne Lachaux, Nicolas Schuhl, Patrick von Platen, Pierre Stock, Sandeep Subramanian, Sophia Yang, Szymon Antoniak, Teven Le Scao, Thibaut Lavril, TimothΓ©e Lacroix, ThΓ©ophile Gervet, Thomas Wang, Valera Nemychnikova, William El Sayed, William Marshall

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
Mistral-7B-v0.3.IQ3_M.gguf
LFS Q3
3.06 GB Download
Mistral-7B-v0.3.IQ3_S.gguf
LFS Q3
2.97 GB Download
Mistral-7B-v0.3.IQ3_XS.gguf
LFS Q3
2.82 GB Download
Mistral-7B-v0.3.IQ4_NL.gguf
LFS Q4
3.87 GB Download
Mistral-7B-v0.3.IQ4_XS.gguf
LFS Q4
3.68 GB Download
Mistral-7B-v0.3.Q2_K.gguf
LFS Q2
2.54 GB Download
Mistral-7B-v0.3.Q3_K.gguf
LFS Q3
3.28 GB Download
Mistral-7B-v0.3.Q3_K_L.gguf
LFS Q3
3.56 GB Download
Mistral-7B-v0.3.Q3_K_M.gguf
LFS Q3
3.28 GB Download
Mistral-7B-v0.3.Q3_K_S.gguf
LFS Q3
2.95 GB Download
Mistral-7B-v0.3.Q4_0.gguf
Recommended LFS Q4
3.83 GB Download
Mistral-7B-v0.3.Q4_1.gguf
LFS Q4
4.24 GB Download
Mistral-7B-v0.3.Q4_K.gguf
LFS Q4
4.07 GB Download
Mistral-7B-v0.3.Q4_K_M.gguf
LFS Q4
4.07 GB Download
Mistral-7B-v0.3.Q4_K_S.gguf
LFS Q4
3.86 GB Download
Mistral-7B-v0.3.Q5_0.gguf
LFS Q5
4.66 GB Download
Mistral-7B-v0.3.Q5_1.gguf
LFS Q5
5.07 GB Download
Mistral-7B-v0.3.Q5_K.gguf
LFS Q5
4.78 GB Download
Mistral-7B-v0.3.Q5_K_M.gguf
LFS Q5
4.78 GB Download
Mistral-7B-v0.3.Q5_K_S.gguf
LFS Q5
4.66 GB Download
Mistral-7B-v0.3.Q6_K.gguf
LFS Q6
5.54 GB Download
Mistral-7B-v0.3.Q8_0.gguf
LFS Q8
7.17 GB Download