alt.freeweights.text / ERNIE-4.5-0.3B-PT-GGUF
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.textSubject:

ERNIE-4.5-0.3B-PT-GGUF

Date: 2026-11-15Commit: 32b9743Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 5.39 GB in all. Published by unsloth under Apache-2.0.

text5.39GBERNIE-4.5-0.3B-PT-GGUFggufpermissive
FactsParamsnot statedSize5.39 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get unsloth/ERNIE-4.5-0.3B-PT-GGUF
# manifest sha256 cfdaa1765d57… · 5.39 GB · 21 files
$ fw verify ./ERNIE-4.5-0.3B-PT-GGUF unsloth/ERNIE-4.5-0.3B-PT-GGUF
From sourceHosted (signed)unsloth/ERNIE-4.5-0.3B-PT-GGUFLast check: 2026-11-15 05:03 UTC

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

Quantized of ERNIE-4.5-0.3B-PT.

Overview

Size
5.39 GB
Weights
184 MB (smallest of 19 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
21, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: baidu/ERNIE-4.5-0.3B-PT

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 05:03 UTCpassed

Model card

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

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/

Chat Hugging Face Github Blog

License

ERNIE-4.5-0.3B#

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
Using transformers library#

The following contains a code snippet illustrating how to use the model generate content based on given inputs.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "baidu/ERNIE-4.5-0.3B-PT"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], add_special_tokens=False, return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    model_inputs.input_ids,
    max_new_tokens=1024
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

# decode the generated ids
generate_text = tokenizer.decode(output_ids, skip_special_tokens=True).strip("\n")
print("generate_text:", generate_text)
vLLM inference#

vLLM is currently being adapted, priority can be given to using our forked repository vllm. We are working with the community to fully support ERNIE4.5 models, stay tuned.

vllm serve baidu/ERNIE-4.5-0.3B-PT --trust-remote-code

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

