Text Classification
Transformers
PyTorch
TensorBoard
English
roberta
financial-sentiment-analysis
sentiment-analysis
sentence_50agree
Generated from Trainer
sentiment
finance
Eval Results (legacy)
text-embeddings-inference
Instructions to use nickmuchi/distilroberta-finetuned-financial-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nickmuchi/distilroberta-finetuned-financial-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nickmuchi/distilroberta-finetuned-financial-text-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nickmuchi/distilroberta-finetuned-financial-text-classification") model = AutoModelForSequenceClassification.from_pretrained("nickmuchi/distilroberta-finetuned-financial-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
396d9c2
1
Parent(s): 14e47d6
Librarian Bot: Add base_model information to model (#2)
Browse files- Librarian Bot: Add base_model information to model (24fde872e2aa39ab509f592a69986f16382ef595)
Co-authored-by: Librarian Bot (Bot) <[email protected]>
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language: en
|
|
|
|
| 4 |
tags:
|
| 5 |
- financial-sentiment-analysis
|
| 6 |
- sentiment-analysis
|
|
@@ -17,29 +17,29 @@ metrics:
|
|
| 17 |
widget:
|
| 18 |
- text: The USD rallied by 10% last night
|
| 19 |
example_title: Bullish Sentiment
|
| 20 |
-
- text:
|
| 21 |
-
|
| 22 |
-
earnings for global firms
|
| 23 |
example_title: Bearish Sentiment
|
| 24 |
- text: the USD has been trending lower
|
| 25 |
example_title: Mildly Bearish Sentiment
|
|
|
|
| 26 |
model-index:
|
| 27 |
- name: distilroberta-finetuned-finclass
|
| 28 |
results:
|
| 29 |
- task:
|
| 30 |
-
name: Text Classification
|
| 31 |
type: text-classification
|
|
|
|
| 32 |
dataset:
|
| 33 |
name: financial_phrasebank
|
| 34 |
type: finance
|
| 35 |
args: sentence_50agree
|
| 36 |
metrics:
|
| 37 |
- type: F1
|
| 38 |
-
name: F1
|
| 39 |
value: 0.8835
|
|
|
|
| 40 |
- type: accuracy
|
| 41 |
-
name: accuracy
|
| 42 |
value: 0.89
|
|
|
|
| 43 |
---
|
| 44 |
|
| 45 |
# distilroberta-finetuned-financial-text-classification
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
- financial-sentiment-analysis
|
| 6 |
- sentiment-analysis
|
|
|
|
| 17 |
widget:
|
| 18 |
- text: The USD rallied by 10% last night
|
| 19 |
example_title: Bullish Sentiment
|
| 20 |
+
- text: Covid-19 cases have been increasing over the past few months impacting earnings
|
| 21 |
+
for global firms
|
|
|
|
| 22 |
example_title: Bearish Sentiment
|
| 23 |
- text: the USD has been trending lower
|
| 24 |
example_title: Mildly Bearish Sentiment
|
| 25 |
+
base_model: distilroberta-base
|
| 26 |
model-index:
|
| 27 |
- name: distilroberta-finetuned-finclass
|
| 28 |
results:
|
| 29 |
- task:
|
|
|
|
| 30 |
type: text-classification
|
| 31 |
+
name: Text Classification
|
| 32 |
dataset:
|
| 33 |
name: financial_phrasebank
|
| 34 |
type: finance
|
| 35 |
args: sentence_50agree
|
| 36 |
metrics:
|
| 37 |
- type: F1
|
|
|
|
| 38 |
value: 0.8835
|
| 39 |
+
name: F1
|
| 40 |
- type: accuracy
|
|
|
|
| 41 |
value: 0.89
|
| 42 |
+
name: accuracy
|
| 43 |
---
|
| 44 |
|
| 45 |
# distilroberta-finetuned-financial-text-classification
|