Closed Randl closed 1 year ago
Hi, it's not clear what this fixes for the AutoModelForSequenceClassification
can you provide some more details there? Otherwise, thanks, this looks great!
The current version crashes because num_labels
is populated in different place by AutoModel
. Also, init
function is expected to have a parameter to initialize specific module. This fixes these two things.
This fixes the
AutoModelForSequenceClassification
constructor and also addsAutoModelForTokenClassification
. Fixes minor bugs/typos too.