alt.freeweights.qwen / Infinity-Instruct-3M-0625-Qwen2-7B
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.qwenSubject:

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

Date: 2026-11-15Commit: 503c241Signed: 2DC28CC7B26A283B ✓

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

7.6B params15.2GBInfinity-Instruct-3M-0625-Qwen2-7Bsafetensorspermissive
FactsParams7.6BSize15.2 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-3M-0625-Qwen2-7B
# manifest sha256 efadb8658f06… · 15.2 GB · 14 files
$ fw verify ./Infinity-Instruct-3M-0625-Qwen2-7B BAAI/Infinity-Instruct-3M-0625-Qwen2-7B
From sourceHosted (signed)BAAI/Infinity-Instruct-3M-0625-Qwen2-7BLast check: 2026-11-15 04:03 UTC

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

Works with

Overview

Size
15.2 GB
Weights
15.2 GB (safetensors)
Parameters
7.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
14, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.qwen
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:03 UTCpassed

Model card

From the publisher at commit 503c241. 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-Qwen2-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 and MT-Bench.

News#

Training Details#

Image: image

Infinity-Instruct-3M-0625-Qwen2-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 Qwen2-7B, and get the foundational instruct model Infinity-Instruct-3M-Qwen2-7B. Then we finetune the Infinity-Instruct-3M-Qwen2-7B to get the stronger chat model Infinity-Instruct-3M-0625-Qwen2-7B. Here is the training hyperparamers.

epoch: 3
lr: 1e-5
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
Qwen2-7B-instruct8.4--
InfInstruct-3M-0625-Qwen2-7B*8.321.9

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

We evaluate Infinity-Instruct-3M-0625-Qwen2-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.

How to use#

Infinity-Instruct-3M-0625-Qwen2-7B adopt the same chat template of Qwen2-7B-Instruct:

<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant
Hi!<|im_end|>
<|im_start|>user
How are you?<|im_end|>

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

prompt = "Give me a short introduction to large language model."
messages = [
    {"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

14 files ยท 15.2 GBWeights 15.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md7.23 KBb070336be70659fb047a2c69493459f0dfe2fde4d2e8ce693139288c89b24f95
config.json664 Bb24a9ef4cfd8f1edbd845e56e89a019008c47e1938b0423de055ca3fa1810572
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/result.png272 KB2f991a773e1210eaf739b65ca244e654e8781c40c9af4ba76dc660ca6115612b
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json139 B04b48ccf49523e537106d08f5603e3e4b0a98ecfb9489681001544f49cf06124
model-00001-of-00004.safetensors4.88 GB0275524d6b3bff891ea03b12da6543dd9971177b1b3042dd6218875587640c3e
model-00002-of-00004.safetensors4.93 GBcb881b2c422c85e23b0a1cd6f40473f86e8bdf982067a8749af9ae3aad300987
model-00003-of-00004.safetensors4.33 GB785691576c1cff853fb7e14183aa9cc2daa20b2c6ad624ab5b89d86fe805ced7
model-00004-of-00004.safetensors1.09 GBa3e028e90ea69b46901ea704ca7d131af640d27cf8373a47adafc54571f101cc
model.safetensors.index.json27.8 KB998a078123ffc97763690de7f2a677eb89168af5eaf8a5e12e6bc24d18e25bdb
tokenizer.json7.03 MBf7c9b2dba4a296b1aa76c16a34b8225c0c118978400d4bb66bff0902d702f5b8
tokenizer_config.json1.29 KBfec252db4bf6d31a2789b7484690ebd73b0f9bfee3ceda5eca15dc5dc94748d5
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
503c24156d pinned now2026-11-15 04:03 UTC14 files ยท 15.2 GB

Use it

$ fw get BAAI/Infinity-Instruct-3M-0625-Qwen2-7B
# manifest sha256 efadb8658f06… · 15.2 GB · 14 files
$ fw verify ./Infinity-Instruct-3M-0625-Qwen2-7B BAAI/Infinity-Instruct-3M-0625-Qwen2-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-Qwen2-7B.json --dir ./Infinity-Instruct-3M-0625-Qwen2-7B $ python3 fw.py verify ./Infinity-Instruct-3M-0625-Qwen2-7B ./BAAI__Infinity-Instruct-3M-0625-Qwen2-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-Qwen2-7B --revision 503c24156d7682458686a7b5324f7f886e63470d --local-dir ./Infinity-Instruct-3M-0625-Qwen2-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-Qwen2-7B", revision="503c24156d7682458686a7b5324f7f886e63470d") model = AutoModelForCausalLM.from_pretrained("BAAI/Infinity-Instruct-3M-0625-Qwen2-7B", revision="503c24156d7682458686a7b5324f7f886e63470d", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/Infinity-Instruct-3M-0625-Qwen2-7B --revision 503c24156d7682458686a7b5324f7f886e63470d

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
b070336be70659fb047a2c69493459f0dfe2fde4d2e8ce693139288c89b24f95
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.qwenSubject: Infinity-Instruct-3M-0625-Qwen2-7BDate: 2026-11-15Commit: 503c241Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-3M-0625-Qwen2-7B
Pinned commit
503c24156d7682458686a7b5324f7f886e63470d
Manifest
Infinity-Instruct-3M-0625-Qwen2-7B.json ยท .minisig
Manifest sha256
efadb8658f065ba1acd1d31ce07c408e106ac4009a4dd6ee1d1157cf15466385
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:03 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Qwen2-7B.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Qwen2-7B.json.minisig $ minisign -Vm Infinity-Instruct-3M-0625-Qwen2-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-Qwen2-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-Qwen2-7B.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF