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

Unplug-AI
/
unplug-tiny-v1

Text Classification
Transformers
Safetensors
English
deberta-v2
prompt-injection
security
span-detection
guardrails
ai-safety
agents
llm-security
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Unplug-AI/unplug-tiny-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Unplug-AI/unplug-tiny-v1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Unplug-AI/unplug-tiny-v1")
    # Load model directly
    from transformers import AutoTokenizer, DebertaV2ForDualHead
    
    tokenizer = AutoTokenizer.from_pretrained("Unplug-AI/unplug-tiny-v1")
    model = DebertaV2ForDualHead.from_pretrained("Unplug-AI/unplug-tiny-v1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
unplug-tiny-v1
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chiruu12's picture
chiruu12
initial commit
eb7e1fc verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago