Skip to content

Commit

Permalink
zero1 is better than zero2 for phi
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Sep 14, 2023
1 parent 3fafebb commit fed4fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/phi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Due to some nuances with the phi code, please use deepspeed when training phi.

```shell
accelerate launch scripts/finetune.py examples/phi/phi-ft.yml --deepspeed deepspeed/zero2.json
accelerate launch scripts/finetune.py examples/phi/phi-ft.yml --deepspeed deepspeed/zero1.json
```

0 comments on commit fed4fdd

Please sign in to comment.