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.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.6") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
model card: note category-score calibration
Browse files
README.md
CHANGED
|
@@ -286,7 +286,7 @@ Files:
|
|
| 286 |
- Multilingual coverage is strongest for cs/de/es/fr (synthetic + curated
|
| 287 |
training data); other languages work via the byte-level tokenizer but with
|
| 288 |
lower accuracy.
|
| 289 |
-
- Categories are multi-label and independent — a text can fire several.
|
| 290 |
- Single-pass inference pools the last token, so in very long documents unsafe
|
| 291 |
content can be diluted — use the built-in chunked-max inference (default in
|
| 292 |
`censer.py` / the API) for long documents.
|
|
|
|
| 286 |
- Multilingual coverage is strongest for cs/de/es/fr (synthetic + curated
|
| 287 |
training data); other languages work via the byte-level tokenizer but with
|
| 288 |
lower accuracy.
|
| 289 |
+
- Categories are multi-label and independent — a text can fire several. Category scores are less calibrated than the binary safe/unsafe score (they fire more liberally); the binary verdict is the primary signal.
|
| 290 |
- Single-pass inference pools the last token, so in very long documents unsafe
|
| 291 |
content can be diluted — use the built-in chunked-max inference (default in
|
| 292 |
`censer.py` / the API) for long documents.
|