alt.freeweights.text / ERNIE-4.5-0.3B-Paddle
From: baidu <huggingface.co/baidu>Newsgroups: alt.freeweights.textSubject:

ERNIE-4.5-0.3B-Paddle

Date: 2026-11-15Commit: af54dcbSigned: 2DC28CC7B26A283B ✓

Text generation model with 361M parameters. Safetensors weights, 723 MB in all. Published by baidu under Apache-2.0.

361M params723MBERNIE-4.5-0.3B-Paddlesafetensorspermissive
FactsParams361MSize723 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get baidu/ERNIE-4.5-0.3B-Paddle
# manifest sha256 10348bbdd789… · 723 MB · 10 files
$ fw verify ./ERNIE-4.5-0.3B-Paddle baidu/ERNIE-4.5-0.3B-Paddle
From sourceHosted (signed)baidu/ERNIE-4.5-0.3B-PaddleLast check: 2026-11-15 03:49 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
723 MB
Weights
722 MB (safetensors)
Parameters
361M
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
baidu
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:49 UTCpassed

Model card

From the publisher at commit af54dcb. Shown as plain text with links; images open at the publisher.

Chat Hugging Face Github Blog Discord X

License

ERNIE-4.5-0.3B#

Note. Note: "-Paddle" models use PaddlePaddle weights, while "-PT" models use Transformer-style PyTorch weights.

ERNIE 4.5 Highlights#

The advanced capabilities of the ERNIE 4.5 models, particularly the MoE-based A47B and A3B series, are underpinned by several key technical innovations:

  1. Multimodal Heterogeneous MoE Pre-Training: Our models are jointly trained on both textual and visual modalities to better capture the nuances of multimodal information and improve performance on tasks involving text understanding and generation, image understanding, and cross-modal reasoning. To achieve this without one modality hindering the learning of another, we designed a heterogeneous MoE structure, incorporated modality-isolated routing, and employed router orthogonal loss and multimodal token-balanced loss. These architectural choices ensure that both modalities are effectively represented, allowing for mutual reinforcement during training.
  2. Scaling-Efficient Infrastructure: We propose a novel heterogeneous hybrid parallelism and hierarchical load balancing strategy for efficient training of ERNIE 4.5 models. By using intra-node expert parallelism, memory-efficient pipeline scheduling, FP8 mixed-precision training and finegrained recomputation methods, we achieve remarkable pre-training throughput. For inference, we propose multi-expert parallel collaboration method and convolutional code quantization algorithm to achieve 4-bit/2-bit lossless quantization. Furthermore, we introduce PD disaggregation with dynamic role switching for effective resource utilization to enhance inference performance for ERNIE 4.5 MoE models. Built on PaddlePaddle, ERNIE 4.5 delivers high-performance inference across a wide range of hardware platforms.
  3. Modality-Specific Post-Training: To meet the diverse requirements of real-world applications, we fine-tuned variants of the pre-trained model for specific modalities. Our LLMs are optimized for general-purpose language understanding and generation. The VLMs focuses on visuallanguage understanding and supports both thinking and non-thinking modes. Each model employed a combination of Supervised Fine-tuning (SFT), Direct Preference Optimization (DPO) or a modified reinforcement learning method named Unified Preference Optimization (UPO) for post-training.

Model Overview#

ERNIE-4.5-0.3B is a text dense Post-trained model. The following are the model configuration details:

KeyValue
ModalityText
Training StagePosttraining
Params0.36B
Layers18
Heads(Q/KV)16 / 2
Context Length131072

Quickstart#

Model Finetuning with ERNIEKit#

ERNIEKit is a training toolkit based on PaddlePaddle, specifically designed for the ERNIE series of open-source large models. It provides comprehensive support for scenarios such as instruction fine-tuning (SFT, LoRA) and alignment training (DPO), ensuring optimal performance.

Usage Examples:

# Download Model
huggingface-cli download baidu/ERNIE-4.5-0.3B-Paddle --local-dir baidu/ERNIE-4.5-0.3B-Paddle
# SFT
erniekit train examples/configs/ERNIE-4.5-0.3B/sft/run_sft_8k.yaml
# DPO
erniekit train examples/configs/ERNIE-4.5-0.3B/dpo/run_dpo_8k.yaml

For more detailed examples, including SFT with LoRA, multi-GPU configurations, and advanced scripts, please refer to the examples folder within the ERNIEKit repository.

FastDeploy Inference#

Service deployment can be quickly completed using FastDeploy in the following command. For more detailed usage instructions, please refer to the FastDeploy Repository.

