Skip to content

Commit

Permalink
Updated notebook with workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopaniego committed Jun 28, 2024
1 parent d3f63c4 commit 69590ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notebooks/en/labelling_feedback_setfit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@
" model=model,\n",
" train_dataset=train_dataset\n",
" )\n",
" # Temporary workaround https://github.com/huggingface/setfit/issues/512\n",
" trainer.args.eval_strategy = trainer.args.evaluation_strategy\n",
" trainer.train()\n",
" return model"
]
Expand Down

0 comments on commit 69590ae

Please sign in to comment.