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", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Create tokenizer_config.json
#13
by rasmus-aau - opened
- tokenizer_config.json +5 -0
tokenizer_config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_lower_case": false,
|
| 3 |
+
"max_length": 512,
|
| 4 |
+
"truncation": true
|
| 5 |
+
}
|