takala/financial_phrasebank
Updated • 7.64k • 269
How to use gd1m3y/sentiment_bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gd1m3y/sentiment_bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gd1m3y/sentiment_bert")
model = AutoModelForSequenceClassification.from_pretrained("gd1m3y/sentiment_bert", device_map="auto")This model is a fine-tuned version of SALT-NLP/FLANG-BERT on the financial_phrasebank dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training: