Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool
Models and algorithms

LLaMA Series

About 3046 characters Updated Nov 30, 2026 26 views AI wiki

LLaMA (Large Language Model Meta AI) is a series of open-weight language models released by Meta in February 2023, known for "stronger results with fewer parameters." It broke the assumption that "top models must be closed" and directly seeded the global open-source large-model ecosystem, the dominant open thread since 2023.

Core Principles

The first LLaMA used a Transformer decoder with RMSNorm, SwiGLU, rotary position embedding (RoPE) and a GPT-like autoregressive objective. Sizes were 7B, 13B, 33B and 65B, trained on about 1 trillion tokens, mostly English plus dozens of other languages including Chinese, French and Spanish. The paper claimed 13B beat GPT-3 (175B) on most benchmarks, and the "small beats large" result drew wide attention.

LLaMA 2 (July 2023) was the turning point: Meta first allowed commercial use (free under 700M monthly users), shipped a dialogue-tuned version, raised tokens to 2 trillion and context to 4096. LLaMA 3 (April 2024) launched 8B and 70B, widened the vocabulary to 128K for more languages and used grouped-query attention (GQA) to cut inference memory; a 405B version followed in July, among the largest open-weight models then. LLaMA 3.1 added 128K context and offered 8B, 70B and 405B, a full ladder from edge to data center.

The biggest change was data, not architecture: LLaMA 3 used over 15 trillion tokens, more than seven times the second generation, with heavy code and math data for reasoning. Meta also discussed deduplication, quality classifiers and multilingual mixing, rare transparency amid closed-source secrecy.

Key Points

Ecosystem effect: after weights leaked, Alpaca, Vicuna and Llama-Chinese proliferated, forming a cheap loop of "base plus instruction tuning plus LoRA." Teams could adapt to vertical domains on one multi-GPU machine, cutting the deployment barrier from tens of millions to hundreds of thousands in budget.

Open source shifts responsibility: once weights are public, harmful use or privacy leakage in fine-tuned models falls on the deployer, not the publisher. Adopters must build their own moderation and compliance; alignment is not built in.

License terms: from LLaMA 2 the models use a community license, not Apache, with terms on commercial scale and redistribution that enterprises must check.

Gap with closed source: on complex reasoning, long-chain tasks and multimodality, open models trail top closed ones by six months to a year, but win on cost-effectiveness and private deployment.

Training details: LLaMA 3 stressed quality filtering and deduplication, showing data engineering beats endless volume.

Inference optimization: with quantization (INT4/INT8), speculative decoding and vLLM, 70B-class models serve concurrent traffic on one eight-GPU server, the real edge of the open route.

Version cadence: about one generation a year from 2023 to 2024, each strengthening Chinese and code, so evaluating an old version is risky and the exact version must be checked when selecting.

Common Misconceptions

Misconception one: LLaMA is fully free Apache; the license is custom with conditions. Misconception two: parameter count equals capability; the 7B to 70B gap is stark in professional domains, so match complexity. Misconception three: ignoring Chinese ability; the first two generations were mediocre in Chinese, needing continued pretraining or a Chinese-optimized version.

Application Scenarios

Private deployment, enterprise knowledge base QA, code assistants, vertical fine-tuning, edge and on-device inference, academic baselines, and open-source secondary development.