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
Commit ·
a40cd2e
1
Parent(s): 1a5e5eb
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
{
|
|
|
|
| 2 |
"BertForSequenceClassification"
|
| 3 |
],
|
| 4 |
"id2label": {
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|
| 5 |
"id2label": {
|