#176 · Primary category: MLOps & Evaluation

ChatGLM-Finetuning

chatglm chatglm2 chatglm3 chatgpt freeze lora p-tuning

基于ChatGLM-6B、ChatGLM2-6B、ChatGLM3-6B模型,进行下游具体任务微调,涉及Freeze、Lora、P-tuning、全参微调等

Project last updated:12/12/23

GitHub Stars

2.8K

Forks

308

Contributors

2

License

Other

Why we included this project

This repository collects working examples for adapting ChatGLM-6B, ChatGLM2-6B, and ChatGLM3-6B to your own tasks through four fine-tuning approaches: freeze (keeping most layers fixed), LoRA, P-Tuning, and full-parameter updates. Training runs on DeepSpeed directly rather than wrapping the standard Trainer, so the code is easier to trace and change when you need finer control over the loop. You get single- and multi-GPU launch scripts plus gradient checkpointing and offload flags to fit models into limited VRAM. It also includes evaluation support for information extraction, generation, and classification tasks. If you work with Chinese-language NLP or want a readable reference for fine-tuning a 6B-scale model on modest hardware, this is a good starting point, though it is training code rather than a deployment service.

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