Text Generation
Transformers
Safetensors
English
Chinese
ernie5_5_moe
ERNIE5.5
MoE
agent
Eval Results
8-bit precision
fp8
Run this model with HF Jobs
Run baidu/ERNIE-5.5-Flash-Preview on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use baidu/ERNIE-5.5-Flash-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baidu/ERNIE-5.5-Flash-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="baidu/ERNIE-5.5-Flash-Preview")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("baidu/ERNIE-5.5-Flash-Preview", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use baidu/ERNIE-5.5-Flash-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "baidu/ERNIE-5.5-Flash-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "baidu/ERNIE-5.5-Flash-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/baidu/ERNIE-5.5-Flash-Preview
- SGLang
How to use baidu/ERNIE-5.5-Flash-Preview with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "baidu/ERNIE-5.5-Flash-Preview" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "baidu/ERNIE-5.5-Flash-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "baidu/ERNIE-5.5-Flash-Preview" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "baidu/ERNIE-5.5-Flash-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use baidu/ERNIE-5.5-Flash-Preview with Docker Model Runner:
docker model run hf.co/baidu/ERNIE-5.5-Flash-Preview
Add evaluation results for ERNIE-5.5-Flash-Preview
#3
by SaylorTwift HF Staff - opened
YAML Metadata Error:Invalid content in Eval Result file .eval_results/ERNIE-5.5-Flash-Preview.yaml
Check out the documentation for more information.
Show details
Task ID "toolathlon_verified" does not match any task in dataset "hkust-nlp/Toolathlon". Available: none
YAML Metadata Error:Invalid content in Eval Result file .eval_results/ERNIE-5.5-Flash-Preview.yaml
Check out the documentation for more information.
Show details
Task ID "hle" does not match any task in dataset "cais/hle". Available: none
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768- dataset: id: harborframework/terminal-bench task_id: terminalbench_4 value: 46.5 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card"- dataset: id: datacurve/deep-swe task_id: deep_swe value: 71.2 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card" notes: "DeepSWE v1.1."- dataset: id: harborframework/terminal-bench-science task_id: terminalbenchscience_0_1 value: 21.0 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card"- dataset: id: mercor/apex-agents task_id: apex-agents value: 64.2 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card" notes: "APEX-Agents 1.1."- dataset: id: agents-last-exam/agents-last-exam task_id: ale-cli-pass-rate value: 29.0 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card"- dataset: id: benchflow/skillsbench task_id: skillsbench_v1_1 value: 73.5 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card" notes: "Text-only."- dataset: id: hkust-nlp/Toolathlon task_id: toolathlon_verified value: 75.0 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card"- dataset: id: cais/hle task_id: hle value: 46.4 date: "2026-11-24" source: url: https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview name: "ERNIE-5.5-Flash-Preview model card" notes: "Text-only subset, no tools.".eval_results/ERNIE-5.5-Flash-Preview.yamlAdded+68