Files
open-instruct/configs/train_configs/dpo/olmo_7b_17_inst.yaml
8710794223 Configs for DPO; some repo organization (#183)
* init pr

* add script

* clean config folders

* organization

* up

* tokenizer fixes

* Fix dpo script tokenizer setup + minor fixes (#184)

* copy tokenizer setup

* minor fixes

---------

Co-authored-by: Hamish Ivison <[email protected]>
2024-07-10 10:22:55 -07:00

22 lines
603 B
YAML

model_name_or_path: allenai/OLMo-1.7-7B-SFT-hf
use_flash_attn: true
gradient_checkpointing: true
tokenizer_name: allenai/OLMo-1.7-7B-SFT-hf
dataset_name: allenai/ultrafeedback_binarized_cleaned
max_seq_length: 4096
gradient_checkpointing: true
preprocessing_num_workers: 16
per_device_train_batch_size: 1
gradient_accumulation_steps: 4 # designed for 8 GPUs, so batch size 32
learning_rate: 5.0e-7
dpo_beta: 0.1
lr_scheduler_type: linear
warmup_ratio: 0.1
weight_decay: 0.0
num_train_epochs: 3
output_dir: output/olmo_instruct_dpo/
with_tracking: true
report_to:
- wandb
logging_steps: 1
add_bos: true