Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ The quantized version in ONNX format can be found [here](minuva/MiniLMv2-toxic-j
|
|
13 |
```py
|
14 |
from transformers import pipeline
|
15 |
|
16 |
-
pipe = pipeline(model='
|
17 |
pipe("This is pure trash")
|
18 |
# [{'label': 'toxic', 'score': 0.9383478164672852}]
|
19 |
```
|
|
|
13 |
```py
|
14 |
from transformers import pipeline
|
15 |
|
16 |
+
pipe = pipeline(model='minuva/MiniLMv2-toxic-jijgsaw', task='text-classification')
|
17 |
pipe("This is pure trash")
|
18 |
# [{'label': 'toxic', 'score': 0.9383478164672852}]
|
19 |
```
|