Instructions to use Commandante/german-party-sentiment-bert-241-synonyms with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Commandante/german-party-sentiment-bert-241-synonyms with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Commandante/german-party-sentiment-bert-241-synonyms")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Commandante/german-party-sentiment-bert-241-synonyms") model = AutoModelForSequenceClassification.from_pretrained("Commandante/german-party-sentiment-bert-241-synonyms") - Notebooks
- Google Colab
- Kaggle
german-party-sentiment-bert-241-synonyms
This model is a fine-tuned version of mdraw/german-news-sentiment-bert on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.0104
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 8e-06
- train_batch_size: 20
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 120
- num_epochs: 7
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.3705 | 1.0 | 28 | 1.0812 |
| 1.0214 | 2.0 | 56 | 1.0147 |
| 1.0214 | 3.0 | 84 | 1.0104 |
| 0.9279 | 4.0 | 112 | 1.0215 |
| 0.9279 | 5.0 | 140 | 1.0430 |
| 0.8797 | 6.0 | 168 | 1.0822 |
| 0.7917 | 7.0 | 196 | 1.0620 |
Framework versions
- Transformers 4.37.1
- Pytorch 2.1.2+cu118
- Tokenizers 0.15.1
- Downloads last month
- 4
Model tree for Commandante/german-party-sentiment-bert-241-synonyms
Base model
mdraw/german-news-sentiment-bert