Views
No views yet
1from transformers import pipeline
2
3pipe = pipeline(model='minuva/MiniLMv2-toxic-jigsaw', task='text-classification')
4pipe("This is pure trash")
5# [{'label': 'toxic', 'score': 0.9383478164672852}]| Teacher (params) | Student (params) | Set (metric) | Score (teacher) | Score (student) |
|---|---|---|---|---|
| unitary/toxic-bert (110M) | MiniLMv2-toxic-jigsaw (23M) | Test (ROC_AUC) | 0.98636 | 0.98600 |