alt.freeweights.llama / Infinity-Instruct-3M-0625-Llama3-70B
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.llamaSubject:

Infinity-Instruct-3M-0625-Llama3-70B

Date: 2026-11-15Commit: 6d8ceadSigned: 2DC28CC7B26A283B ✓

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

70.6B params141GBInfinity-Instruct-3M-0625-Llama3-70Bsafetensorspermissive
FactsParams70.6BSize141 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-3M-0625-Llama3-70B
# manifest sha256 9888ea8cb8d7… · 141 GB · 42 files
$ fw verify ./Infinity-Instruct-3M-0625-Llama3-70B BAAI/Infinity-Instruct-3M-0625-Llama3-70B
From sourceHosted (signed)BAAI/Infinity-Instruct-3M-0625-Llama3-70BLast check: 2026-11-15 04:04 UTC

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

Works with

Overview

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

Model card

From the publisher at commit 6d8cead. 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-Llama3-70B 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 GPT4-0613.

News#

Training Details#

Image: image

Infinity-Instruct-3M-0625-Llama3-70B 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 Llama3-70B, and get the foundational instruct model Infinity-Instruct-3M-Llama3-70B. Then we finetune the Infinity-Instruct-3M-Llama3-70B to get the stronger chat model Infinity-Instruct-3M-0625-Llama3-70B. 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
GPT 3.5 Turbo 06138.422.7
Mixtral 8x7B v0.18.323.7
Gemini Pro--24.4
GPT4-06139.230.2
Llama-3-70B-Instruct9.034.4
InfInstruct-3M-0613-Llama3-70B*8.731.5
InfInstruct-3M-0625-Llama3-70B*8.938.0

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

We evaluate Infinity-Instruct-3M-0625-Llama3-70B 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-0613-Llama3-70B achieved 31.2 in AlpacaEval2.0, which is higher than the 30.4 of GPT4-0613 and the 34.4 of the official Llama-3-70B-Instruct although it does not yet use RLHF.

How to use#

Infinity-Instruct-3M-0625-Llama3-70B adopt the same chat template of Llama3-70B-instruct:

<|begin_of_text|><|start_header_id|>user<|end_header_id|>

How are you?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Hi!<|eot_id|><|start_header_id|>user<|end_header_id|>

How are you?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

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

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

