初始化项目,由ModelHub XC社区提供模型
Model: mnoukhov/pythia410m-sft-tldr Source: Original Platform
This commit is contained in:
23
code/configs/sft_pythia1b_hh_rlhf.yml
Normal file
23
code/configs/sft_pythia1b_hh_rlhf.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
model_name: "EleutherAI/pythia-1b-deduped"
|
||||
output_model_name: "sophiex/pythia-1b-sft_hh_rlhf"
|
||||
dataset_name: "sophiex/hh-rlhf"
|
||||
dataset_text_field: null
|
||||
report_to: "wandb"
|
||||
learning_rate: 1e-5
|
||||
lr_scheduler_type: cosine
|
||||
warmup_steps: 100
|
||||
weight_decay: 0.05
|
||||
load_in_8bit: False
|
||||
fp16: True
|
||||
bf16: False
|
||||
gradient_checkpointing: False
|
||||
gradient_accumulation_steps: 8
|
||||
per_device_train_batch_size: 2
|
||||
per_device_eval_batch_size: 8
|
||||
num_train_epochs: 3
|
||||
max_seq_length: 1024
|
||||
use_peft: True
|
||||
lora_r: 8
|
||||
lora_alpha: 32
|
||||
evaluation_strategy: steps
|
||||
eval_steps: 0.2
|
||||
Reference in New Issue
Block a user