Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sileod authored Nov 2, 2023
1 parent 3bd3910 commit f89bbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasknet/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class default:
self.batched = hparams.get('batched',False)

trainer_args = transformers.TrainingArguments(
**{**default, **fc.project(hparams, dir(transformers.TrainingArguments))},
**fc.project({**default,**hparams}, dir(transformers.TrainingArguments))
)
if not tokenizer:
tokenizer = AutoTokenizer.from_pretrained(hparams["model_name"])
Expand Down

0 comments on commit f89bbce

Please sign in to comment.