ApX logoApX logo
CalculatorCoursesPricing

ERNIE-4.5-0.3B-Base

Open Source
Open Weights

Parameters

300M

Context Length

131K

Modality

Text

Architecture

Dense

KV Cache Rate

18 KB/tok

License

Apache License 2.0

Release Date

30 Jun 2025

Knowledge Cutoff

-

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 2.78 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 0.14 GB

KV Cache: 0.14 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

2.8 / 21.6 GB

1x RTX 3060 12GB

llama.cpp

2.8 / 11.2 GB

Apple M4 24GB

llama.cpp

2.8 / 18.0 GB

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

BF16

CUDA

13.0

PyTorch

2.14.0

Transformers

5.22.2

ArchitecturePrecisionKernel

Hopper

Native BF16

PyTorch SDPA

Architecture Diagram

Evaluation Benchmarks

No evaluation benchmarks for ERNIE-4.5-0.3B-Base available.

Rankings

Overall Rank

-

Coding Rank

-

About ERNIE-4.5-0.3B-Base

ERNIE-4.5-0.3B-Base is Baidu's open-source 360M parameter dense transformer base model designed for lightweight on-device pretraining and fine-tuning. It supports bilingual text generation across an extensive 131K token context window.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

16

Key-Value Heads

2

Attention Head Dimension

128

Position Embedding

Absolute Position Embedding

RoPE Theta

500,000

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Base Precision

BF16

Hidden Dimension Size

1,024

Number of Layers

18

FFN Intermediate Size (Dense)

3,072

Tokenizer

Vocabulary Size

103,424

About ERNIE 4.5

The Baidu ERNIE 4.5 family consists of ten large-scale multimodal models. They utilize a heterogeneous Mixture-of-Experts (MoE) architecture, which enables parameter sharing across modalities while also employing dedicated parameters for specific modalities, supporting efficient language and multimodal processing.


Other ERNIE 4.5 Models