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 tokenizer_config.json from KucLab/Censer.8: direct link, hf CLI and curl.
- Browser
- Download file 156 Bytes
-
https://huggingface.co/KucLab/Censer.8/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://KucLab/Censer.8/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/KucLab/Censer.8/resolve/main/tokenizer_config.json
156 Bytes
| { | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "pad_token": "[PAD]", | |
| "bos_token": "[BOS]", | |
| "eos_token": "[ASSISTANT]", | |
| "model_max_length": 4096 | |
| } |