42 files ยท 141 GBWeights 141 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 42 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md7.49 KBa9aa2e135b11243cee9786c88df11b787debc36ff827a1a0af8e163f6e68055b
config.json654 Bbfd937677ee1c3d5b535ccaeec3223c06eca9452f3ac0dabe2ff87deb0f818a4
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/result.png272 KB2f991a773e1210eaf739b65ca244e654e8781c40c9af4ba76dc660ca6115612b
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json126 Bc6c683cc708d2c6921698cd80b39f380b9d501bd40770b024cea113f4b88210d
md52.34 KBc130176aa4124c0e207ceb0142f54a69559ac3dbc889c13d5ee54e68c70f3928
model-00001-of-00030.safetensors4.58 GBfd30422b5f7ccb9472990ae10df9e69b0e5526c5982e172d9a04d2d1cd617aa2
model-00002-of-00030.safetensors4.66 GB04b81d8cbff00da8caca76a92ee192a5eafa3767c8e4f282b8c40f8746a45039
model-00003-of-00030.safetensors5.00 GB5910917179b1862eed479778401ecdde1b302d73f8a8c6b8f557c97f6623f9a2
model-00004-of-00030.safetensors4.97 GBe59f06adfa93b3d0a9a407f8e8f83577e00360cc2fa5a5674f9794f366a38d80
model-00005-of-00030.safetensors4.66 GB710f8ba7a03c4f08713d66e03657662ce16f583baf3688b015580c43d3ae2977
model-00006-of-00030.safetensors4.66 GB7755643f8aeb99057e85147a15807e2b0ed2c861286ba4ead45c192304eb0ddd
model-00007-of-00030.safetensors4.66 GBbea1d90d2979c70ed1e5ab4720d628263168ff80cc93f28b1bf3bd4c3bff757d
model-00008-of-00030.safetensors5.00 GB575361fcc4727efa6d7e58a00243ad5fee354d1635716b4f492d333e6864ed22
model-00009-of-00030.safetensors4.97 GB8c8d25cae7a2812ae169e12eed7a9dc222c7a9968b4cd335b61280cef965683f
model-00010-of-00030.safetensors4.66 GBcbea53693bac6fbd96ef0ab98752011878073a205805333a155995c06ed340b9
model-00011-of-00030.safetensors4.66 GBf5ab64b4848bf8d7ae9f2402ed045a0f0185519f48c1bffb073f99d276b89bd4
model-00012-of-00030.safetensors4.66 GB602b16acf446202149516f42ec83fc684c82f0b9970009eb18aeee1c9b9c41ba
model-00013-of-00030.safetensors5.00 GBda7c683f2f790b4435c622fbeb7caf64fd766a91949f4887191264daf9e35428
model-00014-of-00030.safetensors4.97 GB28daa38a81f0f911b18c22c23090e1b50e9b34d9e4ad697a0012e1b3bd3d00d5
model-00015-of-00030.safetensors4.66 GB7aa5978dfb5d737e3c44a35c91efc0917f03144d3039eac4c92dfa23405354a5
model-00016-of-00030.safetensors4.66 GB3952dc4abee6fe4c2c8862333c18f896f54ed2791041ec11ec631f9ed8fac87e
model-00017-of-00030.safetensors4.66 GBd5eb4182976491df235c887e8342ccc273dede94e55a0e055c3ea1fd52f79ef9
model-00018-of-00030.safetensors5.00 GB06f2f45337d0917ec1e52a4cebfe18a58a35da1cdaa290aaed715b45a6ace91b
model-00019-of-00030.safetensors4.97 GBc4c4a65402609e173cd0bb1a6eb657a9c26200efb99a489a72d0a71513dbdad9
model-00020-of-00030.safetensors4.66 GBb295ffdf6ecc4e2dbf3542b9d145fe227321c3562aff941228f3e092ff37791b
model-00021-of-00030.safetensors4.66 GB71f2d5bfa5a3af2abb4ffd54d1e6858998aa56c696fab224e22fdf1980fdcc25
model-00022-of-00030.safetensors4.66 GBbdb99e30810dfac2cd587731ad7fc6104be54f31308919b298e1266dda86d251
model-00023-of-00030.safetensors5.00 GB26145b335d17221b6f901803c06c5abd609880067020fa7896b6c5baf0d04b87
model-00024-of-00030.safetensors4.97 GBe685f8e21c2c02b06c3ceb561e1f34341e440386c39dd592fc926e57ce68c424
model-00025-of-00030.safetensors4.66 GB3a3cceb35ce9831af3accc7abf6a6f30dc3bc07d8aa0d2725e6b3d09d90309e9
model-00026-of-00030.safetensors4.66 GBe21843f4f62c8bfb99efe6da7583197e2d5b3936992477453f1f39b27f2d0833
model-00027-of-00030.safetensors4.66 GBd4bfd368f4f0164b6e38199a31e2dc936f7a1d2e6656d6acad5b584fe4eca6da
model-00028-of-00030.safetensors5.00 GB2324a5fca3edd9bba5a14b2f26af247d2ba985f623fbb94df88f04ab7e44fd5d
model-00029-of-00030.safetensors4.97 GB89c3cddc974f690ba3329bc509a110f7673cb3096a45595f337501be8e631407
model-00030-of-00030.safetensors2.10 GB09991141b868bfee189a81091653bc8134455e358d9b88a120b6068e47ad9f29
model.safetensors.index.json59.6 KB2abe0910e23770a30ccf9b1b91804c64831c47f9c98defaa5293aa999433fc2b
special_tokens_map.json68 Bb7455f0e8f00539108837bfa586c4fbf424e31f8717819a6798be74bef813d05
tokenizer.json9.08 MB0ac333c83e2d107910928928b5912d8ade91594d08c7c73c4606d05c032d7632
tokenizer_config.json50.9 KBb717528fa6d09d7511f2226c59b29076b4b2cecdc7842a0da501ce65d9f95f60
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
6d8ceada57 pinned now2026-11-15 04:04 UTC42 files ยท 141 GB

Use it

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

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
a9aa2e135b11243cee9786c88df11b787debc36ff827a1a0af8e163f6e68055b
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.llamaSubject: Infinity-Instruct-3M-0625-Llama3-70BDate: 2026-11-15Commit: 6d8ceadSigned: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-3M-0625-Llama3-70B
Pinned commit
6d8ceada57e55cff3503191adc4d6379ff321fe2
Manifest
Infinity-Instruct-3M-0625-Llama3-70B.json ยท .minisig
Manifest sha256
9888ea8cb8d710acd3f3d9b93ee05058400b09ee13944211b1f3af5775b19202
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:04 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Llama3-70B.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0625-Llama3-70B.json.minisig $ minisign -Vm Infinity-Instruct-3M-0625-Llama3-70B.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-Llama3-70B
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-Llama3-70B.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Bunny-Llama-3-8B-V
From: BAAI <huggingface.co/BAAI>Subject: Bunny-Llama-3-8B-V-gguf
From: BAAI <huggingface.co/BAAI>Subject: Bunny-v1_1-Llama-3-8B-V
From: unsloth <huggingface.co/unsloth>Subject: codellama-7b
From: unsloth <huggingface.co/unsloth>Subject: codellama-7b-bnb-4bit
From: BAAI <huggingface.co/BAAI>Subject: Infinity-Instruct-3M-0613-Llama3-70B