Parameters
6B
Context Length
4K
Modality
Text
Architecture
Dense
KV Cache Rate
64 KB/tok
License
Apache 2.0
Release Date
2 Nov 2023
Knowledge Cutoff
Jun 2023
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 5.54 GB
INT4 · 4K context · 1 user
Base Weights: 2.79 GB
KV Cache: 0.25 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
5.5 / 21.6 GB
1x RTX 3060 12GB
5.5 / 11.2 GB
Apple M4 24GB
5.5 / 18.0 GB
Determine requirements for concurrent users or multi-node clusters:
Verified on hardware and checkpoint files.
Checkpoint format
BF16
CUDA
13.0
PyTorch
2.14.0
Transformers
≥ 4.40.1
| Architecture | Precision | Kernel |
|---|---|---|
Hopper | Native BF16 | FlashAttention-3 |
No evaluation benchmarks for Yi-6B available.
Overall Rank
-
Coding Rank
-
Yi-6B is a compact 6B parameter bilingual model developed by 01.AI for fast conversational AI, reasoning, and multilingual text processing. Released under Apache 2.0, it features Grouped-Query Attention across an extensible 200K context window.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
32
Key-Value Heads
4
Position Embedding
Absolute Position Embedding
RoPE Theta
5,000,000
Normalization
RMS Normalization
Activation Function
SwiGLU
Dimensions
Base Precision
BF16
Hidden Dimension Size
4,096
Number of Layers
32
FFN Intermediate Size (Dense)
11,008
Tokenizer
Vocabulary Size
64,000