Skip to content

Commit

Permalink
Trust remote code
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Oct 30, 2024
1 parent cda0ad7 commit d45b34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdelfin/train/loaddataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def main():
train_config = make_cli(TrainConfig) # pyright: ignore

processor = AutoProcessor.from_pretrained(train_config.model.name_or_path)
processor = AutoProcessor.from_pretrained(train_config.model.name_or_path, trust_remote_code=True)
train_dataset, valid_dataset = make_dataset(train_config, processor)

print("Training dataset........")
Expand Down

0 comments on commit d45b34f

Please sign in to comment.