#105 · Primary category: Foundation Models
Chinese-Llama-2-7b
First downloadable and runnable Chinese LLaMA2 model in the open-source community!
Project last updated:10/26/23
GitHub Stars
2.2K
Forks
196
Contributors
7
License
Apache-2.0
Why we included this project
Teams building Chinese-language chat applications on Llama 2 will find this a workable base rather than a research curiosity. It was the first Chinese LLaMA 2 model the open-source community could actually download and run, and the release still works as a practical starting point. The 7B chat weights come with the SFT training and inference scripts used to produce them, and the model was fine-tuned on a bilingual instruction set of roughly 10 million samples, so the training recipe is visible instead of hidden. Input formatting follows the original llama-2-chat spec, which means tooling and optimizations written for the English model tend to carry over with little adjustment. Docker images and a 4-bit quantized build get you from download to a running endpoint on your own hardware fairly quickly, and the Chinese and English fine-tuning data is released openly for anyone who wants to keep training. Everything is commercially usable, and a live demo on HuggingFace Spaces lets you check the output before you commit.
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
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities