Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

louivis
/
encoder-guard

Text Classification
Transformers
Safetensors
Chinese
English
content-moderation
safety
encoder
qwen2
bidirectional
chinese
Model card Files Files and versions
xet
Community

Instructions to use louivis/encoder-guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use louivis/encoder-guard with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="louivis/encoder-guard")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("louivis/encoder-guard", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
encoder-guard
1,000 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
louivis's picture
louivis
Upload folder using huggingface_hub
12603e5 verified about 14 hours ago
  • backbone
    Upload folder using huggingface_hub about 14 hours ago
  • .gitattributes
    110 Bytes
    Upload folder using huggingface_hub about 14 hours ago
  • README.md
    5.74 kB
    Upload folder using huggingface_hub about 14 hours ago
  • heads.safetensors
    293 kB
    xet
    Upload folder using huggingface_hub about 14 hours ago
  • model_config.json
    253 Bytes
    Upload folder using huggingface_hub about 14 hours ago
  • threshold.json
    946 Bytes
    Upload folder using huggingface_hub about 14 hours ago
  • train_log.jsonl
    32.5 kB
    Upload folder using huggingface_hub about 14 hours ago