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.9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.9 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.9")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.9") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.9", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download reports/lang_thresholds.json from KucLab/Censer.9: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/KucLab/Censer.9/resolve/main/reports/lang_thresholds.json
- Command line
-
hf download hf://KucLab/Censer.9/reports/lang_thresholds.json
-
curl -L -o lang_thresholds.json https://huggingface.co/KucLab/Censer.9/resolve/main/reports/lang_thresholds.json
293 Bytes
| { | |
| "default": 0.5, | |
| "tuned_on": "tune half of textdetox per language", | |
| "target": "FPR<=5% on benign tune rows, floor 0.3; kept only for languages with full-set F1@0.5 >= 0.45", | |
| "langs": { | |
| "de": 0.92, | |
| "en": 0.79, | |
| "es": 0.5, | |
| "fr": 0.89, | |
| "hin": 0.87, | |
| "it": 0.9 | |
| } | |
| } |