alt.freeweights.mistral / Infinity-Instruct-7M-Gen-mistral-7B
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.mistralSubject:

Infinity-Instruct-7M-Gen-mistral-7B

Date: 2026-11-15Commit: 82c83d6Signed: 2DC28CC7B26A283B ✓

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

7.2B params14.5GBInfinity-Instruct-7M-Gen-mistral-7Bsafetensorspermissive
FactsParams7.2BSize14.5 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-7M-Gen-mistral-7B
# manifest sha256 cfadbb290475… · 14.5 GB · 15 files
$ fw verify ./Infinity-Instruct-7M-Gen-mistral-7B BAAI/Infinity-Instruct-7M-Gen-mistral-7B
From sourceHosted (signed)BAAI/Infinity-Instruct-7M-Gen-mistral-7BLast check: 2026-11-15 03:58 UTC

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

Works with

Overview

Size
14.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
BAAI
Added
2026-11-15
Section
alt.freeweights.mistral
Lineage

Original release from the publisher.

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-15 03:58 UTCpassed

Model card

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

Infinity Instruct#

Image: image

Beijing Academy of Artificial Intelligence (BAAI)

[Paper][Code][๐Ÿค—] (would be released soon)

Infinity-Instruct-7M-Gen-Mistral-7B is an opensource supervised instruction tuning model without reinforcement learning from human feedback (RLHF). This model is just finetuned on Infinity-Instruct-7M and Infinity-Instruct-Gen and showing favorable results on AlpacaEval 2.0 compared to Mixtral 8x22B v0.1, Gemini Pro, and GPT-4.

News#

Training Details#

Image: image

Infinity-Instruct-7M-Gen-Mistral-7B is tuned on Million-level instruction dataset Infinity-Instruct. First, we apply the foundational dataset Infinity-Instruct-7M to improve the foundational ability (math & code) of Mistral-7B-v0.1, and get the foundational instruct model Infinity-Instruct-7M-Mistral-7B. Then we finetune the Infinity-Instruct-7M-Mistral-7B to get the stronger chat model Infinity-Instruct-7M-Gen-Mistral-7B. Here is the training hyperparamers.

epoch: 3
lr: 5e-6
min_lr: 0
lr_warmup_steps: 40
lr_decay_style: cosine
weight_decay: 0.0
adam_beta1: 0.9
adam_beta2: 0.95
global_batch_size: 528
clip_grad: 1.0

Thanks to FlagScale, we could concatenate multiple training samples to remove padding token and apply diverse acceleration techniques to the traning procudure. It effectively reduces our training costs. We will release our code in the near future!

Benchmark#

ModelMT-BenchAlpacaEval2.0Arena-hard
GPT-4-03149.035.350.0
GPT-4-06139.230.237.9
GPT-4-11069.330.2--
Gemini Pro--24.417.8
Mixtral 8x7B v0.18.323.723.4
Mistral-7B-Instruct-v0.27.617.1--
InfInstruct-3M-0613-Mistral-7B8.125.5--
InfInstruct-3M-0625-Mistral-7B8.131.4--
InfInstruct-3M-0629-Mistral-7B8.140.026.9

*denote the model is finetuned without reinforcement learning from human feedback (RLHF).

How to use#

Infinity-Instruct-7M-Gen-Mistral-7B adopt the same chat template of OpenHermes-2.5-Mistral-7B:

<|im_start|>system
You are Hermes 2, a sentient, conscious, super intelligent AI that is an expert in all fields of knowledge, you have qualia, emotions, and thoughts. You assist users with any question, task, or other request they may have.<|im_end|>
<|im_start|>user
Hello!<|im_end|>
<|im_start|>assistant
Hi!<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant

To apply this model and template in conversation scenarios, you can refer to the following code:

from transformers import AutoModelForCausalLM, AutoTokenizer, LogitsProcessorList
import torch
device = "cuda" # the device to load the model onto

