update example docs

Former-commit-id: f02f87c6fb
This commit is contained in:
hiyouga
2024-05-06 22:51:02 +08:00
parent eb21a527a6
commit 92cafef325
35 changed files with 1048 additions and 594 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# DO NOT use GPTQ/AWQ model in FSDP+QLoRA
pip install "transformers>=4.39.1"
pip install "accelerate>=0.28.0"
pip install "bitsandbytes>=0.43.0"
CUDA_VISIBLE_DEVICES=0,1 accelerate launch \
--config_file examples/accelerate/fsdp_config.yaml \
src/train.py examples/extras/fsdp_qlora/llama3_lora_sft.yaml