SuperAPI AI Directory

Llama-3-70B

Llama-3-70B is a large language model released by Meta on April 18, 2024. It belongs to the Llama 3 series and has approximately 71 billion parameters (officially referred to as 70B), and is available in both pretrained and instruction-tuned versions. The model accepts only text input and outputs text and code. It uses an optimized Transformer autoregressive architecture and employs grouped-query attention (GQA) to improve inference scalability. The instruction-tuned version undergoes supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), is optimized for dialogue scenarios, and is officially stated to outperform many open-source chat models on common industry benchmarks. The model is available for download on Hugging Face; access requires agreeing to share Hugging Face information, and use must comply with the Meta Llama 3 Community License Agreement and Acceptable Use Policy. The official documentation states that it is intended for English commercial and research use, that the pretraining data cutoff is December 2023 (for the 70B version), and that training used more than 15 trillion tokens of publicly available data.

Open website

About this tool

Llama-3-70B is the 70B-parameter version of the Llama 3 series of large language models developed and released by Meta, published on April 18, 2024. The series includes two sizes, 8B and 70B, each with pretrained and instruction-tuned variants. This page is the model repository on Hugging Face, providing entry points for downloading and running the model files.

Regarding intended use, the official documentation states that Llama 3 is intended for English commercial and research use. The instruction-tuned model is suitable for assistant-style dialogue, while the pretrained model can be adapted to a variety of natural language generation tasks. The model accepts only text input and outputs text and code.

Key capabilities and architecture: Llama 3 is an autoregressive language model built on an optimized Transformer architecture. The instruction-tuned version uses supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF) to align helpfulness and safety. Both the 8B and 70B versions use grouped-query attention (GQA) to improve inference scalability. The official documentation states that the instruction-tuned model is optimized for dialogue scenarios and outperforms many available open-source chat models on common industry benchmarks.

Usage: Accessing the model on Hugging Face requires agreeing to share Hugging Face information; the information provided will be collected, stored, processed, and shared in accordance with Meta's Privacy Policy. The repository description includes two versions for use with transformers and the original llama3 codebase (the page text mentions Meta-Llama-3-8B-Instruct, but this entry is the 70B repository). For use with transformers, refer to the code snippet on the page; for use with llama3, follow the instructions in the repository. To download the original checkpoints, the huggingface-cli command can be used; the official recommendation is to use transformers or TGI for Hugging Face support.

Training data and hardware: Pretraining used more than 15 trillion tokens of data from publicly available sources, and fine-tuning data includes public instruction datasets and more than 10 million human-annotated examples; neither the pretraining nor the fine-tuning data contains Meta user data. Pretraining data cutoff: December 2023 for the 70B model. Pretraining used a custom training library, the Meta Research SuperCluster, and production clusters, while fine-tuning, annotation, and evaluation were performed on third-party cloud compute. Pretraining used a cumulative 7.7 million GPU hours on H100-80GB hardware (TDP 700W), with estimated total emissions of 2,290 tonnes of CO2 equivalent, 100% offset by Meta's sustainability program.

License and restrictions: The model uses the Meta Llama 3 Community License Agreement. If, in the calendar month preceding the month of the release date, the products or services provided by the licensee or its affiliates have more than 700 million monthly active users, a license must be requested from Meta, and Meta may grant it at its sole discretion. When distributing or providing Llama Materials or derivative works thereof, or products or services that use them, a copy of the agreement must be provided, and "Built with Meta Llama 3" must be prominently displayed on the relevant website, interface, blog, about page, or product documentation; if they are used to create, train, fine-tune, or improve an AI model and distribute it, the model name must begin with "Llama 3". Llama Materials or their outputs must not be used to improve any other large language model (other than Meta Llama 3 or its derivative works). Use must comply with applicable laws and regulations and the Acceptable Use Policy. Officially, "use in languages other than English" is listed as an out-of-scope use, but developers may fine-tune for other languages provided they comply with the license and the Acceptable Use Policy. The model is provided "as is" without any express or implied warranties.

Applicable scenarios and restrictions: Suitable for English conversational assistants, text and code generation, research, and natural language generation tasks that can be fine-tuned in compliance. Restrictions include: only text input and output are supported; the official positioning is primarily English; the pre-training data has a cutoff date; the Community License and Acceptable Use Policy must be complied with; a separate license application is required if monthly active users exceed 700 million; it must not be used to improve other large language models. Specific fees, pricing, platform deployment details, and performance data are not yet provided.