Commit ·
cf49bd7
1
Parent(s): 90e949b
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,8 @@ This model is a fine-tuned version of the [BERT-base-german-cased model by deeps
|
|
| 12 |
You can use the model with the following code.
|
| 13 |
|
| 14 |
```python
|
|
|
|
|
|
|
| 15 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, TextClassificationPipeline
|
| 16 |
|
| 17 |
model_path = "ankekat1000/toxic-bert-german"
|
|
|
|
| 12 |
You can use the model with the following code.
|
| 13 |
|
| 14 |
```python
|
| 15 |
+
#!pip install transformers
|
| 16 |
+
|
| 17 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, TextClassificationPipeline
|
| 18 |
|
| 19 |
model_path = "ankekat1000/toxic-bert-german"
|