Parameters
8B
Context Length
8K
Modality
Text
Architecture
Dense
License
Meta Llama 3 Community License Agreement
Release Date
18 Apr 2024
Knowledge Cutoff
Mar 2023
API Pricing (per 1M)
Input: $0.04 · Output: $0.14
VRAM requirements for different quantization methods and context sizes
1,024 tokens
Consumer
1x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
8,192 tokens
Consumer
1x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
Rank
#185
| Benchmark | Score | Rank |
|---|---|---|
General Text | 1223 | 152 |
Intelligence Index | 0.05 | 241 |
Overall Rank
#185
Coding Rank
-
Llama 3 8B is Meta's foundational open-weights language model pretrained on over 15T tokens for text generation, coding, and dialogue tasks. It features Grouped-Query Attention and an optimized 128K vocabulary for efficient inference.
Attention
Attention Structure
Grouped-Query Attention
Attention Heads
32
Key-Value Heads
8
Attention Head Dimension
-
Position Embedding
ROPE
RoPE Theta
-
Sliding Window Attention
-
Sliding Window Size
-
Sliding Window Ratio
-
Linear Attention
-
Linear Attention Ratio
-
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Hidden Dimension Size
4,096
Number of Layers
32
FFN Intermediate Size (Dense)
-
Multi-Token Prediction Heads
-
Tokenizer
Vocabulary Size
-
Meta's Llama 3 is a series of large language models utilizing a decoder-only transformer architecture. It incorporates a 128K token vocabulary and Grouped Query Attention for efficient processing. Models are trained on substantial public datasets, supporting various parameter scales and extended context lengths.
APX AI
Online