Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

KucLab
/
Censer.3

Text Classification
Transformers
Safetensors
English
llama
safety
content-moderation
tiny-language-model
from-scratch
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use KucLab/Censer.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KucLab/Censer.3 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="KucLab/Censer.3")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.3")
    model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.3", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Censer.3
58.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
KucLab's picture
KucLab
Add comparison charts vs other safety classifiers
e4d7ec2 verified about 17 hours ago
  • figs
    Add comparison charts vs other safety classifiers about 17 hours ago
  • .gitattributes
    1.58 kB
    Add comparison charts vs other safety classifiers about 17 hours ago
  • README.md
    10.3 kB
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • censer.3
    904 Bytes
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • censer.py
    11.8 kB
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • config.json
    858 Bytes
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • model.safetensors
    57.7 MB
    xet
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • tokenizer.json
    263 kB
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago
  • tokenizer_config.json
    128 Bytes
    Standard LlamaForSequenceClassification layout: loads with plain transformers, no trust_remote_code about 17 hours ago