Commit
·
c40d831
1
Parent(s):
78790c1
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,14 @@ pipeline_tag: text-classification
|
|
| 11 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 12 |
Turkish Toxic Comment Classifier trained on Turkish comments filtered from Jigsaw Multilingual Toxic Comment Classification.
|
| 13 |
The model weights are initialized with [dbmdz/convbert-base-turkish-mc4-uncased](https://huggingface.co/dbmdz/convbert-base-turkish-mc4-uncased)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 12 |
Turkish Toxic Comment Classifier trained on Turkish comments filtered from Jigsaw Multilingual Toxic Comment Classification.
|
| 13 |
The model weights are initialized with [dbmdz/convbert-base-turkish-mc4-uncased](https://huggingface.co/dbmdz/convbert-base-turkish-mc4-uncased)
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Quick Usage
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
from transformers import pipeline
|
| 20 |
+
pipe = pipeline("text-classification", model="gokceuludogan/convbert-base-turkish-mc4-toxicity-uncased")
|
| 21 |
+
pipe("Ulan sen bizim köyü bizden iyi mi tanıyorsun ki bizim yazdıklarımızı siliyorsun?")
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
`LABEL_1` denotes `Toxic` while `LABEL_0` refers to `Neutral`.
|