Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
linkchw committed Aug 14, 2024
1 parent 49d672e commit e565c0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion train/code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
per_device_train_batch_size_var = 2
num_train_epochs_var = 50
save_steps_var = 5000
logging_steps = 100

logging.info("Starting the training process")

Expand Down Expand Up @@ -83,7 +84,7 @@ def train(train_file_path,
per_device_train_batch_size=per_device_train_batch_size,
num_train_epochs=num_train_epochs,
logging_dir=logging_dir,
logging_steps=10,
logging_steps=logging_steps,
save_steps=save_steps
)
trainer = Trainer(
Expand Down

0 comments on commit e565c0c

Please sign in to comment.