Instructions to use scherrmann/GermanFinBert_SC_Sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scherrmann/GermanFinBert_SC_Sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="scherrmann/GermanFinBert_SC_Sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("scherrmann/GermanFinBert_SC_Sentiment") model = AutoModelForSequenceClassification.from_pretrained("scherrmann/GermanFinBert_SC_Sentiment") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
7d3f62b
1
Parent(s): 47fb1fb
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -9,9 +9,9 @@
|
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
-
"0": "
|
| 13 |
-
"1": "
|
| 14 |
-
"2": "
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
|
|
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
+
"0": "Negative",
|
| 13 |
+
"1": "Neutral",
|
| 14 |
+
"2": "Positive"
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|