Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

tech5
/
my-model

Text Classification
Transformers
Safetensors
English
distilbert
jailbreak-detection
prompt-safety
llm-security
classification
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use tech5/my-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tech5/my-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="tech5/my-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("tech5/my-model")
    model = AutoModelForSequenceClassification.from_pretrained("tech5/my-model")
  • Notebooks
  • Google Colab
  • Kaggle
my-model
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
tech5's picture
tech5
Upload DistilBertForSequenceClassification
d3ec8fb verified 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • README.md
    1.1 kB
    Update 3 days ago
  • config.json
    759 Bytes
    Upload DistilBertForSequenceClassification 3 days ago
  • model.safetensors
    268 MB
    xet
    Upload DistilBertForSequenceClassification 3 days ago
  • tokenizer.json
    712 kB
    Upload tokenizer 3 days ago
  • tokenizer_config.json
    322 Bytes
    Upload tokenizer 3 days ago