You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for sharing! It seems that an update of transformers broke down the functionality of SetFit. To resolve the issue, I would advise checking out the thread here. Essentially, it would mean temporarily using an older version of Transformers until this gets fixed.
trainer = SetFitTrainer(
model=model,
args=args,
train_dataset=sampled_train_data,
eval_dataset=test_data,
metric="f1"
)
Got 'CallbackHandler' object has no attribute 'tokenizer' error when initialize SetFitTrainer.
The text was updated successfully, but these errors were encountered: