Llama (language model)
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.
A torrent containing the full weights of the original Llama appeared online on the 3rd of March 2023. A link to this file spread rapidly through communities on the 4chan imageboard. That same day, a pull request requested adding the magnet link to official documentation. By the 4th of March, another pull request added links to HuggingFace repositories hosting the leaked data. Meta filed takedown requests against HuggingFace on the 6th of March, labeling it unauthorized distribution. GitHub complied with a DMCA request from Meta on the 7th of March regarding a script that downloaded the model from mirrors. Reactions to the leak were divided. Some feared malicious uses like sophisticated spam campaigns. Others celebrated the sudden availability for running smaller models cheaply. Commentator Simon Willison compared the event to the release of Stable Diffusion, noting how open distribution spurred rapid tool development. The incident highlighted tensions between restricted academic access and community-driven innovation.
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.
Continue Browsing
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
- 1webLlama 4 Community License Agreement5 April 2025
- 3webMark Zuckerberg announces Meta's new large language model as A.I. race heats upKif Leswing — 2023-02-24
- 4webMeta heats up Big Tech's AI arms race with new language modelYuvraj Malik et al. — 25 February 2023
- 5newsTechScape: Will Meta's massive leak democratise AI – and at what cost?Alex Hern — 2023-03-07
- 6webMeta's AI research head wants open source licensing to changeEmilia David — 30 October 2023
- 7webMeta's battle with ChatGPT begins nowAlex Heath — 2024-04-18
- 8webMeta defends Llama 4 release against 'reports of mixed quality,' blames bugsCarl Franzen — 2025-04-08
- 10webExamining Emergent Abilities in Large Language Models13 September 2022
- 12webChatGPT is 'not particularly innovative,' and 'nothing revolutionary', says Meta's chief AI scientistTiernan Ray — 23 January 2023
- 13webMeta's Yann LeCun on auto-regressive Large Language Models (LLMs)Nik Badminton — 13 February 2023
- 15webMetas "LLaMA" language model shows that parameters are not everythingMatthias Bastian — 2023-02-25
- 16newsMeta's LLaMA Leaked to the Public, Thanks To 4chanAnirudh VK — 6 March 2023
- 19newsFacebook's Powerful Large Language Model Leaks OnlineJoseph Cox — 7 March 2023
- 20webgithub/dmca - Notice of Claimed Infringement via EmailOpSec Online LLC — GitHub — 21 March 2023
- 21webMeta and Microsoft Introduce the Next Generation of LLaMA18 July 2023
- 22arxivLLaMA-2: Open Foundation and Fine-Tuned Chat ModelsHugo Touvron et al. — 18 Jul 2023
- 23webMeta launches LLaMA-2, a source-available AI model that allows commercial applicationsBenj Edwards — 2023-07-18
- 24webMeta offers Llama AI to US government for national securityPrasanth Aby Thomas — 5 November 2024
- 26arxivCode Llama: Open Foundation Models for CodeBaptiste Rozière et al. — 2024-01-31
- 27webMeta releases Llama 3, claims it's among the best open models availableKyle Wiggers — 18 April 2024
- 28webMeta debuts third-generation Llama large language modelTobias Mann — April 19, 2024
- 29webIntroducing Meta Llama 3: The most capable openly available LLM to dateApril 18, 2024
- 30webMark Zuckerberg - Llama 3, Open Sourcing $10b Models, & Caesar AugustusDwarkesh Patel — 2024-07-24
- 32citationThe Llama 3 Herd of ModelsAbhimanyu Dubey et al. — 2024-07-31
- 34webMeta got caught gaming AI benchmarksKylie Robison — 8 April 2025
- 35webMeta's benchmarks for its new AI models are a bit misleadingKyle Wiggers — 6 April 2025
- 37webLlama Models
- 43webMeta releases its first open AI model that can process imagesKylie Robison — 2024-09-25
- 44webMeta's Llama AI models get multimodalKyle Wiggers — 2024-09-25
- 46webmeta-llama/Llama-4-Maverick-17B-128E · Hugging Face2025-04-05
- 47arxivGLU Variants Improve TransformerNoam Shazeer — 2020-02-01
- 48arxivRoFormer: Enhanced Transformer with Rotary Position EmbeddingJianlin Su et al. — 2021-04-01
- 49arxivLayer NormalizationJimmy Lei Ba et al. — 2016-07-01
- 50arxivRoot Mean Square Layer NormalizationBiao Zhang et al. — 2019-10-01
- 51webRedPajama replicates LLaMA dataset to build open source, state-of-the-art LLMsSharon Goldman — 2023-04-18
- 52webMark Zuckerberg gave Meta's Llama team the OK to train on copyrighted works, filing claimsKyle Wiggers — January 9, 2025
- 53webAlpaca: A Strong, Replicable Instruction-Following ModelRohan Taori et al. — Stanford Center for Research on Foundation Models — 13 March 2023
- 54arxivSelf-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang et al. — 2022
- 56webStanford takes costly, risky Alpaca AI model offlineKatyanna Quach
- 57webStanford Researchers Take Down Alpaca AI Over Cost and Hallucinations21 March 2023
- 59webEPFL's new Large Language Model for Medical KnowledgeTanya Petersen — 28 November 2023
- 60webepfLLM/meditronepfLLM — 11 May 2024
- 61webHow Companies Are Using Meta Llama7 May 2024
- 62newsHow dependent is China on US artificial intelligence technology?May 9, 2024
- 63webYou can now run a GPT-3-level AI model on your laptop, phone, and Raspberry PiBenj Edwards — 2023-03-13
- 64webGGUF
- 65webQuantize Llama models with GGUF and llama.cppMaxime Labonne — Towards Data Science — 29 November 2023
- 66webLlamafile LLM driver project boosts performance on CPU coresMatthew Connatser
- 67webLarge Language Models in Space—and Beyond18 April 2025
- 68webMeta and Booz Allen partner on 'Space Llama' AI program with Nvidia and HPEHayden Field — 2025-04-25
- 69webPRC Adapts Meta's Llama for Military and Security AI ApplicationsSunny Cheung — October 31, 2024
- 70newsChinese researchers develop AI model for military use on back of Meta's LlamaJames Pomfret et al. — November 1, 2024
- 71webMeta Opens Its AI Model for the U.S. MilitaryMatthew S. Smith — 17 November 2024
- 72webMeta's LLaMa license is not Open SourceStefano Maffulli — 20 July 2023
- 73webMeta's LLaMa license is still not Open SourceJordan Maris — 18 February 2025
- 74webMeta's new 'open source' Llama 2 AI model isn't so open after allRosalie Chan et al. — 19 July 2023
- 75webWhy Meta's 'open source' AI isn't all it seemsPascale Davies — 28 October 2024
- 76webOpen-source AI must reveal its training data, per new OSI definitionKylie Robison — 28 October 2024
- 77webLlama 3.1 Community License is not a free software licenseKrzysztof Siewicz — 24 January 2025
- 78webVarious Licenses and Comments about ThemFree Software Foundation
- 79webLlama and ChatGPT Are Not Open-SourceMichael Nolan — 27 July 2023
- 80journalWhy 'open' AI systems are actually closed, and why this mattersDavid Gray Widder et al. — 27 November 2024
- 81magazineMeta's Open Source Llama 3 Is Already Nipping at OpenAI's HeelsWill Knight
- 82webMeta's amped-up AI agents confusing Facebook users19 April 2024
- 83magazineMeta's New Llama 3.1 AI Model Is Free, Powerful, and RiskyWill Knight
- 84newsMeta under fire for 'polluting' open-sourceRichard Waters — October 17, 2024
- 85webIntroducing LLaMA: A foundational, 65-billion-parameter large language model24 February 2023
- 86arxivLLaMA: Open and Efficient Foundation Language ModelsHugo Touvron et al. — 2023
- 87webMeta's powerful AI language model has leaked online — what happens now?James Vincent — 8 March 2023
- 88webllama
- 89webLarge language models are having their Stable Diffusion momentSimon Willison — 11 March 2023
- 90webalpaca-lora
- 91webMeta has a new machine learning language model to remind you it does AI tooJay Peters et al. — 24 February 2023