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

Infinity-Instruct-3M-0625-Mistral-7B

Date: 2026-11-15Commit: 302e3aeSigned: 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-3M-0625-Mistral-7Bsafetensorspermissive
FactsParams7.2BSize14.5 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-3M-0625-Mistral-7B
# manifest sha256 9366bcd8a757… · 14.5 GB · 16 files
$ fw verify ./Infinity-Instruct-3M-0625-Mistral-7B BAAI/Infinity-Instruct-3M-0625-Mistral-7B
From sourceHosted (signed)BAAI/Infinity-Instruct-3M-0625-Mistral-7BLast check: 2026-11-15 04:14 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
16, 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 04:14 UTCpassed

Model card

From the publisher at commit 302e3ae. 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-3M-0625-Mistral-7B is an opensource supervised instruction tuning model without reinforcement learning from human feedback (RLHF). This model is just finetuned on Infinity-Instruct-3M and Infinity-Instruct-0625 and showing favorable results on AlpacaEval 2.0 compared to Mixtral 8x7B v0.1, Gemini Pro, and GPT-3.5.

News#

Training Details#

Image: image

Infinity-Instruct-3M-0625-Mistral-7B is tuned on Million-level instruction dataset Infinity-Instruct. First, we apply the foundational dataset Infinity-Instruct-3M to improve the foundational ability (math & code) of Mistral-7B-v0.1, and get the foundational instruct model Infinity-Instruct-3M-Mistral-7B. Then we finetune the Infinity-Instruct-3M-Mistral-7B to get the stronger chat model Infinity-Instruct-3M-0625-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.0
OpenHermes-2.5-Mistral-7B*7.516.2
Mistral-7B-Instruct-v0.27.617.1
Llama-3-8B-Instruct8.122.9
GPT 3.5 Turbo 06138.422.7
Mixtral 8x7B v0.18.323.7
Gemini Pro--24.4
InfInstruct-3M-Mistral-7B*7.616.2
InfInstruct-3M-0613-Mistral-7B*8.125.5
InfInstruct-3M-0625-Mistral-7B*8.131.42

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

We evaluate Infinity-Instruct-3M-0625-Mistral-7B on the two most popular instructions following benchmarks. Mt-Bench is a set of challenging multi-turn questions including code, math and routine dialogue. AlpacaEval2.0 is based on AlpacaFarm evaluation set. Both of these two benchmarks use GPT-4 to judge the model answer. AlpacaEval2.0 displays a high agreement rate with human-annotated benchmark, Chatbot Arena. The result shows that InfInstruct-3M-0625-Mistral-7B achieved 31.42 in AlpacaEval2.0, which is higher than the 22.5 of GPT3.5 Turbo although it does not yet use RLHF. InfInstruct-3M-0625-Mistral-7B also achieves 8.1 in MT-Bench, which is comparable to the state-of-the-art billion-parameter LLM such as Llama-3-8B-Instruct and Mistral-7B-Instruct-v0.2.

How to use#

Infinity-Instruct-3M-0625-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-3M-0625-Mistral-7B",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("BAAI/Infinity-Instruct-3M-0625-Mistral-7B")

# 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

16 files ยท 14.5 GBWeights 14.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md8.32 KB01cc3a57279755c06ee3fc24fd4c2a18d3c3ef3c62281fe3c44c2c915b72dd1b
added_tokens.json51 Bcd7830d65a4906365316c3218e862ae231f52f9be0990e2f3fd7997201a83903
config.json621 B02f77fd93df7231e899d8229f501541003f0d1c487ebae86e579f2dace345333
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/result.png272 KB2f991a773e1210eaf739b65ca244e654e8781c40c9af4ba76dc660ca6115612b
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json120 Bbf0f38d563d8151656106888e47c0a8bbb1e87acf9395ee271e46180c2425624
model-00001-of-00003.safetensors4.94 GBd85826db2981e17b8c1c3e2d2f1cb8b4de0feb4873c582c4e67afca540cd2bee
model-00002-of-00003.safetensors5.00 GBec4a39fbcf8ae3a1717b1b48917c0b71739c4bbeb140056fdb532ce8613d0dee
model-00003-of-00003.safetensors4.54 GBe541a2cf55c99011885c18578bda923eb27b9128ae1b68c4ec44e6b65c063bf9
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
302e3ae0bc pinned now2026-11-15 04:14 UTC16 files ยท 14.5 GB

Use it

$ fw get BAAI/Infinity-Instruct-3M-0625-Mistral-7B
# manifest sha256 9366bcd8a757… · 14.5 GB · 16 files
$ fw verify ./Infinity-Instruct-3M-0625-Mistral-7B BAAI/Infinity-Instruct-3M-0625-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-3M-0625-Mistral-7B.json --dir ./Infinity-Instruct-3M-0625-Mistral-7B $ python3 fw.py verify ./Infinity-Instruct-3M-0625-Mistral-7B ./BAAI__Infinity-Instruct-3M-0625-Mistral-7B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Infinity-Instruct-3M-0625-Mistral-7B --revision 302e3ae0bcc50dae3fb69fc1b08b518398e8c407 --local-dir ./Infinity-Instruct-3M-0625-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-3M-0625-Mistral-7B", revision="302e3ae0bcc50dae3fb69fc1b08b518398e8c407") model = AutoModelForCausalLM.from_pretrained("BAAI/Infinity-Instruct-3M-0625-Mistral-7B", revision="302e3ae0bcc50dae3fb69fc1b08b518398e8c407", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/Infinity-Instruct-3M-0625-Mistral-7B --revision 302e3ae0bcc50dae3fb69fc1b08b518398e8c407

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
01cc3a57279755c06ee3fc24fd4c2a18d3c3ef3c62281fe3c44c2c915b72dd1b
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-3M-0625-Mistral-7BDate: 2026-11-15Commit: 302e3aeSigned: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-3M-0625-Mistral-7B
Pinned commit
302e3ae0bcc50dae3fb69fc1b08b518398e8c407
Manifest
Infinity-Instruct-3M-0625-Mistral-7B.json ยท .minisig
Manifest sha256
9366bcd8a7576d2af05b1c05bf7bdc5e95b5e6951a2e34c242d6d3d604ef9bc5
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:14 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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