-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ce9ef3
commit f28e565
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Train DPO | ||
|
||
```bash | ||
002-001-dpo-temp-0_3-v-all-ref.sh | ||
``` | ||
|
||
### Configuration | ||
|
||
- BASE_MODEL: Name of Model for save. | ||
- DATA_PATH: Dataset Path. | ||
- EPOCH: Num Train Epoch. | ||
- LR: 2e-5 for full finetune and 2e-4 for lora. | ||
- GRADIENT_ACCUMULATION_STEPS: Accumulation step. | ||
- MAX_LEN: Max training length. | ||
- MAX_PROMPT_LEN: Max training prompt length. | ||
- MICRO_BSZ: Batch size per step. | ||
- VAL_SIZE: Split validation set. | ||
- WANDB_NAME: Wandb project name. | ||
- WARMUP_STEPS: Warmup step for scheduler. |