takala/financial_phrasebank
Updated β’ 9.5k β’ 256
How to use Sigma/financial-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Sigma/financial-sentiment-analysis") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Sigma/financial-sentiment-analysis")
model = AutoModelForSequenceClassification.from_pretrained("Sigma/financial-sentiment-analysis")This model is a fine-tuned version of ahmedrachid/FinancialBERT 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: