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.1

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.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KucLab/Censer.1 with Transformers:

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