├── .gitignore ├── LICENSE ├── README.md ├── chatglm3_sft ├── __init__.py ├── chatglm3_pt_1.png ├── chatglm3_pt_2.png ├── chatglm3_qa_1.png ├── chatglm3_qa_2.png ├── dataset │ ├── __init__.py │ └── alpaca_gpt4_data_zh.json ├── ft_chatglm3 │ ├── __init__.py │ ├── config.py │ ├── post_api.py │ ├── train.py │ ├── train_deepspeed.py │ └── ui_chatglm3_sft.py └── models │ ├── README.md │ ├── __init__.py │ ├── config.json │ ├── configuration_chatglm.py │ ├── modeling_chatglm.org.py │ ├── modeling_chatglm.py │ ├── modeling_chatglm1.py │ ├── modeling_chatglm2.py │ ├── pytorch_model.bin.index.json │ ├── quantization.py │ └── tokenization_chatglm.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/README.md -------------------------------------------------------------------------------- /chatglm3_sft/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/__init__.py -------------------------------------------------------------------------------- /chatglm3_sft/chatglm3_pt_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/chatglm3_pt_1.png -------------------------------------------------------------------------------- /chatglm3_sft/chatglm3_pt_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/chatglm3_pt_2.png -------------------------------------------------------------------------------- /chatglm3_sft/chatglm3_qa_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/chatglm3_qa_1.png -------------------------------------------------------------------------------- /chatglm3_sft/chatglm3_qa_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/chatglm3_qa_2.png -------------------------------------------------------------------------------- /chatglm3_sft/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/dataset/__init__.py -------------------------------------------------------------------------------- /chatglm3_sft/dataset/alpaca_gpt4_data_zh.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/dataset/alpaca_gpt4_data_zh.json -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/__init__.py -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/config.py -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/post_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/post_api.py -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/train.py -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/train_deepspeed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/train_deepspeed.py -------------------------------------------------------------------------------- /chatglm3_sft/ft_chatglm3/ui_chatglm3_sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/ft_chatglm3/ui_chatglm3_sft.py -------------------------------------------------------------------------------- /chatglm3_sft/models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/README.md -------------------------------------------------------------------------------- /chatglm3_sft/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/__init__.py -------------------------------------------------------------------------------- /chatglm3_sft/models/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/config.json -------------------------------------------------------------------------------- /chatglm3_sft/models/configuration_chatglm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/configuration_chatglm.py -------------------------------------------------------------------------------- /chatglm3_sft/models/modeling_chatglm.org.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/modeling_chatglm.org.py -------------------------------------------------------------------------------- /chatglm3_sft/models/modeling_chatglm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/modeling_chatglm.py -------------------------------------------------------------------------------- /chatglm3_sft/models/modeling_chatglm1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/modeling_chatglm1.py -------------------------------------------------------------------------------- /chatglm3_sft/models/modeling_chatglm2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/modeling_chatglm2.py -------------------------------------------------------------------------------- /chatglm3_sft/models/pytorch_model.bin.index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/pytorch_model.bin.index.json -------------------------------------------------------------------------------- /chatglm3_sft/models/quantization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/quantization.py -------------------------------------------------------------------------------- /chatglm3_sft/models/tokenization_chatglm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/chatglm3_sft/models/tokenization_chatglm.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongzhuo/ChatGLM3-SFT/HEAD/requirements.txt --------------------------------------------------------------------------------