Instructions to use Commandante/german-party-sentiment-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Commandante/german-party-sentiment-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Commandante/german-party-sentiment-bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Commandante/german-party-sentiment-bert") model = AutoModelForSequenceClassification.from_pretrained("Commandante/german-party-sentiment-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,9 +11,9 @@ model-index:
|
|
| 11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
This model is a fine-tuned version of [oliverguhr/german-sentiment-bert](https://huggingface.co/oliverguhr/german-sentiment-bert) on
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
- Loss: 0.8912
|
| 19 |
|
|
|
|
| 11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
|
| 14 |
+
# German-Party-Sentiment-Bert
|
| 15 |
|
| 16 |
+
This model is a fine-tuned version of [oliverguhr/german-sentiment-bert](https://huggingface.co/oliverguhr/german-sentiment-bert) on a dataset consisting of mentions of german political parties.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
- Loss: 0.8912
|
| 19 |
|