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
|
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
-
-
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
library_name: transformers
|
| 9 |
---
|
|
@@ -206,5 +206,4 @@ Cisco AI
|
|
| 206 |
|
| 207 |
## Model Card Contact
|
| 208 |
|
| 209 |
-
For inquiries, please contact [Cisco AI](mailto:eaghaei@cisco.com)
|
| 210 |
-
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
+
- cisco-ai/SecureBERT2.0-base
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
library_name: transformers
|
| 9 |
---
|
|
|
|
| 206 |
|
| 207 |
## Model Card Contact
|
| 208 |
|
| 209 |
+
For inquiries, please contact [Cisco AI](mailto:eaghaei@cisco.com)
|
|
|