InternLM is the open-source release project of the Shusheng·Puyu series of large language models, hosted on GitHub, developed by the InternLM team, and licensed under Apache-2.0, with both code and model weights available for commercial applications.
[Main Versions and Uses] The project has released four generations of models: InternLM, InternLM2, InternLM2.5, and InternLM3. InternLM3-8B-Instruct is an 8-billion-parameter instruction model aimed at general scenarios and advanced reasoning, supporting a deep thinking mode (solving complex reasoning tasks through long chain-of-thought) and a normal reply mode (smooth user interaction). The InternLM2.5 series includes three versions, 1.8B, 7B, and 20B, among which the 7B model is suitable for research and applications, while the 20B model is more capable and can support more complex scenarios. InternLM2.5-Chat has undergone supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), optimizing instruction following, chat experience, and function calling capabilities; InternLM2.5-Chat-1M supports a 1 million token long context, with performance compatible with InternLM2.5-Chat. In addition, the InternLM2-Reward reward model series (1.8B, 7B, 20B) has also been released; this series was trained on 2.4 million preference samples and was once used in the PPO training process of chat models.
[Main Capabilities] InternLM3 surpasses Llama3.1-8B and Qwen2.5-7B on reasoning and knowledge-intensive tasks, trained with only 4 trillion high-quality tokens, saving more than 75% of training cost. The project conducted a comprehensive evaluation using the open-source evaluation tool OpenCompass, covering five dimensions: disciplinary ability, language ability, knowledge ability, reasoning ability, and understanding ability. The evaluation results can be viewed on the OpenCompass leaderboard.
[Usage] Model weights can be downloaded from platforms such as HuggingFace and ModelScope. When using Transformers to load InternLM3-8B-Instruct, PyTorch >= 1.12.0 (2.0.0 and above recommended) and Transformers >= 4.38 are required. Batch inference can also be performed through LMDeploy (an LLM compression,deployment, and serving toolkit developed by the MMRazor and MMDeploy teams), or an OpenAI-compatible server can be started and then chat requests sent. In addition, it supports pulling the model through Ollama for inference, as well as deployment using vLLM. The project also provides an API and Chat Web interface, as well as Discord and WeChat communities.
[Applicable Scenarios] Suitable for scenarios such as general dialogue, complex reasoning tasks, knowledge-intensive question answering, function calling, and long-context processing, and can be used for research and practical application development.
[Limitations] Although efforts have been made during training to ensure model safety and encourage the generation of text that meets ethical and legal requirements, due to the model scale and probabilistic generation paradigm, the model may still produce unexpected outputs, such as content containing bias, discrimination, or other harmful content. Users should not disseminate such content, and the project team is not responsible for any consequences caused by the dissemination of harmful information. Evaluation data may show numerical differences due to iterations of OpenCompass versions; please refer to the latest evaluation results from OpenCompass.