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 ·
a432366
1
Parent(s): 281ae55
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,10 +40,9 @@ As toxic, we defined comments that are inappropriate in whole or in part. By ina
|
|
| 40 |
**Batch size:** 32
|
| 41 |
**Epochs:** 4
|
| 42 |
**Max. tokens length:** 512
|
|
|
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
-
**Infrastructure**: 1x RTX 6000
|
| 46 |
-
**Published**: Oct 24th, 2023
|
| 47 |
## Evaluation results
|
| 48 |
|
| 49 |
coming soon
|
|
|
|
| 40 |
**Batch size:** 32
|
| 41 |
**Epochs:** 4
|
| 42 |
**Max. tokens length:** 512
|
| 43 |
+
**Infrastructure**: 1x RTX 6000
|
| 44 |
+
**Published**: Oct 24th, 2023
|
| 45 |
|
|
|
|
|
|
|
|
|
|
| 46 |
## Evaluation results
|
| 47 |
|
| 48 |
coming soon
|