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
|
@@ -137,7 +137,7 @@ Evaluated across:
|
|
| 137 |
- Precision
|
| 138 |
- Recall
|
| 139 |
- F1-score
|
| 140 |
-
|
| 141 |
### Results
|
| 142 |
|
| 143 |
| Model | Accuracy | F1 | Recall | Precision |
|
|
|
|
| 137 |
- Precision
|
| 138 |
- Recall
|
| 139 |
- F1-score
|
| 140 |
+
|
| 141 |
### Results
|
| 142 |
|
| 143 |
| Model | Accuracy | F1 | Recall | Precision |
|