GitHub · #431

ymcui/Chinese-LLaMA-Alpaca

中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs). On Linux: git clone, python3 -m venv .venv, then pip install -e . 18,926 GitHub stars (#431 in this directory).

Repository
https://github.com/ymcui/Chinese-LLaMA-Alpaca
Homepage
https://github.com/ymcui/Chinese-LLaMA-Alpaca/wiki
Owner
ymcui (User)
Stars
18,926
Forks
1,929
Open issues
5
Language
Python
License
Apache-2.0
Created
2023-03-15
Last push
2026-04-19
Topics
alpaca, alpaca-2, large-language-models, llama, llama-2, llm, lora, nlp, plm, pre-trained-language-models, quantization
Snapshot
2026-10-18 · weekly refresh

Try it on Shadowfetch Linux.

Shadowfetch Linux is a Debian testing desktop with KDE Plasma, local AI tools, and ShadowCode. Clone this repository there, follow the steps for its primary language, and ask ShadowCode to finish the build.

Clone and set up a Python environment.

git clone https://github.com/ymcui/Chinese-LLaMA-Alpaca.git
cd Chinese-LLaMA-Alpaca
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

If the project has no installable package, use the README’s requirements file or conda notes instead of pip install -e .

ShadowCode prompt.

Paste this into ShadowCode after you open the project.

Clone https://github.com/ymcui/Chinese-LLaMA-Alpaca into ~/Workspaces/Chinese-LLaMA-Alpaca.
Read the README.
On this Shadowfetch Linux desktop, create a Python virtualenv, install from the README, then run or import the project.
Ask before installing packages or using the network.

Download Shadowfetch Linux — ISO, checksum and signature.

Back to the GitHub directory · Methodology