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
Download reports/multilingual.json from KucLab/Censer.8: direct link, hf CLI and curl.
- Browser
- Download file 3.23 kB
-
https://huggingface.co/KucLab/Censer.8/resolve/main/reports/multilingual.json
- Command line
-
hf download hf://KucLab/Censer.8/reports/multilingual.json
-
curl -L -o multilingual.json https://huggingface.co/KucLab/Censer.8/resolve/main/reports/multilingual.json
3.23 kB
| { | |
| "checkpoint": "checkpoints8f/epoch2.pt", | |
| "results": { | |
| "textdetox_am": { | |
| "n": 800, | |
| "unsafe": 385, | |
| "f1@0.5": 0.10161662817551963, | |
| "acc@0.5": 0.51375, | |
| "best_f1": 0.4228571428571429, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_ar": { | |
| "n": 800, | |
| "unsafe": 387, | |
| "f1@0.5": 0.005128205128205128, | |
| "acc@0.5": 0.515, | |
| "best_f1": 0.0995260663507109, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_de": { | |
| "n": 800, | |
| "unsafe": 397, | |
| "f1@0.5": 0.5582586427656849, | |
| "acc@0.5": 0.56875, | |
| "best_f1": 0.6765249537892791, | |
| "best_thr": 0.17 | |
| }, | |
| "textdetox_en": { | |
| "n": 800, | |
| "unsafe": 391, | |
| "f1@0.5": 0.8136363636363636, | |
| "acc@0.5": 0.795, | |
| "best_f1": 0.8368421052631578, | |
| "best_thr": 0.71 | |
| }, | |
| "textdetox_es": { | |
| "n": 800, | |
| "unsafe": 408, | |
| "f1@0.5": 0.6192090395480226, | |
| "acc@0.5": 0.57875, | |
| "best_f1": 0.672929120409906, | |
| "best_thr": 0.09 | |
| }, | |
| "textdetox_fr": { | |
| "n": 800, | |
| "unsafe": 391, | |
| "f1@0.5": 0.4838709677419355, | |
| "acc@0.5": 0.6, | |
| "best_f1": 0.6764976958525346, | |
| "best_thr": 0.08 | |
| }, | |
| "textdetox_he": { | |
| "n": 800, | |
| "unsafe": 332, | |
| "f1@0.5": 0.029411764705882353, | |
| "acc@0.5": 0.5875, | |
| "best_f1": 0.19948849104859337, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_hi": { | |
| "n": 800, | |
| "unsafe": 409, | |
| "f1@0.5": 0.0, | |
| "acc@0.5": 0.48875, | |
| "best_f1": 0.009732360097323601, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_hin": { | |
| "n": 800, | |
| "unsafe": 394, | |
| "f1@0.5": 0.5029585798816568, | |
| "acc@0.5": 0.58, | |
| "best_f1": 0.6386740331491714, | |
| "best_thr": 0.1 | |
| }, | |
| "textdetox_it": { | |
| "n": 800, | |
| "unsafe": 409, | |
| "f1@0.5": 0.5684754521963824, | |
| "acc@0.5": 0.5825, | |
| "best_f1": 0.6765922249793217, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_ja": { | |
| "n": 800, | |
| "unsafe": 409, | |
| "f1@0.5": 0.0, | |
| "acc@0.5": 0.48875, | |
| "best_f1": 0.0, | |
| "best_thr": 0.5 | |
| }, | |
| "textdetox_ru": { | |
| "n": 800, | |
| "unsafe": 391, | |
| "f1@0.5": 0.22317596566523606, | |
| "acc@0.5": 0.5475, | |
| "best_f1": 0.6358267716535433, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_tt": { | |
| "n": 800, | |
| "unsafe": 403, | |
| "f1@0.5": 0.43308270676691724, | |
| "acc@0.5": 0.52875, | |
| "best_f1": 0.6391959798994975, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_uk": { | |
| "n": 800, | |
| "unsafe": 391, | |
| "f1@0.5": 0.2469635627530364, | |
| "acc@0.5": 0.535, | |
| "best_f1": 0.6296992481203008, | |
| "best_thr": 0.05 | |
| }, | |
| "textdetox_zh": { | |
| "n": 800, | |
| "unsafe": 409, | |
| "f1@0.5": 0.0, | |
| "acc@0.5": 0.48625, | |
| "best_f1": 0.2086614173228346, | |
| "best_thr": 0.05 | |
| }, | |
| "synth_cs": { | |
| "n": 300, | |
| "unsafe": 150, | |
| "f1@0.5": 1.0, | |
| "acc@0.5": 1.0 | |
| }, | |
| "synth_de": { | |
| "n": 300, | |
| "unsafe": 150, | |
| "f1@0.5": 1.0, | |
| "acc@0.5": 1.0 | |
| }, | |
| "synth_es": { | |
| "n": 300, | |
| "unsafe": 150, | |
| "f1@0.5": 1.0, | |
| "acc@0.5": 1.0 | |
| }, | |
| "synth_fr": { | |
| "n": 300, | |
| "unsafe": 150, | |
| "f1@0.5": 1.0, | |
| "acc@0.5": 1.0 | |
| } | |
| } | |
| } |