chatglm-6b-fine-tuning
https://github.com/THUDM/ChatGLM-6B
2023-06-01 分布式加速训练,单机多卡,多机多卡
pip3 install accelerate==0.19.0
pip3 install urllib3==1.26.5
compute_environment: LOCAL_MACHINE
distributed_type: MULTI_GPU
downcast_bf16: 'no'
gpu_ids: ALL
machine_rank: 0
main_training_function: main
mixed_precision: fp16
num_machines: 1
num_processes: 4
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
2023-05-25
2023-04-21
2023-04-08 修改生成测试json逻辑,完成改名操作,如下图所示
pip3 install protobuf==3.20.0 transformers==4.28.1 icetk cpm_kernels
训练需要安装如下依赖
pip3 install datasets peft