
ernie4_5
Language1,289 ops360.7M params
A language model from baidu's ERNIE series.
Language · 304 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
transformers.AutoModelForMaskedLM.from_config()
This model is ERNIE with a masked language modeling head, which predicts the token at a [MASK] position.
About this model's family
ERNIE1.0, ERNIE2.0, ERNIE3.0, ERNIE-Gram and ERNIE-health are a series of language models proposed by baidu, aimed especially at Chinese tasks. The name stands for Enhanced Representation through kNowledge IntEgration: the models learn language representations with knowledge masking strategies, which include entity-level masking and phrase-level masking. Variants are available in different sizes and languages.
Ernie 4.5 is another release by baidu, a group of models with multiple different architectures and model sizes. The Ernie 4.5 model in this library is the base text model without mixture of experts, which the library describes as having 0.3B parameters in total, and it uses the standard Llama at its core.
Key idea. ERNIE learns language representations enhanced by knowledge masking strategies, which include entity-level masking and phrase-level masking.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.