File size: 1,759 Bytes
f8b062b d968720 f8b062b 681d260 f8b062b 681d260 f8b062b df36d83 e51fa22 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
---
license: apache-2.0
tags:
- generated_from_keras_callback
model-index:
- name: tmp3y468_8j
results: []
widget:
- text: "Ich liebe dich"
example_title: "Non-vulgar"
- text: "Ich hasse dich"
example_title: "Vulgar"
---
# KIZervus
This model is a fine-tuned version of [distilbert-base-german-cased](https://huggingface.co/distilbert-base-german-cased).
It is trained to classify german text into the classes "vulgar" speech and "non-vulgar" speech.
The data set is a collection of other labeled sources in german. For an overview, see the github repository here:
It achieves the following results on the evaluation set:
- Train Loss: 0.4221
- Train Accuracy: 0.8025
- Validation Loss: 0.4418
- Validation Accuracy: 0.8094
- Epoch: 2
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 1233, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
- training_precision: float32
### Training results
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
| 0.4524 | 0.7813 | 0.4397 | 0.7969 | 0 |
| 0.4215 | 0.8030 | 0.4838 | 0.7781 | 1 |
| 0.4221 | 0.8025 | 0.4418 | 0.8094 | 2 |
### Framework versions
- Transformers 4.21.1
- TensorFlow 2.8.2
- Datasets 2.2.2
- Tokenizers 0.12.1
### Supporter
![BMBF Logo](./BMBF_Logo.png)
|