#77 · Primary category: Foundation Models
chatglm_finetuning
chatglm 6b finetuning and alpaca finetuning
Project last updated:03/09/25
GitHub Stars
1.5K
Forks
170
Contributors
4
License
Apache-2.0
Why we included this project
ChatGLM teams that want to adapt the model to their own data get a working training setup here, not just code fragments. The repo covers full-parameter fine-tuning and the parameter-efficient options (LoRA, QLoRA, AdaLoRA, IA3, P-Tuning v2), so you can pick the method that fits your GPU budget. Shell scripts walk through dataset preparation, training, and inference, and the conversation examples include plain chat, tool/function calling, and observation turns, which is useful if you are tuning for agent-style behavior. Since it builds on the deep_training library and standard Hugging Face tooling, the code stays close to familiar PyTorch and transformers workflows. If you are already working with the ChatGLM line and want one place to try different fine-tuning strategies, this is a solid reference and starting point.
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