LLaMA: Open and Efficient Foundation Language Models

Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix and 8 more

Published
Lab
Meta
Citations
22,866

TL;DR

LLaMA is a family of 7B to 65B foundation models trained on trillions of tokens from publicly available datasets only. The weights were released to the research community.

Read this as a

Why builders care

Editor's note

LLaMA-13B outperformed GPT-3 (175B) on most benchmarks, and LLaMA-65B was competitive with Chinchilla-70B and PaLM-540B. Open, smaller models became a serious default for people who want to run or fine-tune a model themselves.

How to apply it

Editor's note
  1. 1If you are choosing a base model to fine-tune or run yourself, a 13B-class open model can outperform a much larger closed one on standard benchmarks, as LLaMA-13B did against GPT-3.
  2. 2You do not need a proprietary corpus to train a strong foundation model. This paper did it with public data only.

Code

Not found

No verified code link yet. We checked the abstract, arXiv comments and Hugging Face; if the authors release code later it will show up here.

Practical notes

AI-generated
  • Choose a 13B class open model to achieve performance that beats much larger closed systems on standard benchmarks.
  • Use publicly available datasets exclusively to train strong foundation models without proprietary data reliance.

Key results

From the abstract
  1. 1

    In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B.

  • We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters.
  • We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets.

We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters. We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B. We release all our models to the research community.

Everything on this page is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Answers come from the paper summary and abstract.

Ask anything about “LLaMA: Open and Efficient Foundation Language Models”, or start with one of these:

Closest matches across the feed and every collection, by shared words in titles, topics and abstracts.