alt.freeweights.mistral / Mistral-7B-Instruct-v0.1
From: mistralai <huggingface.co/mistralai>Newsgroups: alt.freeweights.mistralSubject:

Mistral-7B-Instruct-v0.1

Date: 2026-11-14Commit: ec5deb6Signed: 2DC28CC7B26A283B ✓

Text generation model with 7.2B parameters. Safetensors weights, 29.5 GB in all. Published by mistralai under Apache-2.0.

7.2B params29.5GBMistral-7B-Instruct-v0.1safetensorspermissive
FactsParams7.2BSize29.5 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get mistralai/Mistral-7B-Instruct-v0.1
# manifest sha256 bb6dab8d7a8e… · 29.5 GB · 15 files
$ fw verify ./Mistral-7B-Instruct-v0.1 mistralai/Mistral-7B-Instruct-v0.1
From sourceHosted (signed)mistralai/Mistral-7B-Instruct-v0.1Last check: 2026-11-14 21:24 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Mistral-7B-v0.1.

Works with

Overview

Size
29.5 GB
Weights
14.5 GB (safetensors)
Parameters
7.2B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
mistralai
Added
2026-11-14
Section
alt.freeweights.mistral
Lineage

Original release from the publisher.

Base model: mistralai/Mistral-7B-v0.1

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:24 UTCpassed

Model card

From the publisher at commit ec5deb6. Shown as plain text with links; images open at the publisher.

Model Card for Mistral-7B-Instruct-v0.1#

Encode and Decode with mistral_common#

from mistral_common.tokens.tokenizers.mistral import MistralTokenizer
from mistral_common.protocol.instruct.messages import UserMessage
from mistral_common.protocol.instruct.request import ChatCompletionRequest
 
mistral_models_path = "MISTRAL_MODELS_PATH"
 
tokenizer = MistralTokenizer.v1()
 
completion_request = ChatCompletionRequest(messages=[UserMessage(content="Explain Machine Learning to me in a nutshell.")])
 
tokens = tokenizer.encode_chat_completion(completion_request).tokens

Inference with mistral_inference#

from mistral_inference.transformer import Transformer
from mistral_inference.generate import generate
 
model = Transformer.from_folder(mistral_models_path)
out_tokens, _ = generate([tokens], model, max_tokens=64, temperature=0.0, eos_id=tokenizer.instruct_tokenizer.tokenizer.eos_id)

result = tokenizer.decode(out_tokens[0])

print(result)

Inference with hugging face transformers#

from transformers import AutoModelForCausalLM
 
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
model.to("cuda")
 
generated_ids = model.generate(tokens, max_new_tokens=1000, do_sample=True)

# decode with mistral tokenizer
result = tokenizer.decode(generated_ids[0].tolist())
print(result)

Tip. PRs to correct the transformers tokenizer so that it gives 1-to-1 the same results as the mistral_common reference implementation are very welcome!


The Mistral-7B-Instruct-v0.1 Large Language Model (LLM) is a instruct fine-tuned version of the Mistral-7B-v0.1 generative text model using a variety of publicly available conversation datasets.

For full details of this model please read our paper and release blog post.

Instruction format#

In 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.

E.g.

text = "<s>[INST] What is your favourite condiment? [/INST]"
"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> "
"[INST] Do you have mayonnaise recipes? [/INST]"

This format is available as a chat template via the apply_chat_template() method:

from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda" # the device to load the model onto

model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")

messages = [
    {"role": "user", "content": "What is your favourite condiment?"},
    {"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!"},
    {"role": "user", "content": "Do you have mayonnaise recipes?"}
]

encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")

model_inputs = encodeds.to(device)
model.to(device)

generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])

Model Architecture#

This instruction model is based on Mistral-7B-v0.1, a transformer model with the following architecture choices:

  • Grouped-Query Attention
  • Sliding-Window Attention
  • Byte-fallback BPE tokenizer

Troubleshooting#

  • If you see the following error:
Traceback (most recent call last):
File "", line 1, in
File "/transformers/models/auto/auto_factory.py", line 482, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/transformers/models/auto/configuration_auto.py", line 1022, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "/transformers/models/auto/configuration_auto.py", line 723, in getitem
raise KeyError(key)
KeyError: 'mistral'

Installing transformers from source should solve the issue pip install git+https://github.com/huggingface/transformers

This should not be required after transformers-v4.33.4.

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, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lélio Renard Lavaud, Lucile Saulnier, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, William El Sayed.

Files

