How to use ProsusAI/finbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ProsusAI/finbert")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ProsusAI/finbert") model = AutoModelForSequenceClassification.from_pretrained("ProsusAI/finbert")
Please forgive me if I am posing this question incorrectly. Is it possible to run FinBert on a desktop gpu? Has anyone experience running it? What are you using?
Thanks
Just trying it out now!!, will give a review later
Β· Sign up or log in to comment