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/long_context_ft3.json from KucLab/Censer.9: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/KucLab/Censer.9/resolve/main/reports/long_context_ft3.json
- Command line
-
hf download hf://KucLab/Censer.9/reports/long_context_ft3.json
-
curl -L -o long_context_ft3.json https://huggingface.co/KucLab/Censer.9/resolve/main/reports/long_context_ft3.json
407 Bytes
| { | |
| "checkpoint": "checkpoints_ft3/final.pt", | |
| "ctx": 4096, | |
| "n_docs": 300, | |
| "avg_chars": 6533.31, | |
| "avg_tokens": 2178.21, | |
| "results": { | |
| "truncate_192_tokens": { | |
| "acc": 0.37, | |
| "f1": 0.5401459854014599 | |
| }, | |
| "native_4096_tokens": { | |
| "acc": 0.01, | |
| "f1": 0.019801980198019802 | |
| }, | |
| "chunked_beyond_4096": { | |
| "acc": 0.01, | |
| "f1": 0.019801980198019802 | |
| } | |
| } | |
| } |