Skip to content
— CH. 1 · THE FEBRUARY 24TH ANNOUNCEMENT —

Llama (language model)

~5 min read · Ch. 1 of 6
6 sections
  • On the 24th of February 2023, Meta AI published a blog post and research paper that introduced the first version of Llama. The announcement revealed a model family ranging from 1 billion to 65 billion parameters. Access to these weights was not immediate for everyone. Researchers had to apply through an application process to receive permission on a case-by-case basis. This initial release targeted academic researchers, government affiliates, civil society groups, and industry laboratories worldwide. The inference code ran under the GPLv3 license, but the core weights remained restricted. Meta claimed the 13 billion parameter version outperformed GPT-3 despite having only one-tenth the size. The largest 65 billion model competed with state-of-the-art systems like PaLM and Chinchilla. Training relied solely on publicly available information to ensure broad accessibility across different hardware setups.

  • Meta announced Llama 2 on the 18th of July 2023 in partnership with Microsoft. This version introduced three sizes: 7 billion, 13 billion, and 70 billion parameters. Training used 40% more data than the first iteration while keeping the architecture largely unchanged. Code Llama followed on the 24th of August 2023 with versions up to 34 billion parameters. A larger 70 billion version arrived on the 29th of January 2024. On the 18th of April 2024, Meta released Llama 3 with 8 billion and 70 billion parameter options. These models trained on approximately 15 trillion tokens of text. Performance continued scaling log-linearly even when exceeding Chinchilla-optimal dataset sizes. Llama 3.1 launched on the 23rd of July 2024 adding a 405 billion parameter model. The series expanded further with Llama 4 arriving in April 2025. This latest generation shifted to a mixture of experts architecture. It introduced multimodal capabilities handling both text and image inputs across twelve languages.

  • The Llama series employs autoregressive decoder-only transformers similar to GPT-3 but with distinct technical differences. SwiGLU activation functions replaced GeLU choices found in earlier systems. Rotary positional embeddings substituted absolute positional embedding methods. RMSNorm layers took the place of standard layer normalization. Training focused heavily on increasing data volume rather than just parameter counts. The foundational models for Llama 1 used datasets totaling 1.4 trillion tokens from sources like CommonCrawl web scrapes and GitHub repositories. Wikipedia entries in twenty languages formed part of this corpus. Project Gutenberg public domain books and Books3 datasets contributed additional material. ArXiv scientific paper source code and Stack Exchange questions rounded out the training mix. Llama 2 refined this approach by curating data to remove sites disclosing personal information. It upscaled trustworthy sources and fine-tuned chat models using over 27 thousand prompt-response pairs created specifically for the project. Reinforcement learning with human feedback combined Meta examples with seven smaller external datasets to align safety and helpfulness.

  • Meta described early versions as open-source while restricting commercial use through non-commercial licenses. The Open Source Initiative disputed this classification, stating licenses violated provisions prohibiting discrimination against specific groups or fields. Restrictions blocked usage in controlled substances, critical infrastructure, and by individuals within the European Union. Radboud University researchers ranked Llama 2 second-lowest for openness among twenty large language models in July 2023. Mark Dingemanse called the labeling positively misleading due to undocumented training data and poor technical documentation. Ars Technica revised its reporting from open-source to source-available after recognizing restrictions on entities with over 700 million daily active users. The Free Software Foundation classified Llama 3.1 as nonfree software in January 2025. They criticized acceptable use policies that limited popular applications and enforced trade regulations beyond user jurisdictions. A Nature article published later that month argued describing Llama 3 as open amounted to openwashing systems better understood as closed.

  • The Stanford University Institute for Human-Centered Artificial Intelligence released Alpaca using the Llama 7B model to acquire capabilities comparable to GPT-3 text-davinci-003. Official files were removed on the 21st of March 2023 due to hosting costs and safety concerns though code remained online. Meditron emerged from École Polytechnique Fédérale de Lausanne and Yale School of Medicine as a family fine-tuned on clinical guidelines and PubMed papers. It demonstrated improved performance on medical benchmarks like MedQA and MedMCQA. Zoom integrated Meta Llama 2 into an AI Companion summarizing meetings and offering presentation tips. Booz Allen Hamilton deployed Llama 3.2 aboard the International Space Station under the Space Llama project. This system ran on Hewlett Packard Enterprise's Spaceborne Computer-2 leveraging NVIDIA CUDA-accelerated computing. Astronauts could retrieve documents via natural language queries without internet connectivity. Reuters reported in 2024 that many Chinese foundation models relied on Llama training data. Researchers from China's People's Liberation Army Academy of Military Sciences developed military tools using the technology despite license prohibitions against such use.

