Skip to content

Models & products

Baidu opens ERNIE 5.5 Flash Preview for self-hosting under Apache 2.0

Edited and reviewed by AI Ping Editorial Team

Key points

  1. The Apache 2.0 terms for the Preview weights allow use in places excluded by the Base model’s license, including South Korea.
  2. Weight files total 165.9 GB for the default download, 301.9 GB for FP8 and 599.6 GB for BF16.
  3. Baidu published deployment options for serving the model and recommends the BF16 edition for teams that want to fine-tune it.
IntermediateDevelopers
A hand slides a metal storage caddy into an open bay at the front of a compact server.
AI-generated conceptual image · A storage caddy slides into a server bay, illustrating how a team can keep the downloaded weights on its own equipment. · AI Ping

Baidu has released the weights behind ERNIE 5.5 Flash Preview, giving developers a way to run the language model on their own servers. The Preview license covers use in South Korea, a market excluded by Baidu’s separate terms for the Base model. On November 24, Baidu and the vLLM team published their guide to serving the Preview from those weights.

When Baidu introduced the Preview on November 11, developers could send requests to a hosted API. The company said downloadable weights would follow. The default Hugging Face repository shows file uploads on November 23. By November 24, all three editions were available. A team can now choose the machines that process its requests and adapt the model with its own examples.

Two licenses in one model family

Flash Base is the model produced by pretraining. Baidu did further training on it to produce the Preview. The Base agreement excludes the European Union, the United Kingdom and South Korea from its licensed territory. That limit extends to distributing modified versions. Baidu says the Base weights remain subject to that agreement.

The Preview weights carry Apache License 2.0, which grants worldwide rights to reproduce and modify the work. Anyone distributing a modified version must give recipients a copy of the license, mark changed files and retain relevant copyright notices. Baidu identifies the Preview weights as the part of this release covered by those terms.

Separate paper documents sit inside a blue folder labeled BASE and a terracotta folder labeled PREVIEW.
AI-generated conceptual image · Separate folders marked Base and Preview illustrate the two sets of terms attached to the model weights. · AI Ping

Three downloads, starting at 165.9 GB

We added up the published sizes of the safetensors weight files in Baidu’s three Hugging Face repositories. At one billion bytes per gigabyte, the totals come to 165.9 GB for the default version, 301.9 GB for FP8 and 599.6 GB for BF16. These figures exclude documentation and configuration files. A running server also needs memory for the conversations it is processing.

The default edition stores groups of parameters called routed experts in a four-bit format and uses eight bits for other weights. This packs the same model into a smaller download. Baidu also offers the FP8 and BF16 editions for hardware without the four-bit operations the default edition needs.

The distinction matters for a model with 280 billion parameters that activates 14 billion for each token. A different input can call on different experts. The server needs access to those other weights even when they sit out a particular calculation.

Horizontal bars on the same scale show 165.9 GB for mixed precision, 301.9 GB for FP8 and 599.6 GB for BF16.
Graphic · Bars compare weight file totals in Baidu’s repositories on one scale. The BF16 download is about 3.6 times the size of the default edition. · AI Ping

Baidu and vLLM demonstrate serving the default weights on one machine with four GPUs. A small companion model proposes up to seven tokens at a time for the main model to check. The teams report an average accepted length above four tokens in their tests on coding and agent workloads.

The service operator also chooses how much text a request can contain. The Preview supports up to 1,048,576 tokens of context, while Baidu’s example settings start at 131,072. A server intended to take longer documents needs a higher configured limit. The model itself takes text in and returns text. The 3D scenes Baidu showed at the original launch were examples of it working with external tools.

For teams that want to teach the model a particular task, Baidu recommends starting from BF16. NVIDIA’s ERNIE 5.5 fine-tuning example loads a model configuration and its weights and can take pairs of inputs and desired answers. One published configuration for tuning the entire model uses 16 servers with four GB200 GPUs apiece, or 64 GPUs altogether.

NVIDIA’s example accepts separate files for training, validation and testing. If the latter two are omitted, evaluation reads the same examples the model saw during training. The resulting loss measures how well the model fits those familiar answers. A separate evaluation file lets the team test it on questions it held back.

Sources