15 files · 29.5 GBWeights 14.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.64 KBb48ba429779e88b6362b3e5ac7aa4dce3434bc7b2b0ee8cf34ceb0889c121c0f
config.json571 Bcf25cdf4719f181d1d1d371973285d9afe9afde0d0c6a6fd48de857555ce1e0d
generation_config.json116 Bafcf2a1da583dbeb66bb367a759713901e23ce19ed83ed8f5a21b0e877addd5b
model-00001-of-00002.safetensors9.94 GBa464228d9c9427bf035cfd5a2e18bf0494d7231bfacc478ec5fc9f57a612d051
model-00002-of-00002.safetensors4.54 GB5734c77cf2ff6482713d474ee9c8791cd712b59dd36b05d096af5a4cb41f3f02
model.safetensors.index.json25.1 KBc94ab46aaf5fcca44720c10bcc498c1b0d9759d47534a396e3512edc451ebd06
pytorch_model-00001-of-00002.bin9.94 GB2f237251ac3ecb3bcbd8978b3eb7b55b5e83c06cd5224b276d2d8462773488c8
pytorch_model-00002-of-00002.bin5.06 GBd9e54fbaabfe2c5d00d2a642398c5959c1eb31e9d9d40c80bd5d7c2c4067d3e1
pytorch_model.bin.index.json23.9 KBf2d239108d89fb1568b9041e23f8526879c3fd500f65ac8d7c3204b270b648ef
special_tokens_map.json414 B6fa06efa2785e450051989a6f8fb4416b10149ded485ddd3f127a40734f5cfd0
tokenizer.json1.80 MB11c08db21487c885d8c792180f0be237f6a261b89a46f128a6a80a3aa4bd1720
tokenizer.model493 KBdadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
tokenizer.model.v1493 KBdadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
tokenizer_config.json2.10 KB475361439e5c012de9dffdedc416a66a50f1a29f7aa80b375ba014fb13d6bb8a
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ec5deb64f2 pinned now manifest updated, same commit2026-11-14 21:24 UTC15 files · 29.5 GB
ec5deb64f22026-11-14 21:24 UTC15 files · 29.5 GB

Use it

$ fw get mistralai/Mistral-7B-Instruct-v0.1
# manifest sha256 bb6dab8d7a8e… · 29.5 GB · 15 files
$ fw verify ./Mistral-7B-Instruct-v0.1 mistralai/Mistral-7B-Instruct-v0.1
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mistralai/Mistral-7B-Instruct-v0.1.json --dir ./Mistral-7B-Instruct-v0.1 $ python3 fw.py verify ./Mistral-7B-Instruct-v0.1 ./mistralai__Mistral-7B-Instruct-v0.1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mistralai/Mistral-7B-Instruct-v0.1 --revision ec5deb64f2c6e6fa90c1abf74a91d5c93a9669ca --local-dir ./Mistral-7B-Instruct-v0.1
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1", revision="ec5deb64f2c6e6fa90c1abf74a91d5c93a9669ca") model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1", revision="ec5deb64f2c6e6fa90c1abf74a91d5c93a9669ca", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mistralai/Mistral-7B-Instruct-v0.1 --revision ec5deb64f2c6e6fa90c1abf74a91d5c93a9669ca

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
b48ba429779e88b6362b3e5ac7aa4dce3434bc7b2b0ee8cf34ceb0889c121c0f
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mistralai <huggingface.co/mistralai>Newsgroups: alt.freeweights.mistralSubject: Mistral-7B-Instruct-v0.1Date: 2026-11-14Commit: ec5deb6Signed: 2DC28CC7B26A283B ✓
Upstream
mistralai/Mistral-7B-Instruct-v0.1
Pinned commit
ec5deb64f2c6e6fa90c1abf74a91d5c93a9669ca
Manifest
Mistral-7B-Instruct-v0.1.json · .minisig
Manifest sha256
bb6dab8d7a8e00df23cac64192e98166b4fa360f9b136e1cab3e827d8e41e6ec
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:24 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mistralai/Mistral-7B-Instruct-v0.1.json $ curl -O https://freeweights.allternit.com/manifests/mistralai/Mistral-7B-Instruct-v0.1.json.minisig $ minisign -Vm Mistral-7B-Instruct-v0.1.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

mistralai/Mistral-7B-v0.1 · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mistralai/Mistral-7B-Instruct-v0.1
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Mistral-7B-Instruct-v0.1.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: alamios_Mistral-Small-3.1-DRAFT-0.5B-GGUF
From: microsoft <huggingface.co/microsoft>Subject: chatbench-mistral-7b
From: NousResearch <huggingface.co/NousResearch>Subject: DeepHermes-3-Mistral-24B-Preview
From: mistralai <huggingface.co/mistralai>Subject: Devstral-Small-2-24B-Instruct-2512
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-4bit
From: mlx-community <huggingface.co/mlx-community>Subject: Devstral-Small-2-24B-Instruct-2512-6bit