SuperAPI AI Directory

MiniCPM-2B

MiniCPM-2B is a subset of the MiniCPM series of large language models and vision-language models released by OpenBMB on Hugging Face, primarily containing text generation models at the 2B parameter scale and their various variants. This collection provides model weights in different precisions (such as bf16, fp16, fp32, int4) and at different training stages (sft, dpo), as well as versions supporting long context (128k) and the MoE architecture. These models can be used for natural language processing tasks such as text generation, and are suitable for researchers and developers to conduct inference and fine-tuning experiments locally or in the cloud.

Open website

About this tool

MiniCPM-2B is part of the MiniCPM series model collection, which is maintained by OpenBMB on Hugging Face and includes multiple text generation and multimodal models. The MiniCPM-2B subset focuses on text generation models at the 2B parameter scale and provides multiple variants to meet different deployment and experimental needs.

In terms of use, the MiniCPM-2B series models are mainly used for text generation tasks and can be applied to natural language processing scenarios such as dialogue, content creation, and question answering. The collection also includes a version supporting 128k long context (MiniCPM-2B-128k) and a version adopting the MoE architecture (MiniCPM-MoE-8x2B), extending the model's capabilities in long-text processing and mixture-of-experts computation.

In terms of main capabilities, this collection provides model weights after supervised fine-tuning (sft) and direct preference optimization (dpo), and covers multiple precision formats such as bf16, fp16, fp32, and int4, making it convenient for users to choose according to hardware conditions. Some models also provide converted versions in llama format for compatibility with tools in the Llama ecosystem.

In terms of usage, users can obtain the weights through the Hugging Face model pages and load and perform inference according to the instructions in the model cards. Some models in the collection are labeled with parameter scale (such as 3B); the model cards shall prevail. Since the materials do not provide specific installation commands or code examples, they are not elaborated here.

Applicable scenarios include academic research, localized deployment experiments, lightweight text generation application development, and so on. Regarding limitations, the materials do not provide specific performance metrics, license agreements, or commercial use terms, and users need to refer to the detailed descriptions on each model page.