updated README.md with information abt labels and how to download model
Browse files
README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
| 1 |
---
|
| 2 |
license: openrail++
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: openrail++
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
Labels:
|
| 6 |
+
|
| 7 |
+
LABEL_1 - toxic speech
|
| 8 |
+
|
| 9 |
+
LABEL_0 - non-toxic speech
|
| 10 |
+
|
| 11 |
+
How to use:
|
| 12 |
+
|
| 13 |
+
```
|
| 14 |
+
from transformers import pipeline
|
| 15 |
+
|
| 16 |
+
classifier = pipeline("text-classification",
|
| 17 |
+
model="ukr-detect/toxicspeech-ukr")
|
| 18 |
+
```
|