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

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

Date: 2026-11-15Commit: 9fc5366Signed: 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-0613-Llama3-70Bsafetensorspermissive
FactsParams70.6BSize141 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Infinity-Instruct-3M-0613-Llama3-70B
# manifest sha256 d6e18fd5a359… · 141 GB · 40 files
$ fw verify ./Infinity-Instruct-3M-0613-Llama3-70B BAAI/Infinity-Instruct-3M-0613-Llama3-70B
From sourceHosted (signed)BAAI/Infinity-Instruct-3M-0613-Llama3-70BLast 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
141 GB
Weights
141 GB (safetensors)
Parameters
70.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
40, 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 03:58 UTCpassed

Model card

From the publisher at commit 9fc5366. 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-0613-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-0613 and showing favorable results on AlpacaEval 2.0 compared to GPT4-0613.

News#

  • ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ[2024/06/28] We release the model weight of InfInstruct-Llama3-70B 0613. It shows favorable results on AlpacaEval 2.0 compared to GPT4-0613 without RLHF.
  • ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ[2024/06/21] We release the model weight of InfInstruct-Mistral-7B 0613. It shows favorable results on AlpacaEval 2.0 compared to Mixtral 8x7B v0.1, Gemini Pro, and GPT-3.5 without RLHF.
  • ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ[2024/06/13] We share the intermediate result of our data construction process (corresponding to the InfInstruct-3M in the table below). Our ongoing efforts focus on risk assessment and data generation. The finalized version with 10 million instructions is scheduled for release in late June.

Training Details#

Image: image

Infinity-Instruct-3M-0613-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-0613-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

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

We evaluate Infinity-Instruct-3M-0613-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 Turbo although it does not yet use RLHF.

How to use#

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

40 files ยท 141 GBWeights 141 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 40 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.64 KBa24ac471c8704dc0e81372a11d17cfc0356661cc42175066b1b370ef841530ad
config.json654 Bbfd937677ee1c3d5b535ccaeec3223c06eca9452f3ac0dabe2ff87deb0f818a4
fig/Bk3NbjnJko51MTx1ZCScT2sqnGg.png109 KB3ee1e370eb605f9c33e57b3696d5547b8d2e1f7a58e6605be505d7c2614b2b0d
fig/trainingflow.png81.3 KBfd54036bb280280ddc5fe0784c7cf5349a85dac3d3a37308401011c17c46f000
generation_config.json126 Bc6c683cc708d2c6921698cd80b39f380b9d501bd40770b024cea113f4b88210d
model-00001-of-00030.safetensors4.58 GBbcc98396a36185c43544de070c0b1ed6c8f95e2a177ef816ab9813b5f3b9e29f
model-00002-of-00030.safetensors4.66 GB64d09e749f7adfbc20f4f221296b29e0cd3c6556d2f66d3e641d9eeee17268ee
model-00003-of-00030.safetensors5.00 GB114fef4de75b0a950a8243309a29d3bb1239619414c75135d919619406909fd6
model-00004-of-00030.safetensors4.97 GB7c05354d99c3500c81c6ca90866704a3ff13d29c76699416de6cd52a89774ac5
model-00005-of-00030.safetensors4.66 GB066c93f2779497a6a13c1eb8fabf82f2ff147f3b58182106cf6d914b8e925906
model-00006-of-00030.safetensors4.66 GB9bb0048fb5c092bc3e7e0a35991fd29764909ef139dbcc3a71d71c937077c788
model-00007-of-00030.safetensors4.66 GBb49a0675bac2beabb25e02027bdd2f90a606a1ff2699683e988b7ffb60139c63
model-00008-of-00030.safetensors5.00 GBf9fd855169b8280f43451798fe9869d41a0f202993d2e845e02a929a95a1d2bc
model-00009-of-00030.safetensors4.97 GB5b3c815426e61094c89f4a66a6d95e7e9b5efd069f7c24b77bf02c61c96858f6
model-00010-of-00030.safetensors4.66 GBd73743786673c926d5aecb8f6619fc2c1d2b6814e9e4730480a66aab15020d4d
model-00011-of-00030.safetensors4.66 GB1598101234dd22736d06571921191c96bfe78f839e359fe53e61df734bfde8b9
model-00012-of-00030.safetensors4.66 GB2b054ab85be0a3f442738158d814b660cfd8ad12aac56975af65c92d48de6e3d
model-00013-of-00030.safetensors5.00 GB20daf3562238737e75bf92d1f317fba6a0fb9f63ad543147f8c9d2855605eb0c
model-00014-of-00030.safetensors4.97 GB7db84d05814a37295027e4864eef317c955579f5bf1f5065cc62cfadfa0911d6
model-00015-of-00030.safetensors4.66 GB90a55378c160c4e10c5237f277533263ca98a08c732977f92c25d4b0a01e0c26
model-00016-of-00030.safetensors4.66 GB860c020fd4c7584ffdffe9b1f976560b8ee177105961f33ef0c8f28e18004371
model-00017-of-00030.safetensors4.66 GB06b2251fcd035f5a9b30fd7aed87ca5d12ff7df98bbb3ccf55b712324d4ea165
model-00018-of-00030.safetensors5.00 GB82caaf100415cfa59bd3d1a6ccc6c912c4691fcc4b667d7e76d1885e6194cce8
model-00019-of-00030.safetensors4.97 GBc88e507adcc1dc2a035fb8678bfd169fa639d72a2d242e08eca4328addefd248
model-00020-of-00030.safetensors4.66 GB4fabc5adc87a106042ac823b22e00b13e682477a6a5c45425d5b269d8c6e6726
model-00021-of-00030.safetensors4.66 GB4aca7131e488f81611e3230049d3f4383f965e182224d4ef0b0c14c945d833aa
model-00022-of-00030.safetensors4.66 GB83cc874f471b72dcefd4ce145dbbef6ade299300c437a8c0eb6d7d9c4f3d1736
model-00023-of-00030.safetensors5.00 GB765244456aad2ed308ca038eff1d97c6d23d05516aaf077481e83a5d3e21d9b5
model-00024-of-00030.safetensors4.97 GB3a8c4f7d1d511dfc12ad4140bc5fc4dd48dc4555eee58c028433ae262dd60fe2
model-00025-of-00030.safetensors4.66 GB8ed3680275cd529981f2e995bb99e4ef556f5ee474d59e57529919026abfc051
model-00026-of-00030.safetensors4.66 GB3a943d1b919a4c9abef9af2f23240bae025f87285cdf36091f49a57d1e3052c1
model-00027-of-00030.safetensors4.66 GBcee29d44d877ecf56fa5f630728873fbfec9c6936705ef77eb94b208b88f131e
model-00028-of-00030.safetensors5.00 GB085b1c144facdaf6912f82fc53ecb8e5d3c0bd415673ed994454ce044e52e62b
model-00029-of-00030.safetensors4.97 GB974f3af57d6f693b32f6132b33b664cff70199aa8cadd4226976787951386524
model-00030-of-00030.safetensors2.10 GB136b47f6e6b78b99f2a5fc3120cec64a25deee73f949cf16d2a4589234b22d14
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
9fc5366806 pinned now2026-11-15 03:58 UTC40 files ยท 141 GB

Use it

$ fw get BAAI/Infinity-Instruct-3M-0613-Llama3-70B
# manifest sha256 d6e18fd5a359… · 141 GB · 40 files
$ fw verify ./Infinity-Instruct-3M-0613-Llama3-70B BAAI/Infinity-Instruct-3M-0613-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-0613-Llama3-70B.json --dir ./Infinity-Instruct-3M-0613-Llama3-70B $ python3 fw.py verify ./Infinity-Instruct-3M-0613-Llama3-70B ./BAAI__Infinity-Instruct-3M-0613-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-0613-Llama3-70B --revision 9fc53668064bdda22975ca72c5a287f8241c95b3 --local-dir ./Infinity-Instruct-3M-0613-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-0613-Llama3-70B", revision="9fc53668064bdda22975ca72c5a287f8241c95b3") model = AutoModelForCausalLM.from_pretrained("BAAI/Infinity-Instruct-3M-0613-Llama3-70B", revision="9fc53668064bdda22975ca72c5a287f8241c95b3", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/Infinity-Instruct-3M-0613-Llama3-70B --revision 9fc53668064bdda22975ca72c5a287f8241c95b3

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
a24ac471c8704dc0e81372a11d17cfc0356661cc42175066b1b370ef841530ad
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-0613-Llama3-70BDate: 2026-11-15Commit: 9fc5366Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/Infinity-Instruct-3M-0613-Llama3-70B
Pinned commit
9fc53668064bdda22975ca72c5a287f8241c95b3
Manifest
Infinity-Instruct-3M-0613-Llama3-70B.json ยท .minisig
Manifest sha256
d6e18fd5a3597e5a5f800eb3c95497c499d37aab41dbe44b1311170ba3560e02
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-3M-0613-Llama3-70B.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Infinity-Instruct-3M-0613-Llama3-70B.json.minisig $ minisign -Vm Infinity-Instruct-3M-0613-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-0613-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-0613-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-0625-Llama3-70B