ernie4_5

Model type

ernie4_5

Class

ErnieCausalLMModel

Task

text-generation

Source

models/ernie.py

Description

Ernie model with interleaved RoPE and compression ratio scaling.

Inherits the base CausalLMModel. RoPE scaling is handled via the ArchitectureConfig rope_scaling parameter.

Usage

mobius build --model <MODEL_ID> output_dir/
from mobius import build

model = build("<MODEL_ID>")