ApX logoApX logo
CalculatorCoursesPricing

Yi-34B

Open Source
Open Weights

Parameters

34B

Context Length

4K

Modality

Text

Architecture

Dense

KV Cache Rate

240 KB/tok

License

Apache 2.0

Release Date

2 Nov 2023

Knowledge Cutoff

Jun 2023

API Pricing (per 1M)

Input: $0.90 · Output: $0.90

Hardware & System Requirements

Precision

Context

Workload Memory: 19.27 GB

vLLM

INT4 · 4K context · 1 user

Base Weights: 15.83 GB

KV Cache: 0.94 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

19.3 / 21.6 GB

1x RTX 4090 24GB

llama.cpp

19.3 / 22.3 GB

Apple M3 Pro 36GB

llama.cpp

19.3 / 27.0 GB

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.34.0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Evaluation Benchmarks

Rank

#247

BenchmarkScoreRank

General Text

Text Arena

1183.85

#191

Rankings

Overall Rank

#247

Coding Rank

-

About Yi-34B

Yi-34B is a foundational bilingual model developed by 01.AI, pretrained on 3T multilingual tokens for advanced English and Chinese text comprehension. It features Grouped-Query Attention and supports context lengths extending up to 200K tokens.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

56

Key-Value Heads

8

Position Embedding

Absolute Position Embedding

RoPE Theta

5,000,000

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

7,168

Number of Layers

60

FFN Intermediate Size (Dense)

20,480

Tokenizer

Vocabulary Size

64,000

About Yi

Yi series models are large language models trained from scratch by 01.AI. Bilingual (English/Chinese), featuring strong performance in language understanding, reasoning, and code generation.


Other Yi Models