#77 · Primary category: Foundation Models

chatglm_finetuning

adalora chatglm deep-learning freeze ia3 lora p-tuning-v2 pytorch qlora sft

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