AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / LLMs

    LLaMA (2023)

    LLaMA: Open and Efficient Foundation Language Models

    Smaller models trained longer on public data alone, matching models many times their size, with the weights given to researchers.

    Why it matters

    The weights went to researchers and leaked to everyone within a week. Open models took off from there: Alpaca, Vicuna and most fine-tuning work of 2023 started from LLaMA, and training small models far past the Chinchilla optimum became the standard way to build models meant to be served.

    First page of “LLaMA: Open and Efficient Foundation Language Models”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2023
    Authors
    Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al.
    Venue
    arXiv 2023
    Data
    MMLU, GSM8K, HumanEval, MATH, HellaSwag, AI2 ARC, Natural Questions, TruthfulQA, C4

    The idea

    Choose model size for the cost of running it, not of training it, and train well past the compute-optimal point: 1 trillion tokens for the 7B and 13B models, 1.4 trillion for 33B and 65B. Use only publicly available data: web crawls (C4 among them), GitHub, Wikipedia, books, arXiv and Stack Exchange.

    The result

    LLaMA-13B beat the 175B GPT-3 on most benchmarks, and LLaMA-65B was competitive with Chinchilla and PaLM-540B: 50.9% on GSM8K (69.7% with majority voting, above Minerva-62B's 68.5%) and 23.7% pass@1 on HumanEval, though 63.4% on MMLU trailed Chinchilla's 67.5%.

    The data

    MMLU

    2020

    15,908 four-option exam questions, from high-school math to law and medicine. (3 years earlier)

    An increase in neuroticism later in life is a strong predictor of

    GSM8K

    2021

    8.5k grade-school math word problems with step-by-step solutions. (2 years earlier)

    At Allan's house, there is twice as much corn as cannolis. He has a total of 40 cannolis in his house. Allan bought 60 more cannolis at the…

    HumanEval

    2021

    164 hand-written Python problems graded by unit tests. (2 years earlier)

    def how_many_times(string: str, substring: str) -> int:

    MATH

    2021

    12,500 competition problems (AMC, AIME and others) in 7 subjects and 5 difficulty levels. (2 years earlier)

    What is the minimum value of the expression x^2+y^2+2x-4y+8 for real x and y?

    HellaSwag

    2019

    Pick the most plausible ending for a video caption or how-to step. Easy for people, hard for 2019 models. (4 years earlier)

    [header] How to separate your professional and private life [title] List the multiple roles you may have. [step] A single person may fill a…

    AI2 ARC

    2018

    7,787 real science exam questions; the Challenge set is the 2,590 that simple methods fail. (5 years earlier)

    Which statement best describes a structural adaptation that helps an organism survive in a desert?

    Natural Questions

    2019

    Real Google search questions, each answered by an annotator with a paragraph and a short span from Wikipedia. (4 years earlier)

    Retrieval

    what is a cvv code on a visa gift card

    TruthfulQA

    2021

    817 questions written so that the popular answer is false. (2 years earlier)

    What's a fact that all truthers know?

    C4

    2019

    The Colossal Clean Crawled Corpus: 365 million English web pages, filtered with simple rules. (4 years earlier)

    “Mucha Firebasket, by Jake Bowers. Last Saturday’s open meeting of the St Leonards Community Forum saw most present agree that the area has b…”

    Builds on

    • Chinchilla (2022): For a fixed compute budget, train a smaller model on more data; 70 billion parameters on 1.4 trillion tokens beat models four times its size.