Common questions

When did Meta AI publish the first version of Llama?

Meta AI published the first version of Llama on the 24th of February 2023. The announcement revealed a model family ranging from 1 billion to 65 billion parameters.

What happened to the original Llama weights after they appeared online on the 3rd of March 2023?

A torrent containing the full weights of the original Llama appeared online on the 3rd of March 2023 and spread rapidly through communities on the 4chan imageboard. Meta filed takedown requests against HuggingFace on the 6th of March, labeling it unauthorized distribution.

How many parameters does the latest Llama 4 model have and when was it released?

Llama 4 arrived in April 2025 as the latest generation of the series. This model shifted to a mixture of experts architecture and introduced multimodal capabilities handling both text and image inputs across twelve languages.

Why do some organizations classify Llama as non-free software instead of open source?

The Free Software Foundation classified Llama 3.1 as nonfree software in January 2025 due to acceptable use policies that limited popular applications. Restrictions blocked usage by individuals within the European Union and entities with over 700 million daily active users.

Which institutions used Llama models for medical or space applications?

Meditron emerged from École Polytechnique Fédérale de Lausanne and Yale School of Medicine as a family fine-tuned on clinical guidelines and PubMed papers. Booz Allen Hamilton deployed Llama 3.2 aboard the International Space Station under the Space Llama project.

All sources

89 references cited across the entry

  1. 4webMeta heats up Big Tech's AI arms race with new language modelYuvraj Malik et al. — 25 February 2023
  2. 7webMeta's battle with ChatGPT begins nowAlex Heath — 2024-04-18
  3. 20webgithub/dmca - Notice of Claimed Infringement via EmailOpSec Online LLC — GitHub — 21 March 2023
  4. 22arxivLLaMA-2: Open Foundation and Fine-Tuned Chat ModelsHugo Touvron et al. — 18 Jul 2023
  5. 24webMeta offers Llama AI to US government for national securityPrasanth Aby Thomas — 5 November 2024
  6. 26arxivCode Llama: Open Foundation Models for CodeBaptiste Rozière et al. — 2024-01-31
  7. 32citationThe Llama 3 Herd of ModelsAbhimanyu Dubey et al. — 2024-07-31
  8. 34webMeta got caught gaming AI benchmarksKylie Robison — 8 April 2025
  9. 44webMeta's Llama AI models get multimodalKyle Wiggers — 2024-09-25
  10. 47arxivGLU Variants Improve TransformerNoam Shazeer — 2020-02-01
  11. 48arxivRoFormer: Enhanced Transformer with Rotary Position EmbeddingJianlin Su et al. — 2021-04-01
  12. 49arxivLayer NormalizationJimmy Lei Ba et al. — 2016-07-01
  13. 50arxivRoot Mean Square Layer NormalizationBiao Zhang et al. — 2019-10-01
  14. 53webAlpaca: A Strong, Replicable Instruction-Following ModelRohan Taori et al. — Stanford Center for Research on Foundation Models — 13 March 2023
  15. 54arxivSelf-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang et al. — 2022
  16. 59webEPFL's new Large Language Model for Medical KnowledgeTanya Petersen — 28 November 2023
  17. 60webepfLLM/meditronepfLLM — 11 May 2024
  18. 64webGGUF
  19. 65webQuantize Llama models with GGUF and llama.cppMaxime Labonne — Towards Data Science — 29 November 2023
  20. 71webMeta Opens Its AI Model for the U.S. MilitaryMatthew S. Smith — 17 November 2024
  21. 72webMeta's LLaMa license is not Open SourceStefano Maffulli — 20 July 2023
  22. 73webMeta's LLaMa license is still not Open SourceJordan Maris — 18 February 2025
  23. 75webWhy Meta's 'open source' AI isn't all it seemsPascale Davies — 28 October 2024
  24. 77webLlama 3.1 Community License is not a free software licenseKrzysztof Siewicz — 24 January 2025
  25. 78webVarious Licenses and Comments about ThemFree Software Foundation
  26. 79webLlama and ChatGPT Are Not Open-SourceMichael Nolan — 27 July 2023
  27. 80journalWhy 'open' AI systems are actually closed, and why this mattersDavid Gray Widder et al. — 27 November 2024
  28. 84newsMeta under fire for 'polluting' open-sourceRichard Waters — October 17, 2024
  29. 86arxivLLaMA: Open and Efficient Foundation Language ModelsHugo Touvron et al. — 2023
  30. 88webllama