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

  • Log In
  • Sign Up

cisco-ai
/
SecureBERT2.0-code-vuln-detection

Text Classification
Transformers
Safetensors
English
modernbert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use cisco-ai/SecureBERT2.0-code-vuln-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cisco-ai/SecureBERT2.0-code-vuln-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="cisco-ai/SecureBERT2.0-code-vuln-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("cisco-ai/SecureBERT2.0-code-vuln-detection")
    model = AutoModelForSequenceClassification.from_pretrained("cisco-ai/SecureBERT2.0-code-vuln-detection")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
SecureBERT2.0-code-vuln-detection
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
cisco-ehsan's picture
cisco-ehsan
Update README.md
f260674 verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    6.5 kB
    Update README.md 6 months ago
  • config.json
    1.23 kB
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors
    598 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub 7 months ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 7 months ago
  • tokenizer_config.json
    20.8 kB
    Upload folder using huggingface_hub 7 months ago