HƯỚNG DẪN công ty
Baidu ERNIE: Model Family, ERNIE Bot and Open Weights
ERNIE is Baidu's family of AI models, which began in 2019 as a knowledge-enhanced alternative to BERT and grew into the large multimodal models behind the ERNIE Bot chatbot.
Nghe hướng dẫn nàyAI thuật lại · ~9 min
Trên trang nàyđọc 10 phút
Tổng quan
It matters because it is one of China's longest-running foundation model lines, and since mid-2025 ten ERNIE 4.5 models have been released under the Apache 2.0 license.
Những điểm chính rút ra
- ERNIE began in April 2019 as a BERT-style model that masked whole entities and phrases to inject knowledge into Chinese language understanding.
- ERNIE 3.0 had 10 billion parameters, trained on 4 TB of text plus a knowledge graph, and topped SuperGLUE in July 2021.
- Baidu launched the ERNIE Bot chatbot on March 16, 2023 and made it free to individual users on March 16, 2025.
- Baidu open-sourced 10 ERNIE 4.5 models under Apache 2.0 in mid-2025, with a flagship mixture-of-experts model of 300 billion total and 47 billion active parameters.
- ERNIE 5.0, previewed at Baidu World on November 13, 2025, is a proprietary omni-modal model rather than an open-weight release.
Lặn sâu
ERNIE is the name Baidu uses for its family of large AI models. The name started as an acronym, Enhanced Representation through kNowledge IntEgration, and today covers research language models, large multimodal models, and the consumer chatbot ERNIE Bot. When someone says "ERNIE" without a version number, it is worth asking which one they mean, because a 2019 ERNIE model and a 2025 ERNIE model share a brand but little else in size, design or capability.
The first ERNIE paper, posted to arXiv on April 19, 2019 by Yu Sun and colleagues at Baidu, changed one part of BERT's recipe. BERT, Google's 2018 encoder model, learns by hiding random word pieces in a sentence and predicting them. ERNIE instead hid whole units of meaning. Entity-level masking hides a full named entity such as a person or place, which usually spans several tokens, and phrase-level masking hides a multi-word phrase that acts as one concept. To fill those gaps, the model has to use what it has learned about the world rather than guessing from neighboring characters. The authors reported state-of-the-art results on five Chinese tasks: natural language inference, semantic similarity, named entity recognition, sentiment analysis and question answering, plus better scores on a cloze test of factual knowledge.
ERNIE 2.0, posted in July 2019 and accepted at AAAI 2020, kept the idea of richer training signals but changed how they were added. It used continual multi-task pretraining: new pretraining tasks were introduced over time and learned alongside earlier ones so the model did not forget them. The tasks targeted lexical, syntactic and semantic information, such as named entities, how close two sentences are in meaning, and discourse relations between sentences. The paper reports that ERNIE 2.0 beat BERT and XLNet across 16 tasks, including the English GLUE benchmark and several Chinese datasets.
ERNIE 3.0, posted on July 5, 2021, scaled the approach to 10 billion parameters trained on a 4 TB corpus that combined plain text with a large knowledge graph. It also merged two families of design: an auto-encoding network, which reads text in both directions and is good at understanding, and an auto-regressive network, which predicts text left to right and is good at generation. The paper reports better results than prior models on 54 Chinese tasks, and says its English version ranked first on the SuperGLUE leaderboard on July 3, 2021 with a score of 90.6, above the 89.8 human baseline listed on that leaderboard.
The consumer era began on March 16, 2023, when Baidu presented ERNIE Bot in Beijing. The Associated Press reported that the demonstration used pre-recorded video rather than a live session, that CEO Robin Li said 650 companies had signed up, and that Baidu's Hong Kong shares fell as much as 10% during the presentation before closing down 6.4%. Li said the product was not yet perfected but was being released because of demand. Two years later, on March 16, 2025, Baidu announced ERNIE 4.5, described as a native multimodal foundation model for text, images, audio and video, and ERNIE X1, a reasoning model that can call tools such as search, document question answering and a code interpreter. The same release made ERNIE Bot free to individual users ahead of a planned April 1 date.
The largest change in strategy came at the start of July 2025, when TechNode reported that Baidu had open-sourced 10 ERNIE 4.5 models on Hugging Face, GitHub and its PaddlePaddle platform under the Apache 2.0 license, which allows research and commercial use subject to its terms. The flagship text model, ERNIE-4.5-300B-A47B, is a mixture-of-experts (MoE) model. An MoE model splits parts of the network into many smaller "experts" and uses a small router to send each token to only a few of them, so a model can hold many parameters while spending compute on only some of them. According to the model card, this model has 300 billion total parameters, 47 billion active per token, 54 layers, 64 text experts with 8 active per token, and a context window of 131,072 tokens. The broader family, per TechNode, ranges up to 424 billion total parameters and includes smaller MoE models with 3 billion active parameters and 0.3 billion parameter dense models; Baidu also reported training efficiency of up to 47% model FLOPs utilization. On November 13, 2025, at Baidu World 2025, Baidu previewed ERNIE 5.0, a proprietary model it describes as natively omni-modal, available in preview through ERNIE Bot and the Qianfan platform, according to eWeek.
Compared with alternatives, ERNIE's distinctive traits are its long focus on Chinese language tasks, its tight integration with Baidu's own stack (the PaddlePaddle deep learning framework, Baidu Search, and Baidu AI Cloud), and a mixed release policy in which some generations are open-weight and others are closed. Readers comparing it with Western models such as GPT, Claude or Gemini, or with other Chinese families such as Qwen and DeepSeek, should rely on independent benchmarks rather than launch claims. Baidu's March 2025 release said ERNIE 4.5 outperformed GPT-4.5 on multiple benchmarks without naming them in the release, and such statements are company claims rather than verified results.
There are practical limits to keep in mind. ERNIE Bot is built for the Chinese market and operates under Chinese content rules, so answers on politically sensitive topics can differ from those of models built elsewhere. Version names are easy to confuse: ERNIE, ERNIE Bot, ERNIE 4.5 and ERNIE X1 refer to different things. Open weights cover specific ERNIE 4.5 checkpoints, not every model Baidu serves, and ERNIE 5.0 was announced as proprietary. Like all large language models, ERNIE models can produce confident but wrong statements, so outputs that matter should be checked.
In practice there are three ways to use ERNIE. Individuals can use ERNIE Bot for free. Businesses can pay per token through Qianfan, where Baidu priced ERNIE X1 from RMB 0.002 per thousand input tokens and RMB 0.008 per thousand output tokens at launch. Teams that want control can self-host the open ERNIE 4.5 checkpoints, but the flagship needs serious hardware: the model card lists 16 GPUs with 80 GB each in bf16, or 8 such GPUs with FP8 quantization, while the smaller 3 billion active parameter models fit far more modest setups.
04Ví dụ hoạt động
Tracing what one ERNIE checkpoint can do before using it
Open the Hugging Face page for baidu/ERNIE-4.5-300B-A47B-PT and note the license field, which reads Apache 2.0.
Read the configuration table and record total parameters (300B), activated parameters (47B), layers (54) and context length (131,072 tokens).
Estimate memory: 300 billion weights at 2 bytes each in bf16 is about 600 GB, which explains the card's 16 x 80 GB GPU recommendation.
Compare with the FP8 option: about 1 byte per weight halves the memory to roughly 300 GB, matching the 8 x 80 GB setup.
Check whether the task needs images; if so, look instead at the ERNIE-4.5-VL checkpoints, since the 300B-A47B card is text only.
If the hardware is not available, compare the cost of the Qianfan API price per thousand tokens with renting GPUs for self-hosting.
Những gì nó cho thấy
A short decision note stating which ERNIE checkpoint fits the task, whether its license allows the intended use, and what hardware or API spend it requires. Check it against the model card numbers; the memory estimates should be within about 20% of the card's GPU recommendations once activations and cache are included.
Triển khai trong thế giới thực
Researchers studying pretraining objectives compare ERNIE 1.0's entity-level and phrase-level masking, described in the April 2019 arXiv paper, against BERT's random word masking on Chinese tasks such as named entity recognition and sentiment analysis.
Individual users in China chat with ERNIE 4.5 and the reasoning model ERNIE X1 at no cost through the ERNIE Bot website, which Baidu made free to individuals on March 16, 2025.
Enterprise developers call ERNIE 4.5 through Baidu AI Cloud's Qianfan model-as-a-service platform, where Baidu's March 2025 pricing started at RMB 0.004 per thousand input tokens and RMB 0.016 per thousand output tokens.
Teams that need self-hosted models download ERNIE-4.5-300B-A47B from Hugging Face under Apache 2.0 and serve it with vLLM on 16 GPUs of 80 GB in bf16, or 8 GPUs with FP8 quantization, per the model card.
Teams adapting an open ERNIE 4.5 model to their own data use Baidu's ERNIEKit toolkit for fine-tuning and FastDeploy for serving across hardware, the two companion tools TechNode reported alongside the July 2025 open-source release.
The Future of Baidu ERNIE: Model Family, ERNIE Bot and Open Weights
Several open questions shape where the ERNIE line goes next. The first is the balance between open and closed releases. Baidu published ERNIE 4.5 weights under Apache 2.0 in mid-2025, then announced ERNIE 5.0 in November 2025 as a proprietary, natively omni-modal model offered through ERNIE Bot and the Qianfan cloud platform, so it is not settled which future generations, if any, will ship open weights. The second is hardware. At the same November 2025 event, Baidu announced its Kunlunxin M100 and M300 AI chips, scheduled by the company for 2026 and 2027 respectively, according to eWeek. Whether future ERNIE models train and serve mainly on Baidu's own chips is a practical question for cost and supply. The third is evaluation. Baidu's launch materials compare ERNIE with GPT-4.5 and DeepSeek R1, but independent, reproducible tests in both Chinese and English remain the better guide, and the open ERNIE 4.5 checkpoints make such testing possible for anyone with the hardware. Research directions visible in Baidu's own descriptions include reasoning models that use tools, joint training across text, image, audio and video, and low-bit quantization for cheaper serving.
Đưa nó vào thực tế
Tại sao nó quan trọng
- Chiến lược nhà cung cấp. Lộ trình của nhà cung cấp ảnh hưởng đến những tính năng mà nhóm của bạn có thể xây dựng tiếp theo.
- Chi phí và ngân sách. Các điều khoản thương mại và các lựa chọn triển khai ảnh hưởng đến chi phí và rủi ro dài hạn.
- Rủi ro và an toàn. Các biện pháp khuyến khích của công ty định hình các tình trạng vỡ nợ của sản phẩm, trạng thái an toàn và tính cởi mở.
coi chừng
- Thông báo ra mắt có thể vượt xa sự ổn định trong quy trình sản xuất thực tế.
- Việc định giá API hoặc thay đổi chính sách có thể phá vỡ các giả định chỉ sau một đêm.
- Sự phụ thuộc vào một nhà cung cấp làm tăng chi phí khóa và di chuyển.
Các bước tiếp theo
- Đánh giá các nhà cung cấp bằng cách sử dụng các nhiệm vụ và bộ dữ liệu của riêng bạn.
- Xem lại các điều khoản về quyền riêng tư, bảo mật và pháp lý trước khi tích hợp.
- Duy trì kế hoạch dự phòng giữa các mô hình hoặc nhà cung cấp.
- Theo dõi ghi chú phát hành để những thay đổi về lộ trình không gây ngạc nhiên cho các nhóm.
Nguồn tham khảo và đọc thêm
- arXivERNIE: Enhanced Representation through Knowledge Integration
- arXiv (AAAI 2020)ERNIE 2.0: A Continual Pre-training Framework for Language Understanding
- arXivERNIE 3.0: Large-scale Knowledge Enhanced Pre-training for Language Understanding and Generation
- Associated Press (via News4JAX)Baidu unveils ChatGPT rival Ernie Bot; 650 companies sign up
- Baidu press release via PR Newswire (Taiwan News)Baidu Unveils ERNIE 4.5 and Reasoning Model ERNIE X1, Makes ERNIE Bot Free Ahead of Schedule
- TechNodeBaidu open sources ERNIE 4.5 series models including multimodal MoE architecture
- Hugging Face (Baidu)baidu/ERNIE-4.5-300B-A47B-PT model card
- eWeekBaidu Unveils ERNIE 5.0, New AI Chips
Tiếp tục khám phá
Bản tin miễn phí
Nhận bản tóm tắt AI hàng ngày
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Take the Baidu ERNIE: Model Family, ERNIE Bot and Open Weights quiz
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
Câu hỏi thường gặp
What is Baidu ERNIE: Model Family, ERNIE Bot and Open Weights?
ERNIE is Baidu's family of AI models, which began in 2019 as a knowledge-enhanced alternative to BERT and grew into the large multimodal models behind the ERNIE Bot chatbot. It matters because it is one of China's longest-running foundation model lines, and since mid-2025 ten ERNIE 4.5 models have been released under the Apache 2.0 license.
Công ty nào đã phát triển dòng mẫu ERNIE?
Bài báo ERNIE năm 2019 liệt kê các liên kết của tác giả Baidu. Điều này xác định công ty đằng sau bài báo đó mà không khẳng định Baidu là công cụ tìm kiếm được xếp hạng hàng đầu hoặc “hàng đầu”.
Trong mô hình ERNIE ban đầu năm 2019, việc che giấu kiến thức khác với việc che dấu mã thông báo của BERT như thế nào?
Bài viết gốc bổ sung tính năng che giấu cấp độ thực thể và cấp độ cụm từ cho việc học ở cấp độ từ, cho phép đào tạo trong các phạm vi ngữ nghĩa đa mã thông báo.
Baidu đã công bố tên trợ lý đàm thoại nào vào năm 2023?
Thông báo năm 2023 của Baidu đã đặt tên cho sản phẩm đàm thoại là ERNIE Bot (Wenxin Yiyan).
Từ viết tắt ERNIE nhấn mạnh điều gì?
ERNIE là viết tắt của Trình bày nâng cao thông qua Tích hợp kiến thức, nêu bật trọng tâm kiến thức của nó.
Bài báo ERNIE ban đầu đã báo cáo kết quả về bao nhiêu nhiệm vụ xử lý ngôn ngữ tự nhiên của Trung Quốc?
Bài báo ERNIE ban đầu báo cáo kết quả về năm nhiệm vụ NLP của Trung Quốc: suy luận ngôn ngữ tự nhiên, sự tương đồng về ngữ nghĩa, nhận dạng thực thể được đặt tên, phân tích tình cảm và trả lời câu hỏi.
Tiếp tục học hỏi
Hướng dẫn liên quan
Đã chọn thêm hướng dẫn cho chủ đề này