update examples

Former-commit-id: bf36b16e48d6438de6d0b2f2bfe33f7895699b9d
This commit is contained in:
hiyouga
2024-04-02 20:41:49 +08:00
parent c1510d19c7
commit 933a084999
5 changed files with 6 additions and 29 deletions

View File

@@ -1,5 +0,0 @@
```bash
pip install "transformers>=4.39.1"
pip install "accelerate>=0.28.0"
pip install "bitsandbytes>=0.43.0"
```

View File

@@ -1,5 +1,9 @@
#!/bin/bash
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 ../accelerate/fsdp_config.yaml \
../../src/train_bash.py \