python -m fastdeploy.entrypoints.openai.api_server \
       --model baidu/ERNIE-4.5-0.3B-Paddle \
       --port 8180 \
       --metrics-port 8181 \
       --engine-worker-queue-port 8182 \
       --max-model-len 32768 \
       --max-num-seqs 32

License#

The ERNIE 4.5 models are provided under the Apache License 2.0. This license permits commercial use, subject to its terms and conditions. Copyright (c) 2025 Baidu, Inc. All Rights Reserved.

Citation#

If you find ERNIE 4.5 useful or wish to use it in your projects, please kindly cite our technical report:

@misc{ernie2025technicalreport,
      title={ERNIE 4.5 Technical Report},
      author={Baidu ERNIE Team},
      year={2025},
      eprint={},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={}
}

Files

10 files · 723 MBWeights 722 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.4 KB5d7deeaff0d6f92ef5c74658a46e4750ccbcd0602efcdfd24cd7ec6ae7c822f9
README.md6.68 KBb85d35ed9957d4fc8d3e2c98dda001192ed434ffecc763c3c698d1ba63a89386
added_tokens.json23.1 KBda47e5aa0159063c5dc4ec67879a88e8a5b3f37fcab3055ca47461bb2675d205
config.json556 B773e612740ccee12356ef6954795a73645661b4b9e63c02655bab68ec48dd1e4
generation_config.json125 B30314d99c360ebaa84ea4edb18f39aff2f29da5f14443673a152910f7d251565
model.safetensors722 MB773a67ae337580ec456573ea07e2334c463437c32e6a81838170b8a9c6696385
special_tokens_map.json15.4 KBcc13d82950d679a01b61764c0995fbecc730b260dd190870bb2e0c8eec81cedc
tokenizer.model1.61 MB34ef7db83df785924fb83d7b887b6e822a031c56e15cff40aaf9b982988180df
tokenizer_config.json1.25 KBf998408df687700a353ee00af0b40a897e65777a45c888ff30d3b215d2be5755
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
af54dcb5fd pinned now2026-11-15 03:49 UTC10 files · 723 MB

Use it

$ fw get baidu/ERNIE-4.5-0.3B-Paddle
# manifest sha256 10348bbdd789… · 723 MB · 10 files
$ fw verify ./ERNIE-4.5-0.3B-Paddle baidu/ERNIE-4.5-0.3B-Paddle
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/baidu/ERNIE-4.5-0.3B-Paddle.json --dir ./ERNIE-4.5-0.3B-Paddle $ python3 fw.py verify ./ERNIE-4.5-0.3B-Paddle ./baidu__ERNIE-4.5-0.3B-Paddle.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download baidu/ERNIE-4.5-0.3B-Paddle --revision af54dcb5fdab12be3de8b9bdc1613e197c1e1977 --local-dir ./ERNIE-4.5-0.3B-Paddle
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("baidu/ERNIE-4.5-0.3B-Paddle", revision="af54dcb5fdab12be3de8b9bdc1613e197c1e1977") model = AutoModelForCausalLM.from_pretrained("baidu/ERNIE-4.5-0.3B-Paddle", revision="af54dcb5fdab12be3de8b9bdc1613e197c1e1977", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve baidu/ERNIE-4.5-0.3B-Paddle --revision af54dcb5fdab12be3de8b9bdc1613e197c1e1977

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
5d7deeaff0d6f92ef5c74658a46e4750ccbcd0602efcdfd24cd7ec6ae7c822f9
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: baidu <huggingface.co/baidu>Newsgroups: alt.freeweights.textSubject: ERNIE-4.5-0.3B-PaddleDate: 2026-11-15Commit: af54dcbSigned: 2DC28CC7B26A283B ✓
Upstream
baidu/ERNIE-4.5-0.3B-Paddle
Pinned commit
af54dcb5fdab12be3de8b9bdc1613e197c1e1977
Manifest
ERNIE-4.5-0.3B-Paddle.json · .minisig
Manifest sha256
10348bbdd789959c4d3b98976545aa82d312c4997bf7bc5a5118ce815bd522ff
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:49 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/baidu/ERNIE-4.5-0.3B-Paddle.json $ curl -O https://freeweights.allternit.com/manifests/baidu/ERNIE-4.5-0.3B-Paddle.json.minisig $ minisign -Vm ERNIE-4.5-0.3B-Paddle.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download baidu/ERNIE-4.5-0.3B-Paddle
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. ERNIE-4.5-0.3B-Paddle.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of ERNIE-4.5-0.3B-Paddle. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B