Instructions to use ankekat1000/toxic-bert-german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ankekat1000/toxic-bert-german with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ankekat1000/toxic-bert-german")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ankekat1000/toxic-bert-german") model = AutoModelForSequenceClassification.from_pretrained("ankekat1000/toxic-bert-german", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a4942e0
1
Parent(s): 7631206
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,7 +33,16 @@ As toxic, we defined comments that are inappropriate in whole or in part. By ina
|
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
## Evaluation results
|
| 38 |
|
| 39 |
coming soon
|
|
|
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
|
| 36 |
+
**Language model:** bert-base-cased (~ 12GB)
|
| 37 |
+
**Language:** German
|
| 38 |
+
**Training data:** User comments posted to webistes and facebook pages of German news media, user comments posted to online participation platforms (~ 14,000)
|
| 39 |
+
|
| 40 |
+
**Batch size:** 32
|
| 41 |
+
**Epochs:** 4
|
| 42 |
+
**max. Tokens Length:** 512
|
| 43 |
+
|
| 44 |
+
**Infrastructure**: 1x RTX 6000
|
| 45 |
+
**Published**: Oct 24th, 2023
|
| 46 |
## Evaluation results
|
| 47 |
|
| 48 |
coming soon
|