# InternLM（模型系列）

InternLM 是由[上海人工智能实验室](https://www.edgepedia.org/zh/shanghai-artificial-intelligence-laboratory)（Shanghai Artificial Intelligence Laboratory）开发的一系列开放权重大语言模型，于 2023 年首次发布，此后陆续推出 InternLM2、InternLM2.5 和 InternLM3 几代产品。第一代模型与商汤（SenseTime）及三所高校联合构建。该系列还包括一条视觉语言产品线（InternLM-XComposer）和奖励模型，并配有围绕 [OpenCompass](https://www.edgepedia.org/zh/opencompass) 评估框架构建的开源工具链。本文介绍该模型系列及其已公开的架构与训练、许可和工具链。实验室本身、其创始人以及基于这些模型构建的消费级产品另文介绍。

| 事实 | 详情 |
|---|---|
| 开发者 | 上海人工智能实验室；首个模型与商汤、香港中文大学、复旦大学和上海交通大学联合开发<sup>[1](https://github.com/internlm/internlm-techreport)</sup> |
| 首次发布 | InternLM，一个 104B 参数的多语言模型，在 1.6T token 上预训练（2023 年）<sup>[1](https://github.com/internlm/internlm-techreport)</sup> |
| 开放权重规模 | 各代涵盖 1.8B、7B、8B、20B<sup>[2](https://arxiv.org/pdf/2403.17297)</sup><sup> • </sup><sup>[3](https://github.com/internLM/internLM/)</sup> |
| 最新收录版本 | InternLM3-8B-Instruct，2025 年 1 月 15 日<sup>[3](https://github.com/internLM/internLM/)</sup> |
| 许可 | 代码采用 Apache-2.0；权重开放用于研究并可免费商用，需填写商业许可申请表<sup>[4](https://huggingface.co/internlm/internlm2-7b)</sup> |
| 预训练规模（InternLM2） | 分三阶段共 2.0T–2.6T token，混合英文、中文和代码<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> |
| 评估工具 | OpenCompass，覆盖五个能力维度<sup>[3](https://github.com/internLM/internLM/)</sup> |

## InternLM 是什么

第一代 InternLM 在其技术报告中被描述为一个 104B 参数的多语言基础语言模型，在 1.6T token 的语料上以多阶段渐进式流程预训练。它由上海人工智能实验室与商汤以同等贡献联合开发，香港中文大学、复旦大学和上海交通大学参与合作。<sup>[1](https://github.com/internlm/internlm-techreport)</sup> 为该模型构建的训练系统名为 Uniscale-LLM。<sup>[1](https://github.com/internlm/internlm-techreport)</sup>

从第二代开始，这些模型作为实验室 Intern 系列的开源产品线呈现，权重和代码发布在 [Hugging Face](https://www.edgepedia.org/zh/hugging-face)、ModelScope 和 Modelers 上，开发过程在公开的 GitHub 仓库中追踪。<sup>[3](https://github.com/internLM/internLM/)</sup><sup> • </sup><sup>[5](https://internlm.readthedocs.io/en/latest/model_card/InternLM3.html)</sup>

## 发布历程与版本

公开记录的发布情况如下：

- **InternLM（第一代，2023 年）。** 技术报告描述了 104B 基础模型。开放权重的发布随后以更小规模跟进：InternLM 20B 基础模型于 2023-09-20 发布，InternLM Chat 20B 于 2023-12-12 发布。<sup>[6](https://internlm.readthedocs.io/en/latest/model_card/InternLM.html)</sup> 2023 年还在 Hugging Face 上发布了 7B 模型的权重。<sup>[7](https://huggingface.co/internlm/internlm-7b)</sup>
- **InternLM2（2024 年 3 月）。** 技术报告涵盖 1.8B、7B 和 20B 参数规模。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup>
- **InternLM2.5（2024 年 7 月至 8 月）。** InternLM2.5-7B、7B-Chat 和 7B-Chat-1M 于 2024-07-03 发布；1.8B 和 20B 变体及 Chat 版本于 2024-08-05 跟进。<sup>[3](https://github.com/internLM/internLM/)</sup> InternLM2-Reward 奖励模型（1.8B、7B 和 20B 规模）于 2024-07-19 发布。<sup>[3](https://github.com/internLM/internLM/)</sup>
- **InternLM3（2025 年 1 月）。** InternLM3-8B-Instruct 是一个 80 亿参数的指令模型，面向通用用途和高级推理，于 2025-01-15 发布。<sup>[3](https://github.com/internLM/internLM/)</sup>

资料来源未覆盖的内容：本文检索到的证据库中没有关于 2025 年 1 月之后所发布版本的文档记录。该时期有时被归入该系列的一些发布，例如 Intern-S1 推理模型，本文使用的任何来源均未涉及，因此本文不对其作出任何陈述。

## 已公开的架构与训练

以下所有架构和训练细节均为厂商报告，取自实验室的技术报告和模型卡。

**参数规模与层数。** InternLM2 报告指定了三种规模：1.8B 模型有 24 层，隐藏维度 2048；7B 模型有 32 层，隐藏维度 4096；20B 模型有 48 层，隐藏维度 6144，均使用 8 个 KV 头。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> 第一代 InternLM-20B 采用了刻意加深的 60 层架构，模型卡将其与 7B 和 13B 模型常规的 32 层或 40 层作对比。<sup>[6](https://internlm.readthedocs.io/en/latest/model_card/InternLM.html)</sup>

**预训练数据。** InternLM2 的 1.8B、7B 和 20B 模型分别在 2.0T 至 2.6T token 的总量上预训练，分为三个不同阶段，每个阶段的数据均混合英文、中文和代码。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> InternLM-20B 曾在超过 2.3T token 的高质量英文、中文和代码数据上预训练。<sup>[6](https://internlm.readthedocs.io/en/latest/model_card/InternLM.html)</sup> 对于 InternLM3，仓库声明该模型仅在 4 万亿高质量 token 上训练，厂商称与其他同等规模的 LLM 相比，这节省了超过 75% 的训练成本。<sup>[3](https://github.com/internLM/internLM/)</sup>

**优化与长上下文。** InternLM2 使用 [AdamW](https://www.edgepedia.org/zh/adamw) 优化，β1=0.9、β2=0.95、ε=1e-8，权重衰减 0.1，采用余弦学习率衰减。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> 长上下文建模首先在 4k token 上训练，然后扩展到 32k，报告称该模型通过了 200k token 的“大海捞针”（Needle-in-a-Haystack）测试。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> 后来的 InternLM2.5-Chat-1M 变体支持 1M token 的长上下文，厂商声称其性能与 InternLM2.5-Chat 相当。<sup>[3](https://github.com/internLM/internLM/)</sup>

**对齐。** InternLM2 引入了条件在线人类反馈强化学习（COOL RLHF）策略，报告称该策略解决了人类偏好冲突和奖励黑客问题，同时配合监督微调。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup> InternLM3 支持两种响应模式：使用长思维链推理的深度思考模式和普通响应模式。<sup>[3](https://github.com/internLM/internLM/)</sup>

已发布的报告并未披露复现者所需的全部信息；例如，本文检索到的证据中没有分词器规格或完整的数据构成，除上述 token 数量外也没有计算预算。

## 基准测试：仅限厂商声明

本文可获得的每项性能声明均来自开发者本身；证据库中没有独立评估（OpenCompass 排行榜、LMSYS Arena 或第三方基准测试），因此无法在此交叉核验厂商数据。

- 首份 InternLM 报告声称该模型“不仅显著优于开源模型，而且相比 ChatGPT 也获得了更优的性能”。<sup>[1](https://github.com/internlm/internlm-techreport)</sup>
- InternLM 仓库声明 InternLM3“在推理和知识密集型任务上的最先进性能超越了 Llama3.1-8B 和 Qwen2.5-7B 等模型”。
- InternLM2 报告描述了在 6 个维度和 30 个基准测试上超越前代模型。<sup>[2](https://arxiv.org/pdf/2403.17297)</sup>
- 实验室自己的评估方法使用开源 OpenCompass 工具，覆盖五个能力维度：学科、语言、知识、推理和理解。<sup>[3](https://github.com/internLM/internLM/)</sup>

解读这些声明：每项都是厂商关于自身模型的陈述，而与 ChatGPT、Llama3.1-8B 和 Qwen2.5-7B 的比较均来自训练该模型的同一方。

## 许可、可用性与工具链

**许可。** 整个系列的代码均采用 Apache-2.0 许可。模型权重被描述为完全开放用于学术研究，也允许免费商业使用，其他情况需填写商业许可申请表；这一措辞出现在 InternLM-7B、InternLM2-7B 的 Hugging Face 页面上，以及主仓库的声明中：“代码和模型权重均采用 Apache-2.0 许可。”<sup>[4](https://huggingface.co/internlm/internlm2-7b)</sup><sup> • </sup><sup>[7](https://huggingface.co/internlm/internlm-7b)</sup><sup> • </sup><sup>[3](https://github.com/internLM/internLM/)</sup>

**可用性。** InternLM3-8B-Instruct 的权重可通过 [Hugging Face Transformers](https://www.edgepedia.org/zh/hugging-face-transformers)、ModelScope 和 Modelers 获取。<sup>[5](https://internlm.readthedocs.io/en/latest/model_card/InternLM3.html)</sup> 早期各代在 Hugging Face 上以 internlm 组织名义分发。<sup>[4](https://huggingface.co/internlm/internlm2-7b)</sup><sup> • </sup><sup>[7](https://huggingface.co/internlm/internlm-7b)</sup>

**工具链。** 官网将 InternLM-7B 描述为免费商用开源，并配有“一套全面的开源工具链”。<sup>[8](https://internlm.intern-ai.org.cn/developers/community)</sup> 检索证据中唯一有记载的工具链组件是 OpenCompass，即用于该系列基准测试报告的开源评估框架。<sup>[3](https://github.com/internLM/internLM/)</sup> 有时与该生态系统关联的组件，如 LMDeploy、XTuner 和 InternEvo，在本文使用的来源中没有描述，因此不予涵盖。

**多模态产品线。** InternLM-XComposer2.5 是一个基于 InternLM2.5-7B 的视觉语言模型，能够根据大纲、详细文本要求和参考图像灵活生成图文文章，并处理视觉语言问答。<sup>[8](https://internlm.intern-ai.org.cn/developers/community)</sup> 官网将最初的 InternLM-XComposer 描述为“首个用于图文一体化创作的大规模模型”，这是厂商的定性描述。<sup>[8](https://internlm.intern-ai.org.cn/developers/community)</sup>

## References

1. [InternLM technical report repository (first-generation InternLM, 104B)](https://github.com/internlm/internlm-techreport)
2. [InternLM2 technical report (arXiv)](https://arxiv.org/pdf/2403.17297)
3. [InternLM/InternLM — Official GitHub repository of the InternLM series](https://github.com/internLM/internLM/)
4. [internlm/internlm2-7b — Hugging Face](https://huggingface.co/internlm/internlm2-7b)
5. [InternLM3 model card (readthedocs)](https://internlm.readthedocs.io/en/latest/model_card/InternLM3.html)
6. [InternLM model card (readthedocs)](https://internlm.readthedocs.io/en/latest/model_card/InternLM.html)
7. [internlm/internlm-7b on Hugging Face](https://huggingface.co/internlm/internlm-7b)
8. [InternLM community/developers page (official site)](https://internlm.intern-ai.org.cn/developers/community)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 18, 2026 · Edited: Sep 18, 2026; Oct 11, 2026 · Last review: Sep 18, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Large language model families › Open-weight model families

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/internlm-model-family

English original: https://www.edgepedia.org/internlm-model-family
