【Caution】:This repo contains the intermediate checkpoints of minicpm-2b training for research purpose, not the final checkpoints that are ready to be used in practice.
We saved checkpoints every 500 steps. However, due to the efficiency of uploading, we only open-source the ones that has step % 100000 == 0. Among these checkpoints, 0-260000 (more accurately, 261000) are the stable training stable. 260000 - 280000 (more accurately 261000 - 279500) are the decay stage. After 280000 are the un-utilized checkpoints where the learning rate is decayed to every small value.
MiniCPM is an End-Size LLM developed by ModelBest Inc. and TsinghuaNLP, with only 2.4B parameters excluding embeddings.
MiniCPM has very close performance compared with Mistral-7B on open-sourced general benchmarks with better ability on Chinese, Mathmetics and Coding after SFT. The overall performance exceeds Llama2-13B, MPT-30B, Falcon-40B, etc.
After DPO, MiniCPM outperforms Llama2-70B-Chat, Vicuna-33B, Mistral-7B-Instruct-v0.1, Zephyr-7B-alpha, etc. on MTBench.
MiniCPM-V, based on MiniCPM-2B, achieves the best overall performance among multimodel models of the same scale, surpassing existing multimodal large models built on Phi-2 and achieving performance comparable to or even better than 9.6B Qwen-VL-Chat on some tasks.
MiniCPM can be deployed and infer on smartphones, and the speed of streaming output is relatively higher than the verbal speed of human. MiniCPM-V is the first multi-modal models that can be deployed on smartphones.
The cost of developing based on MiniCPM is low. Parameter efficient finetuning can be conducted with a single 1080/2080 GPU and full parameter finetuning can be conducted with a 3090/4090 GPU.
We release all model parameters for research and limited commercial use. We also release all the checkpoint during training and most public training data for research on model mechanism.
SFT and DPO version based on MiniCPM-2B and human preference:
MiniCPM-2B-SFT/DPO
The multi-modal model
MiniCPM-V
based on MiniCPM-2B, which outperforms models with similar size, i.e., Phi-2
The INT4 quantized version
MiniCPM-2B-SFT/DPO-Int4
based on MiniCPM-2B-SFT/DPO
Mobile phone application based on MLC-LLM and LLMFarm. Both language model and multimodel model can conduct inference on smartphones.
Notice: We discovered that the quality of Huggingface generation is slightly lower than vLLM, thus benchmarking using vLLM is recommended.
We are investigating the cause now.
Due to limitations in model size, the model may experience hallucinatory issues. As DPO model tend to generate longer response, hallucinations are more likely to occur. We will also continue to iterate and improve the MiniCPM model.
To ensure the universality of the model for academic research purposes, we did not conduct any identity training on the model. Meanwhile, as we use ShareGPT open-source corpus as part of the training data, the model may output identity information similar to the GPT series models.
Due to the limitation of model size, the output of the model is greatly influenced by prompt words, which may result in inconsistent results from multiple attempts.
Due to limited model capacity, the model's knowledge memory is not accurate. In the future, we will combine the RAG method to enhance the model's knowledge memory ability.
@inproceedings{minicpm2024,
title={MiniCPM:Unveiling the Potential of End-side Large Language Models},
booktitle={OpenBMB Blog},
year={2024}
}
Runs of openbmb MiniCPM-2B-history on huggingface.co
155
Total runs
0
24-hour runs
2
3-day runs
24
7-day runs
30
30-day runs
More Information About MiniCPM-2B-history huggingface.co Model
MiniCPM-2B-history huggingface.co
MiniCPM-2B-history huggingface.co is an AI model on huggingface.co that provides MiniCPM-2B-history's model effect (), which can be used instantly with this openbmb MiniCPM-2B-history model. huggingface.co supports a free trial of the MiniCPM-2B-history model, and also provides paid use of the MiniCPM-2B-history. Support call MiniCPM-2B-history model through api, including Node.js, Python, http.
MiniCPM-2B-history huggingface.co is an online trial and call api platform, which integrates MiniCPM-2B-history's modeling effects, including api services, and provides a free online trial of MiniCPM-2B-history, you can try MiniCPM-2B-history online for free by clicking the link below.
openbmb MiniCPM-2B-history online free url in huggingface.co:
MiniCPM-2B-history is an open source model from GitHub that offers a free installation service, and any user can find MiniCPM-2B-history on GitHub to install. At the same time, huggingface.co provides the effect of MiniCPM-2B-history install, users can directly use MiniCPM-2B-history installed effect in huggingface.co for debugging and trial. It also supports api for free installation.