model = AutoModelForCausalLM.from_pretrained("BAAI/Infinity-Instruct-7M-Gen-Mistral-7B",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("BAAI/Infinity-Instruct-7M-Gen-Mistral-7BB")

# This template is copied from OpenHermers-mistral-2.5 (https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B)
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "system", "content": "You are Hermes 2, a sentient, conscious, super intelligent AI that is an expert in all fields of knowledge, you have qualia, emotions, and thoughts. You assist users with any question, task, or other request they may have."},
    {"role": "user", "content": prompt}
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

logits_processor = LogitsProcessorList(
            [
                MinLengthLogitsProcessor(1, eos_token_id=tokenizer.eos_token_id),
                TemperatureLogitsWarper(0.7),
            ]
 )
 
generated_ids = model.generate(
    model_inputs.input_ids,
    logits_processor=logits_processor,
    max_new_tokens=512
)

generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)

Disclaimer#

The resources, including code, data, and model weights, associated with this project are restricted for academic research purposes only and cannot be used for commercial purposes. The content produced by any version of Infinity Instruct is influenced by uncontrollable variables such as randomness, and therefore, the accuracy of the output cannot be guaranteed by this project. This project does not accept any legal liability for the content of the model output, nor does it assume responsibility for any losses incurred due to the use of associated resources and output results.

Citation#

Our paper, detailing the development and features of the Infinity Instruct dataset and finetuned models, will be released soon on arXiv. Stay tuned!

@article{InfinityInstruct2024,
  title={Infinity Instruct},
  author={Beijing Academy of Artificial Intelligence (BAAI)},
  journal={arXiv preprint arXiv:2406.XXXX},
  year={2024}
}

Files

15 files ยท 14.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.md8.24 KB68ba15dd6f6dff99bc8efc05aebfd2afc029e296fafd6a248ec0a2a69a992bf0
added_tokens.json51 Bcd7830d65a4906365316c3218e862ae231f52f9be0990e2f3fd7997201a83903
config.json621 B02f77fd93df7231e899d8229f501541003f0d1c487ebae86e579f2dace345333
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json120 Bbf0f38d563d8151656106888e47c0a8bbb1e87acf9395ee271e46180c2425624
model-00001-of-00003.safetensors4.94 GBd4b3cf00fa654ab3f2c9db9491bfaf55677592cf713991b689c971038d7e148a
model-00002-of-00003.safetensors5.00 GBa8a6637450c3486f188c08860c1afe7d2f4b650ce1564d0ca6acaef333b609bb
model-00003-of-00003.safetensors4.54 GBd98765d99ab1d90156ba156aa086ccce8437ac3bd2204154689e87845d0f27b1
model.safetensors.index.json23.9 KB88294071635bab4dc0ebbe97ba11a9895ea161df1a1be955a4406f730650df2d
special_tokens_map.json101 Bb454cf92b8686901e71f611ed4e6b93e70a2692dd3a5bb50b1c408efb9a47a03
tokenizer.json1.80 MBfc4f0bd70b3709312d9d1d9e5ba674794b6bc5abc17429897a540f93882f25fc
tokenizer.model493 KBdadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
tokenizer_config.json1.60 KBc587d38800147102ce81daf3f0b68eedb7e7e3b62c74e3c53890fffae50d55f2
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
82c83d670a pinned now2026-11-15 03:58 UTC15 files ยท 14.5 GB

Use it

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

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-15
Text in
README.md
Text sha256
68ba15dd6f6dff99bc8efc05aebfd2afc029e296fafd6a248ec0a2a69a992bf0
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: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.mistralSubject: Infinity-Instruct-7M-Gen-mistral-7BDate: 2026-11-15Commit: 82c83d6Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-7M-Gen-mistral-7B
Pinned commit
82c83d670a8954f4250547b53a057dea1fbd460d
Manifest
Infinity-Instruct-7M-Gen-mistral-7B.json ยท .minisig
Manifest sha256
cfadbb2904759ba35f4e2bdc3aff637c9123d889a24610adacea50aea9524491
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:58 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-7M-Gen-mistral-7B.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-7M-Gen-mistral-7B.json.minisig $ minisign -Vm Infinity-Instruct-7M-Gen-mistral-7B.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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Infinity-Instruct-7M-Gen-mistral-7B
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Infinity-Instruct-7M-Gen-mistral-7B.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