Skip to content

Commit

Permalink
Fix typo in orpo example. (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
skandermoalla authored Sep 21, 2024
1 parent 10c2f63 commit 2038e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scripts/orpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def process(row):
# Compute that only on the main process for faster data processing.
# see: https://github.com/huggingface/trl/pull/1255
with PartialState().local_main_process_first():
dataset = dataset.map(process, num_prc=training_args.dataset_num_proc)
dataset = dataset.map(process, num_proc=training_args.dataset_num_proc)

################
# Training
Expand Down

0 comments on commit 2038e52

Please sign in to comment.