mirror of https://github.com/THUDM/ChatGLM2-6B
add train epochs
parent
e1b760b706
commit
d4048deebf
|
@ -47,6 +47,7 @@ trainer = Trainer(
|
|||
model=lora_model,
|
||||
train_dataset=train_ds,
|
||||
args=TrainingArguments(
|
||||
num_train_epochs=1,
|
||||
per_device_train_batch_size=4,
|
||||
gradient_accumulation_steps=4,
|
||||
warmup_steps=3,
|
||||
|
|
Loading…
Reference in New Issue