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
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
import numpy as np
tokenizer = AutoTokenizer.from_pretrained("ProsusAI/finbert")
model = AutoModelForSequenceClassification.from_pretrained("ProsusAI/finbert")
but get this error.
OSError: Can't load 'ProsusAI/finbert'. Make sure that:
- 'ProsusAI/finbert' is a correct model identifier listed on 'https://huggingface.co/models'
- or 'ProsusAI/finbert' is the correct path to a directory containing a 'config.json' file
The text was updated successfully, but these errors were encountered:
Any update here? I have the same issue, ProsusAI/finbert does not load. I have the feeling the company ProsusAI decided to remove it from the models list?
I tried this code
but get this error.
The text was updated successfully, but these errors were encountered: