Minuva Models
Collection
Fast and light models for conversational data.
•
12 items
•
Updated
•
1
This model is a fined-tuned version of MiniLMv2-L6-H384 on the on the Jigsaw 1st Kaggle competition dataset using unitary/toxic-bert as teacher model. The quantized version in ONNX format can be found here.
The model with two labels only (toxicity and severe toxicity) is here
from transformers import pipeline
pipe = pipeline(model='minuva/MiniLMv2-toxic-jigsaw', task='text-classification')
pipe("This is pure trash")
# [{'label': 'toxic', 'score': 0.9383478164672852}]
The following hyperparameters were used during training:
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 |
Check out fast-nlp-text-toxicity repository for a FastAPI based server to deploy this model in CPU devices.