TsinghuaAI/CPM-1-Generate
Chinese Pre-Trained Language Models (CPM-LM) Version-I observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2119
- days_rel: n/a
- days_push: 1264
- n_releases_24m: 0
Adoption not part of the score
1578 stars · 209 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CPM-Generate provides inference code for CPM-LM, a 2.6B-parameter Chinese pre-trained language model based on the GPT-2 architecture and Megatron-LM. It supports interactive and scripted text generation, model parallelism tuning, and zero-shot evaluation on Chinese NLP benchmarks like OCNLI, TNEWS, and IFLYTEK.
Use cases
- generate Chinese text with a large pretrained language model
- run zero-shot classification on Chinese NLP benchmarks
- experiment with few-shot and zero-shot learning in Chinese
- run a 2.6B parameter GPT-style model locally on GPUs
- adjust model parallelism size for inference
When to choose
- you need a large Chinese-language pretrained model for text generation or zero-shot tasks
- you have multi-GPU hardware and want to run CPM-LM locally
- you want to reproduce or build on CPM-1 research
When to avoid
- you need a lightweight model for consumer hardware - use BMInf or CPM-Distill instead
- you need a maintained general-purpose LLM framework rather than a model-specific inference repo
- you work primarily with English or multilingual models
Facets
library · maturity maintenance
llm-inference nlp machine-learning large-language-models artificial-intelligence python chinese-language-model text-generation gpt-2 zero-shot-learning megatron-lm sentencepiece model-parallelism natural-language-processing gpu linux docker
1 source
- readme: https://github.com/TsinghuaAI/CPM-1-Generate · fetched 2026-08-28 · 228c4c855658
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TsinghuaAI/CPM-1-Generate | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="TsinghuaAI/CPM-1-Generate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem