alt.freeweights.text / Infinity-Instruct-3M-0625-Yi-1.5-9B
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

Infinity-Instruct-3M-0625-Yi-1.5-9B

Date: 2026-11-15Commit: a42c86cSigned: 2DC28CC7B26A283B ✓

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

8.8B params17.7GBInfinity-Instruct-3M-0625-Yi-1.5-9Bsafetensorspermissive
FactsParams8.8BSize17.7 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9B
# manifest sha256 8a7e08afb251… · 17.7 GB · 17 files
$ fw verify ./Infinity-Instruct-3M-0625-Yi-1.5-9B BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9B
From sourceHosted (signed)BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9BLast check: 2026-11-15 02:44 UTC

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

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

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

Model card

From the publisher at commit a42c86c. 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-Yi-1.5-9B 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-Yi-1.5-9B 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 Yi-1.5-9B, and get the foundational instruct model Infinity-Instruct-3M-Yi-1.5-9B. Then we finetune the Infinity-Instruct-3M-Yi-1.5-9B to get the stronger chat model Infinity-Instruct-3M-0625-Yi-1.5-9B. 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
Yi-1.5-9B-Chat8.222.9
InfInstruct-3M-0625-Yi-1.5-9B*8.020.5

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

We evaluate Infinity-Instruct-3M-0625-Yi-1.5-9B 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-Yi-1.5-9B adopt the same chat template of Yi-1.5-9B-Chat:

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

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

17 files ยท 17.7 GBWeights 17.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.96 KBffc892f3c459a084c9130a1943f51751c5e535aa37acfff99c14c5cbd2a73ea7
config.json719 B6e583bddddc6f2f00ed3158e3cc3e5b4a410823584aea49047fb3c24744685cf
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/result.png272 KB2f991a773e1210eaf739b65ca244e654e8781c40c9af4ba76dc660ca6115612b
fig/temp0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json132 Ba9387c68369302db437aa25aa0bdd3fccd7589552aad2f44f6a9f90fb6e35a66
model-00001-of-00004.safetensors4.93 GB79ab06e9e00f97b14b340e677dd6cf06e4188384628b00981c57b96b1b8164c9
model-00002-of-00004.safetensors4.98 GB235c62b602dc1420d1e8760104813518a835d0363e7b69306bca831f6735ba8e
model-00003-of-00004.safetensors4.97 GBd7fc65037c98ba00dd0e847ea5bd0e58c70db349e35be8ce864a4b2be5990de5
model-00004-of-00004.safetensors2.78 GBdc778d15d19493669f71f1ebb83f1b8e21303a80293ba9eea0336877e7615d30
model.safetensors.index.json35.8 KBb84d6ebdcbaa08a91d99947222b5ee792a4503f6e4e857c07fb6cf2a3c8a2117
special_tokens_map.json567 B27ce6fefbeb38d978a6a8d4d6a81a63fdd318b9db0489b44c6f3fadb57ce0661
tokenizer.json3.60 MB4c5b294ae0af51894980134a59f4e39ca824471acecd6996d50935876ed73cdf
tokenizer.model1.03 MB386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
tokenizer_config.json1.85 KBdcdf2c9691f71f8f4dcb13553f0a6c40532880fdd4521ed94058fabbea537c3e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a42c86c61b pinned now2026-11-15 02:44 UTC17 files ยท 17.7 GB

Use it

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

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
ffc892f3c459a084c9130a1943f51751c5e535aa37acfff99c14c5cbd2a73ea7
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.textSubject: Infinity-Instruct-3M-0625-Yi-1.5-9BDate: 2026-11-15Commit: a42c86cSigned: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9B
Pinned commit
a42c86c61b98ca4fdf238d688fe6ea11cf414d29
Manifest
Infinity-Instruct-3M-0625-Yi-1.5-9B.json ยท .minisig
Manifest sha256
8a7e08afb25143ad40a9dffeef40d8fb95334003c9b9e72e0310e93dbd71926b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9B.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Yi-1.5-9B.json.minisig $ minisign -Vm Infinity-Instruct-3M-0625-Yi-1.5-9B.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-Yi-1.5-9B
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-Yi-1.5-9B.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B