-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InferenceApi for TokenClassification does not work #344
Comments
cc'ing @Narsil for visibility |
Thank you @julien-c for your cc with @Narsil, and I've just found a very big PR huggingface/transformers#13308 and a smaller PR huggingface/transformers#13493 |
Ok, it's fixed now. It seemed linked to recursive import, which is odd, we're looking into it. |
Thank you @Narsil and I've just confirmed that it works well:
Thank you again and I close this issue. |
Found the culprit which was linked to bad merge between master and the API fork (Turns out GPT2ForTokenClassification was added relatively recently). |
I've tried
InferenceApi
for the pipeline of token-classification but failed:I remember that it worked last month and the result still remains in the cache:
Something changed on
InferenceApi
or TokenClassification?The text was updated successfully, but these errors were encountered: