Text Classification
Transformers
PyTorch
TensorFlow
English
financial-sentiment-analysis
sentiment-analysis
Instructions to use yiyanghkust/finbert-tone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yiyanghkust/finbert-tone with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yiyanghkust/finbert-tone")# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("yiyanghkust/finbert-tone", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
add-model-type
#7
by cgou - opened
- config.json +1 -0
config.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
| 15 |
"attention_probs_dropout_prob": 0.1,
|
| 16 |
"hidden_act": "gelu",
|
| 17 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 18 |
"hidden_size": 768,
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"intermediate_size": 3072,
|
|
|
|
| 15 |
"attention_probs_dropout_prob": 0.1,
|
| 16 |
"hidden_act": "gelu",
|
| 17 |
"hidden_dropout_prob": 0.1,
|
| 18 |
+
"model_type": "bert",
|
| 19 |
"hidden_size": 768,
|
| 20 |
"initializer_range": 0.02,
|
| 21 |
"intermediate_size": 3072,
|