Text Classification
Transformers
Safetensors
English
llama
safety
content-moderation
tiny-language-model
from-scratch
text-embeddings-inference
Instructions to use KucLab/Censer.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.2") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from KucLab/Censer.2: direct link, hf CLI and curl.
- Browser
- Download file 29.4 MB
-
https://huggingface.co/KucLab/Censer.2/resolve/main/model.safetensors
- Command line
-
hf download hf://KucLab/Censer.2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/KucLab/Censer.2/resolve/main/model.safetensors
29.4 MB
- Xet hash:
- 36457b39f132c5fcf892e92d18fcf17d01669f81f090d0430828e3cb8fbf5ffb
- Size of remote file:
- 29.4 MB
- SHA256:
- b192b2a6dad7031cca40cff9dd25c00e771d3f7e2a1ddf661747b521189cfc21
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.