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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# ModernBERT Code Vulnerability Detection Model
|
| 2 |
|
| 3 |
This is a ModernBERT model fine-tuned for **Code Vulnerability Detection**.
|
|
@@ -89,4 +98,4 @@ Reference:
|
|
| 89 |
journal={arXiv preprint arXiv:2510.00240},
|
| 90 |
year={2025}
|
| 91 |
}
|
| 92 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- CiscoAITeam/SecureBERT2.0-base
|
| 7 |
+
pipeline_tag: text-classification
|
| 8 |
+
library_name: transformers
|
| 9 |
+
---
|
| 10 |
# ModernBERT Code Vulnerability Detection Model
|
| 11 |
|
| 12 |
This is a ModernBERT model fine-tuned for **Code Vulnerability Detection**.
|
|
|
|
| 98 |
journal={arXiv preprint arXiv:2510.00240},
|
| 99 |
year={2025}
|
| 100 |
}
|
| 101 |
+
```
|