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

Kuantum-ai1
/
TinyGuard1-22M

Text Classification
Transformers
Safetensors
English
bert
spam-detection
phishing-detection
prompt-injection
security
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Kuantum-ai1/TinyGuard1-22M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Kuantum-ai1/TinyGuard1-22M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Kuantum-ai1/TinyGuard1-22M")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Kuantum-ai1/TinyGuard1-22M")
    model = AutoModelForSequenceClassification.from_pretrained("Kuantum-ai1/TinyGuard1-22M", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
TinyGuard1-22M
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Kuantum-ai1's picture
Kuantum-ai1
Upload README.md with huggingface_hub
c585c0b verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    2.62 kB
    Upload README.md with huggingface_hub 4 days ago
  • config.json
    1.01 kB
    Upload BertForSequenceClassification 4 days ago
  • model.safetensors
    90.9 MB
    xet
    Upload BertForSequenceClassification 4 days ago
  • tokenizer.json
    711 kB
    Upload tokenizer 4 days ago
  • tokenizer_config.json
    403 Bytes
    Upload tokenizer 4 days ago