ChatLM-mini-Chinese
Free中文对话0.2B小模型(ChatLM-Chinese-0.2B),开源所有数据集来源、数据清洗、tokenizer训练、模型预训练、SFT指令微调、RLHF优化等流程的全部代码。支持下游任务sft微调,给出三元组信息抽取微调示例。
About ChatLM-mini-Chinese
ChatLM-mini-Chinese is an open-source, small-scale Chinese dialogue language model with 0.2 billion parameters. It provides a complete, transparent pipeline for building a conversational AI model, including dataset sourcing, data cleaning, tokenizer training, model pre-training, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF). The project is hosted on GitHub and aims to serve as an educational resource for understanding and replicating the full lifecycle of a Chinese language model. It also includes example code for downstream task fine-tuning, such as extracting triple information (subject-predicate-object) from text. The model is designed for researchers, developers, and hobbyists interested in natural language processing and Chinese dialogue systems.
Key Features
Pros & Cons
- Fully open-source with transparent code and data sources
- Small model size (0.2B) enables training on consumer hardware
- Covers entire model development pipeline from scratch
- Includes practical fine-tuning example for information extraction
- Free to use and modify under open-source license
- Model size is very small (0.2B), limiting conversational quality compared to larger models
- Documentation and community support may be limited as a niche project
- Requires technical expertise in NLP and model training to utilize fully
- Performance on complex or nuanced Chinese dialogue tasks should be verified
- No hosted API or inference service; users must run locally
Best For
Alternatives to ChatLM-mini-Chinese
CDial-GPT
A Large-scale Chinese Short-Text Conversation Dataset and Chinese pre-training dialog models
Chat-Haruhi-Suzumiya
Chat凉宫春日, An open sourced Role-Playing chatbot Cheng Li, Ziang Leng, and others.
DialoGPT
Large-scale pretraining for dialogue
GPT2-chitchat
GPT2 for Chinese chitchat/用于中文闲聊的GPT2模型(实现了DialoGPT的MMI思想)
GPT2-Chinese
Chinese version of GPT2 training code, using BERT tokenizer.
gpt-2-simple
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts