#22 · Primary category: Foundation Models

Chinese-LLaMA-Alpaca-2

64k alpaca alpaca-2 alpaca2 flash-attention large-language-models llama llama-2 llama2 llm nlp rlhf yarn

中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)

Project last updated:04/19/26

GitHub Stars

7.1K

Forks

561

Contributors

8

License

Apache-2.0

Why we included this project

Anyone building or fine-tuning models that need to handle Chinese well gets a real starting point here, not just an API to call. The project takes Meta's Llama-2, expands the vocabulary so it covers Chinese properly, and runs additional pretraining over large Chinese corpora, which shows up as noticeably better Chinese comprehension and instruction following than the original weights. The 16K and 64K long-context checkpoints are worth a look if your documents or retrieval tasks routinely blow past the standard 4K window. You also get the pretraining and instruction fine-tuning scripts, so this works as a base for continued training on your own data. Because the models stay inside the LLaMA ecosystem, they run in transformers, llama.cpp, vLLM, and most of the usual tooling with minimal setup, including local quantization.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category