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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturef260674 -
Update README.md
Verified signature5bed2dc -
Update README.md
Verified signature3735479 -
Update README.md
Verified signature8160d7b -
Update README.md
Verified signature7cbdb2f -
Update README.md
Verified signatureb1e4a97 -
Update README.md
Verified signaturef20d8b0
-
Update README.md
Verified signature61359e4 -
Update README.md
Verified signatureea797ed
-
Update README.md
Verified signature49a33f6
-
Update README.md
Verified signaturee493cdf -
Update README.md
Verified signaturea58ba75 -
Upload folder using huggingface_hub
Verified signatured53eed6 -
initial commit
Verified signature9843936