ymcui/chinese-llama-alpaca

中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 3rd, 2026
Created on March 15th, 2023
Open Issues & Pull Requests: 5 (+0)
GitHub issues: Enabled
Number of forks: 1,839
Total Stargazers: 18,938 (+0)
Total Subscribers: 185 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.1 hours
Mean response time: 0.1 hours
90th percentile: 0.2 hours
Tracked items: 3

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (4)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Chinese-LLaMA-Alpaca is a collection of large language models adapted for Chinese that can be trained and deployed locally on consumer hardware.

The project addresses the need for language models optimized for Chinese by extending the vocabulary of the original LLaMA architecture with Chinese tokens and performing secondary pretraining on Chinese text data. The Alpaca variants add instruction-tuning on Chinese instruction datasets to improve the model's ability to understand and follow commands. The approach enables efficient encoding and decoding for Chinese text while maintaining compatibility with the base LLaMA architecture.

Developers working on Chinese NLP tasks should consider this project if they need models that can run on personal computers with CPU or GPU quantization, or if they want to fine-tune models using provided training scripts. The tool suits projects requiring local deployment without cloud dependencies, and it integrates with established ecosystems including Hugging Face Transformers, llama.cpp, text-generation-webui, and LangChain. The project offers multiple model sizes and variants, with Plus and Pro versions available alongside base versions.

The project maintains active engagement across multiple communication channels including issues, discussions, and a competitive evaluation arena. Development includes ongoing technical documentation and research publication of the underlying methods. The codebase supports both pretraining and instruction fine-tuning workflows, allowing users to adapt models to their specific requirements.