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

huggingface.co
Total runs: 158
24-hour runs: 0
7-day runs: 13
30-day runs: 9
Model's Last Updated: June 28 2024
text-generation

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

Model Details of Infinity-Instruct-3M-0613-Llama3-70B

Infinity Instruct

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

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
Model MT-Bench AlpacaEval2.0
GPT 3.5 Turbo 0613 8.4 22.7
Mixtral 8x7B v0.1 8.3 23.7
Gemini Pro -- 24.4
GPT4-0613 9.2 30.2
Llama-3-70B-Instruct 9.0 34.4
InfInstruct-3M-0613-Llama3-70B* 8.7 31.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}
}

Runs of BAAI Infinity-Instruct-3M-0613-Llama3-70B on huggingface.co

158
Total runs
0
24-hour runs
8
3-day runs
13
7-day runs
9
30-day runs

More Information About Infinity-Instruct-3M-0613-Llama3-70B huggingface.co Model

More Infinity-Instruct-3M-0613-Llama3-70B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Infinity-Instruct-3M-0613-Llama3-70B huggingface.co

Infinity-Instruct-3M-0613-Llama3-70B huggingface.co is an AI model on huggingface.co that provides Infinity-Instruct-3M-0613-Llama3-70B's model effect (), which can be used instantly with this BAAI Infinity-Instruct-3M-0613-Llama3-70B model. huggingface.co supports a free trial of the Infinity-Instruct-3M-0613-Llama3-70B model, and also provides paid use of the Infinity-Instruct-3M-0613-Llama3-70B. Support call Infinity-Instruct-3M-0613-Llama3-70B model through api, including Node.js, Python, http.

Infinity-Instruct-3M-0613-Llama3-70B huggingface.co Url

https://huggingface.co/BAAI/Infinity-Instruct-3M-0613-Llama3-70B

BAAI Infinity-Instruct-3M-0613-Llama3-70B online free

Infinity-Instruct-3M-0613-Llama3-70B huggingface.co is an online trial and call api platform, which integrates Infinity-Instruct-3M-0613-Llama3-70B's modeling effects, including api services, and provides a free online trial of Infinity-Instruct-3M-0613-Llama3-70B, you can try Infinity-Instruct-3M-0613-Llama3-70B online for free by clicking the link below.

BAAI Infinity-Instruct-3M-0613-Llama3-70B online free url in huggingface.co:

https://huggingface.co/BAAI/Infinity-Instruct-3M-0613-Llama3-70B

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

Infinity-Instruct-3M-0613-Llama3-70B is an open source model from GitHub that offers a free installation service, and any user can find Infinity-Instruct-3M-0613-Llama3-70B on GitHub to install. At the same time, huggingface.co provides the effect of Infinity-Instruct-3M-0613-Llama3-70B install, users can directly use Infinity-Instruct-3M-0613-Llama3-70B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Infinity-Instruct-3M-0613-Llama3-70B install url in huggingface.co:

https://huggingface.co/BAAI/Infinity-Instruct-3M-0613-Llama3-70B

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

Infinity-Instruct-3M-0613-Llama3-70B huggingface.co Url

Provider of Infinity-Instruct-3M-0613-Llama3-70B huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 64.5M
Run Growth: -9.1M
Growth Rate: -14.02%
Updated:February 22 2024
huggingface.co

Total runs: 38.1M
Run Growth: 2.6M
Growth Rate: 6.81%
Updated:July 03 2024
huggingface.co

Total runs: 11.8M
Run Growth: -754.9K
Growth Rate: -6.26%
Updated:February 21 2024
huggingface.co

Total runs: 10.5M
Run Growth: -1.1M
Growth Rate: -10.36%
Updated:February 21 2024
huggingface.co

Total runs: 2.5M
Run Growth: 1.9M
Growth Rate: 78.66%
Updated:April 17 2024
huggingface.co

Total runs: 806.1K
Run Growth: -585.3K
Growth Rate: -71.93%
Updated:October 12 2023
huggingface.co

Total runs: 221.9K
Run Growth: -1.2M
Growth Rate: -549.69%
Updated:December 13 2023
huggingface.co

Total runs: 68.6K
Run Growth: 60.2K
Growth Rate: 88.75%
Updated:October 12 2023
huggingface.co

Total runs: 66.0K
Run Growth: -3.8K
Growth Rate: -5.82%
Updated:July 13 2026
huggingface.co

Total runs: 56.5K
Run Growth: -23.2K
Growth Rate: -39.65%
Updated:October 12 2023
huggingface.co

Total runs: 51.5K
Run Growth: -111.9K
Growth Rate: -213.70%
Updated:October 12 2023
huggingface.co

Total runs: 50.1K
Run Growth: 27.1K
Growth Rate: 54.42%
Updated:November 14 2023
huggingface.co

Total runs: 39.6K
Run Growth: -21.1K
Growth Rate: -54.13%
Updated:January 15 2025
huggingface.co

Total runs: 15.7K
Run Growth: 229
Growth Rate: 1.45%
Updated:April 16 2025
huggingface.co

Total runs: 10.7K
Run Growth: -14.3K
Growth Rate: -133.45%
Updated:October 12 2023
huggingface.co

Total runs: 4.9K
Run Growth: 4.9K
Growth Rate: 89.12%
Updated:April 19 2024
huggingface.co

Total runs: 4.9K
Run Growth: -7.9K
Growth Rate: -159.38%
Updated:May 20 2025
huggingface.co

Total runs: 3.6K
Run Growth: 2.7K
Growth Rate: 73.88%
Updated:September 11 2026
huggingface.co

Total runs: 2.1K
Run Growth: 1.6K
Growth Rate: 75.18%
Updated:December 31 2022
huggingface.co

Total runs: 1.9K
Run Growth: -13.4K
Growth Rate: -731.78%
Updated:January 15 2025
huggingface.co

Total runs: 1.8K
Run Growth: -273
Growth Rate: -16.30%
Updated:April 10 2026
huggingface.co

Total runs: 1.7K
Run Growth: -909
Growth Rate: -54.37%
Updated:April 10 2026
huggingface.co

Total runs: 1.6K
Run Growth: 968
Growth Rate: 70.61%
Updated:November 28 2024
huggingface.co

Total runs: 1.2K
Run Growth: 277
Growth Rate: 22.85%
Updated:September 11 2026
huggingface.co

Total runs: 1.0K
Run Growth: 814
Growth Rate: 75.86%
Updated:October 24 2024
huggingface.co

Total runs: 1.0K
Run Growth: 635
Growth Rate: 49.61%
Updated:October 23 2024
huggingface.co

Total runs: 833
Run Growth: 0
Growth Rate: 0.00%
Updated:September 16 2026
huggingface.co

Total runs: 806
Run Growth: -536
Growth Rate: -58.26%
Updated:February 07 2024
huggingface.co

Total runs: 764
Run Growth: -86
Growth Rate: -11.20%
Updated:May 23 2025
huggingface.co

Total runs: 530
Run Growth: -139
Growth Rate: -24.60%
Updated:July 13 2026
huggingface.co

Total runs: 489
Run Growth: 171
Growth Rate: 34.83%
Updated:April 10 2026
huggingface.co

Total runs: 430
Run Growth: -439
Growth Rate: -105.28%
Updated:April 18 2023
huggingface.co

Total runs: 412
Run Growth: -17
Growth Rate: -3.78%
Updated:July 13 2026
huggingface.co

Total runs: 383
Run Growth: -205
Growth Rate: -52.56%
Updated:October 27 2023
huggingface.co

Total runs: 373
Run Growth: -309
Growth Rate: -81.96%
Updated:August 11 2026
huggingface.co

Total runs: 349
Run Growth: -910
Growth Rate: -247.28%
Updated:August 11 2026
huggingface.co

Total runs: 326
Run Growth: 185
Growth Rate: 52.11%
Updated:July 13 2026
huggingface.co

Total runs: 325
Run Growth: 31
Growth Rate: 9.60%
Updated:July 13 2026
huggingface.co

Total runs: 311
Run Growth: -808
Growth Rate: -260.65%
Updated:December 25 2025
huggingface.co

Total runs: 296
Run Growth: -138
Growth Rate: -47.42%
Updated:March 07 2024
huggingface.co

Total runs: 290
Run Growth: -75
Growth Rate: -26.13%
Updated:July 13 2026
huggingface.co

Total runs: 273
Run Growth: -3.9K
Growth Rate: -1409.09%
Updated:April 10 2026
huggingface.co

Total runs: 258
Run Growth: -105
Growth Rate: -39.33%
Updated:April 10 2026
huggingface.co

Total runs: 246
Run Growth: 231
Growth Rate: 72.41%
Updated:August 18 2026
huggingface.co

Total runs: 244
Run Growth: -416
Growth Rate: -145.45%
Updated:December 25 2025
huggingface.co

Total runs: 227
Run Growth: -117
Growth Rate: -52.47%
Updated:June 06 2025
huggingface.co

Total runs: 222
Run Growth: -59
Growth Rate: -26.46%
Updated:July 17 2026
huggingface.co

Total runs: 212
Run Growth: -82
Growth Rate: -39.42%
Updated:July 13 2026
huggingface.co

Total runs: 206
Run Growth: 65
Growth Rate: 32.50%
Updated:April 02 2024
huggingface.co

Total runs: 205
Run Growth: -65
Growth Rate: -32.18%
Updated:July 13 2026
huggingface.co

Total runs: 184
Run Growth: 7
Growth Rate: 3.85%
Updated:July 13 2026
huggingface.co

Total runs: 177
Run Growth: -173
Growth Rate: -96.65%
Updated:October 23 2024
huggingface.co

Total runs: 176
Run Growth: 171
Growth Rate: 100.00%
Updated:September 05 2026
huggingface.co

Total runs: 172
Run Growth: -2
Growth Rate: -1.18%
Updated:June 24 2024
huggingface.co

Total runs: 171
Run Growth: 50
Growth Rate: 29.59%
Updated:August 23 2023
huggingface.co

Total runs: 167
Run Growth: -70
Growth Rate: -41.67%
Updated:April 10 2026
huggingface.co

Total runs: 164
Run Growth: 40
Growth Rate: 24.69%
Updated:July 13 2026
huggingface.co

Total runs: 163
Run Growth: 110
Growth Rate: 68.32%
Updated:November 02 2025
huggingface.co

Total runs: 160
Run Growth: -36
Growth Rate: -22.93%
Updated:May 13 2024
huggingface.co

Total runs: 158
Run Growth: -77
Growth Rate: -49.04%
Updated:May 13 2024
huggingface.co

Total runs: 158
Run Growth: 56
Growth Rate: 36.36%
Updated:March 13 2026
huggingface.co

Total runs: 156
Run Growth: -57
Growth Rate: -37.50%
Updated:July 13 2026