21 files · 5.39 GBWeights 184 MB (smallest of 19 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 21 files with their sha256
FileSizesha256
.gitattributes2.18 KBca3f393901f8429805cbb8426f67d5fd25e609ca9ecd0f3d1277efc7e1fe00c1
ERNIE-4.5-0.3B-PT-F16.gguf724 MB7dc17ec890cc0aaf1654e724eb45e232ef0945cb56a1cf1eb8e7cd9a09e0e9d7
ERNIE-4.5-0.3B-PT-Q2_K.gguf184 MB7907c3d76ad35a1c40c568efa0607d9b083a454365cc4c3b0b80ab52e4beed29
ERNIE-4.5-0.3B-PT-Q2_K_L.gguf184 MB7907c3d76ad35a1c40c568efa0607d9b083a454365cc4c3b0b80ab52e4beed29
ERNIE-4.5-0.3B-PT-Q3_K_M.gguf213 MB798f3f2878f702fe489012c26e7708589e54a649bcddfa09ebade8c6231a03dd
ERNIE-4.5-0.3B-PT-Q3_K_S.gguf199 MBb5dc56ee3b0d5e84162be25dbadd44f1bff58c01ac98a968fde4557449d862c8
ERNIE-4.5-0.3B-PT-Q4_0.gguf233 MB95acb8aaac992e3637bced4722ab4d4072b5381b6cd92eabf003d7c5f059a145
ERNIE-4.5-0.3B-PT-Q4_1.gguf249 MBdb6316902f34ee3eefd92c3e1c419215bdeb1ffa89b2c4a97083c02c7373b7df
ERNIE-4.5-0.3B-PT-Q4_K_M.gguf241 MB9842768d0fa26c6565611161c2d6135e79275a3726141478719cfa191cc670dd
ERNIE-4.5-0.3B-PT-Q4_K_S.gguf234 MBd369d5a476a2e9962fced622a6b9f69714c5e8165937b2b9bd3178fe87d3759f
ERNIE-4.5-0.3B-PT-Q5_K_M.gguf269 MBf6bdd700c4b088c07d600d6c1e4cb6fb9d1a63698b7d1546e24c2a93aac5ed7b
ERNIE-4.5-0.3B-PT-Q5_K_S.gguf265 MB64cd74be80a801303eecef9c79fff6099ad05b47d4a0ecd7f28391b20ff27f83
ERNIE-4.5-0.3B-PT-Q6_K.gguf298 MB1ef5743979de38524327542e39696202eb12c0c0a18f708719a82097ffba1fd1
ERNIE-4.5-0.3B-PT-Q8_0.gguf386 MBca1655e92ce4f0d6d7df5a003dbbf95aaf8767d8afcc1f5b33f9ac8e9571673c
ERNIE-4.5-0.3B-PT-UD-Q2_K_XL.gguf184 MB7907c3d76ad35a1c40c568efa0607d9b083a454365cc4c3b0b80ab52e4beed29
ERNIE-4.5-0.3B-PT-UD-Q3_K_XL.gguf213 MB798f3f2878f702fe489012c26e7708589e54a649bcddfa09ebade8c6231a03dd
ERNIE-4.5-0.3B-PT-UD-Q4_K_XL.gguf241 MB9842768d0fa26c6565611161c2d6135e79275a3726141478719cfa191cc670dd
ERNIE-4.5-0.3B-PT-UD-Q5_K_XL.gguf269 MBf6bdd700c4b088c07d600d6c1e4cb6fb9d1a63698b7d1546e24c2a93aac5ed7b
ERNIE-4.5-0.3B-PT-UD-Q6_K_XL.gguf324 MBc99cd4ee46b801208fa548e4a5ed41f7b05b1ef598fb7d66bbac721736408cea
ERNIE-4.5-0.3B-PT-UD-Q8_K_XL.gguf485 MB584f1f004fc190953555d12bfb5859953a5565955d8b6c86dd075aceec53d8c3
README.md8.34 KB0d014eb43d5bf7257093002006839815ddd3cac6e6c2058e49313e16fc945d46
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
32b9743ef4 pinned now2026-11-15 05:03 UTC21 files · 5.39 GB

Use it

$ fw get unsloth/ERNIE-4.5-0.3B-PT-GGUF
# manifest sha256 cfdaa1765d57… · 5.39 GB · 21 files
$ fw verify ./ERNIE-4.5-0.3B-PT-GGUF unsloth/ERNIE-4.5-0.3B-PT-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/ERNIE-4.5-0.3B-PT-GGUF.json --dir ./ERNIE-4.5-0.3B-PT-GGUF $ python3 fw.py verify ./ERNIE-4.5-0.3B-PT-GGUF ./unsloth__ERNIE-4.5-0.3B-PT-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/ERNIE-4.5-0.3B-PT-GGUF --revision 32b9743ef4cb56af53d71a6ab4b822d191ccb4fc --local-dir ./ERNIE-4.5-0.3B-PT-GGUF
llama.cppDownload one GGUF variant (ERNIE-4.5-0.3B-PT-Q2_K, 184 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/ERNIE-4.5-0.3B-PT-GGUF --include "ERNIE-4.5-0.3B-PT-Q2_K*" --local-dir ./ERNIE-4.5-0.3B-PT-GGUF $ llama-server -m ./ERNIE-4.5-0.3B-PT-GGUF/ERNIE-4.5-0.3B-PT-Q2_K.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./ERNIE-4.5-0.3B-PT-GGUF/ERNIE-4.5-0.3B-PT-Q2_K.gguf\n' > Modelfile $ ollama create ernie-4.5-0.3b-pt-gguf -f Modelfile

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
README.md
Text sha256
0d014eb43d5bf7257093002006839815ddd3cac6e6c2058e49313e16fc945d46
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: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.textSubject: ERNIE-4.5-0.3B-PT-GGUFDate: 2026-11-15Commit: 32b9743Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/ERNIE-4.5-0.3B-PT-GGUF
Pinned commit
32b9743ef4cb56af53d71a6ab4b822d191ccb4fc
Manifest
ERNIE-4.5-0.3B-PT-GGUF.json · .minisig
Manifest sha256
cfdaa1765d57e3b9d6b4e34726ad4f2882c16afe5c56eef94ad029e228b2aacb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:03 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/ERNIE-4.5-0.3B-PT-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/ERNIE-4.5-0.3B-PT-GGUF.json.minisig $ minisign -Vm ERNIE-4.5-0.3B-PT-GGUF.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

Parent

baidu/ERNIE-4.5-0.3B-PT · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/ERNIE-4.5-0.3B-PT-GGUF
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-PT-GGUF.json. Provenance. Takedown history: none.
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