Text Classification
Transformers
ONNX
Safetensors
llama
safety
content-moderation
multi-label
multilingual
tiny-language-model
from-scratch
distilled
text-embeddings-inference
Instructions to use KucLab/Censer.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.8") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,313 Bytes
1545f12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Multilingual eval
| set | n | unsafe | F1@0.5 | acc@0.5 | best F1 |
| --- | --- | --- | --- | --- | --- |
| textdetox_am | 800 | 385 | 0.1016 | 0.5138 | 0.4228571428571429 |
| textdetox_ar | 800 | 387 | 0.0051 | 0.5150 | 0.0995260663507109 |
| textdetox_de | 800 | 397 | 0.5583 | 0.5687 | 0.6765249537892791 |
| textdetox_en | 800 | 391 | 0.8136 | 0.7950 | 0.8368421052631578 |
| textdetox_es | 800 | 408 | 0.6192 | 0.5787 | 0.672929120409906 |
| textdetox_fr | 800 | 391 | 0.4839 | 0.6000 | 0.6764976958525346 |
| textdetox_he | 800 | 332 | 0.0294 | 0.5875 | 0.19948849104859337 |
| textdetox_hi | 800 | 409 | 0.0000 | 0.4888 | 0.009732360097323601 |
| textdetox_hin | 800 | 394 | 0.5030 | 0.5800 | 0.6386740331491714 |
| textdetox_it | 800 | 409 | 0.5685 | 0.5825 | 0.6765922249793217 |
| textdetox_ja | 800 | 409 | 0.0000 | 0.4888 | 0.0 |
| textdetox_ru | 800 | 391 | 0.2232 | 0.5475 | 0.6358267716535433 |
| textdetox_tt | 800 | 403 | 0.4331 | 0.5288 | 0.6391959798994975 |
| textdetox_uk | 800 | 391 | 0.2470 | 0.5350 | 0.6296992481203008 |
| textdetox_zh | 800 | 409 | 0.0000 | 0.4863 | 0.2086614173228346 |
| synth_cs | 300 | 150 | 1.0000 | 1.0000 | — |
| synth_de | 300 | 150 | 1.0000 | 1.0000 | — |
| synth_es | 300 | 150 | 1.0000 | 1.0000 | — |
| synth_fr | 300 | 150 | 1.0000 | 1.0000 | — |
|