Sahaj.blogs
18 Apr 2024 · AI updates

Meta releases Llama 3 (8B and 70B)

Meta released Llama 3 in 8B and 70B sizes, base and instruct, plus Llama Guard 2 for safety classification, with an 8K context and day-one Hugging Face support.

What happened

Meta released Llama 3, and Hugging Face integrated it: models on the Hub, Transformers support, HuggingChat for the 70B instruct model, deployment on Inference Endpoints, Google Cloud and SageMaker, and a single-GPU fine-tuning example.

The technical details

From the Hugging Face post:

  • four models based on the Llama 2 architecture: 8B and 70B, each base and instruct
  • 8K-token context
  • Llama Guard 2: a safety model fine-tuned from Llama 3 8B, to classify inputs and outputs
  • all variants run on various kinds of consumer hardware

Why it matters

Llama 3 became a common base for open fine-tunes. Several papers summarised on this blog build on it, for example the trust-region alignment work (April 2024) and Instruction Pre-Training (June 2024).

#llm#open-weights#meta

Sources

  1. Welcome Llama 3 - Meta's new open LLM — Hugging Face
  2. Transformers v4.40.0 release notes — GitHub · huggingface/transformers

This is a summary written from the linked public sources. Figures and numbers are as reported there.