Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sileod authored Jun 8, 2024
1 parent 2e53ce8 commit 9c1280a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ class hparams:
learning_rate = 3e-5 # see hf.co/docs/transformers/en/main_classes/trainer#transformers.TrainingArguments

tasks = [rte]
model = tn.Model(tasks, hparams)
trainer = tn.Trainer(model, tasks, hparams)
model, trainer = tn.Model_Trainer(task,hparams)
trainer.train()
trainer.evaluate()
p = trainer.pipeline()
Expand Down

0 comments on commit 9c1280a

Please sign in to comment.