Baichuan2 logo

Baichuan2

baichuan-inc/Baichuan2

A series of large language models developed by Baichuan Intelligent Technology

GraphCanon updated 3d · GitHub synced 3d

4.1k stars294 forksLast push 1y Python Apache-2.0

Decision brief

- When to use: Excellent for tasks requiring deep understanding in multiple languages, especially Chinese. Suitable for applications that demand high performance across a wide range of benchmarks and domains. - When not

Good fit when

  • - Requires robust language processing capabilities, particularly for Chinese, as Baichuan2 has demonstrated superior performance on comprehensive Chinese language assessments such as C-Eval and CMMLU.

Avoid when

  • - Needs real-time feedback or interactive deployment in low-resource environments where high computational requirements may be prohibitive, given its large model size and complexity.

Observed Jul 9, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (647d since push)
As of 3d
Provenance
Not a fork · Organization account
As of 3d
Security (OSV)
No criticals
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Baichuan. Display-only - separate from trust and ranking.

Company
Baichuan Intelligent Technology·GitHub org profile·1mo
Commercial model
Pure OSS·GitHub org profile (public repos)·1mo

Install

pip install Baichuan2
PyPI

How it fits your stack(2)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

SuccessorIntegrates

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Baichuan 2 is a new generation of open-source large language models developed by Baichuan Intelligent Technology, trained on high-quality corpus with 2.6 trillion tokens.

Capability facts

Languages
python

Source: github.language · Aug 17, 2026

Categories

Graph entities

Tags

README

Baichuan 2

🤗 Hugging Face • 🤖 ModelScope • 💬 WeChat• 🧩 Modelers

Badge image

🚀 百小应APP已正式上线!懂搜索、会提问的AI助手,各大应用商店搜索百小应下载,欢迎下载体验 🎉

中文 | English

目录

  • 📖 模型介绍
  • 📊 Benchmark 结果 🥇🥇🔥🔥
  • ⚙️ 推理和部署
  • 🛠️ 模型微调
  • 💾 中间 Checkpoints 🔥🔥
  • 👥 社区与生态
  • 📜 声明、协议、引用

更新

[2023.12.29] 🎉🎉🎉 我们发布了 Baichuan2-13B-Chat v2 版本。其中:

  • 大幅提升了模型的综合能力,特别是数学和逻辑推理、复杂指令跟随能力。

模型介绍

  • Baichuan 2 是百川智能推出的新一代开源大语言模型,采用 2.6 万亿 Tokens 的高质量语料训练。
  • Baichuan 2 在多个权威的中文、英文和多语言的通用、领域 benchmark 上取得同尺寸最佳的效果。
  • 本次发布包含有 7B13BBaseChat 版本,并提供了 Chat 版本的 4bits 量化
  • 所有版本对学术研究完全开放。同时,开发者通过邮件申请并获得官方商用许可后,即可免费商用,请参考协议章节。
  • 欢迎阅读我们的技术报告 Baichuan 2: Open Large-scale Language Models 获取更多信息。

本次发布版本和下载链接见下表:

基座模型对齐模型对齐模型 4bits 量化
7B🤗 Baichuan2-7B-Base🤗 Baichuan2-7B-Chat🤗 Baichuan2-7B-Chat-4bits
13B🤗 Baichuan2-13B-Base🤗 Baichuan2-13B-Chat🤗 Baichuan2-13B-Chat-4bits

Benchmark 结果

我们在通用法律医疗数学代码多语言翻译六个领域的中英文和多语言权威数据集上对模型进行了广泛测试。

通用领域

在通用领域我们在以下数据集上进行了 5-shot 测试。

  • C-Eval 是一个全面的中文基础模型评测数据集,涵盖了 52 个学科和四个难度的级别。我们使用该数据集的 dev 集作为 few-shot 的来源,在 test 集上进行测试。我们采用了 Baichuan-7B 的评测方案。
  • MMLU 是包含 57 个任务的英文评测数据集,涵盖了初等数学、美国历史、计算机科学、法律等,难度覆盖高中水平到专家水平,是目前主流的 LLM 评测数据集。我们采用了开源的评测方案。
  • CMMLU 是一个包含 67 个主题的综合性性中文评估基准,专门用于评估语言模型在中文语境下的知识和推理能力。我们采用了其官方的评测方案。
  • Gaokao 是一个以中国高考题作为评测大语言模型能力的数据集,用以评估模型的语言能力和逻辑推理能力。 我们只保留了其中的单项选择题,并进行了随机划分。我们采用了与 C-Eval 类似的评测方案。
  • AGIEval 旨在评估模型的认知和解决问题相关的任务中的一般能力。 我们只保留了其中的四选一单项选择题,并进行了随机划分。我们采用了与 C-Eval 类似的评测方案。
  • BBH 是一个挑战性任务 Big-Bench 的子集。Big-Bench 目前包括 204 项任务。任务主题涉及语言学、儿童发展、数学、常识推理、生物学、物理学、社会偏见、软件开发等方面。BBH 是从 204 项 Big-Bench 评测基准任务中大模型表现不好的任务单独拿出来形成的评测基准。

7B 模型结果

C-EvalMMLUCMMLUGaokaoAGIEvalBBH
5-shot5-shot5-shot5-shot5-shot3-shot
GPT-468.4083.9370.3366.1563.2775.12
GPT-3.5 Turbo51.1068.5454.0647.0746.1361.59
LLaMA-7B27.1035.1026.7527.81

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.