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
A while ago (#11012), an additional attribute called problem_type has been added to xxxForSequenceClassification models, which you can set to "multi_label_classification", "single_label_classification" or "regression" to fine-tune xxxForSequenceClassification models for the respective problem. This makes sure the appropriate loss function is used.
This is great, however, 3 things need to be improved in my opinion:
this is causing a bit of an inconsistency as it's not implemented in all models which have an xxxForSequenceClassification head model.
it's also not included in any of the CookieCutter templates, which are used to add new models.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
A while ago (#11012), an additional attribute called
problem_type
has been added toxxxForSequenceClassification
models, which you can set to "multi_label_classification", "single_label_classification" or "regression" to fine-tunexxxForSequenceClassification
models for the respective problem. This makes sure the appropriate loss function is used.This is great, however, 3 things need to be improved in my opinion:
xxxForSequenceClassification
head model.cc @abhishekkrthakur
The text was updated successfully, but these errors were encountered: