Instructions to use mahdin70/unixcoder-code-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mahdin70/unixcoder-code-vulnerability-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mahdin70/unixcoder-code-vulnerability-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector") model = AutoModelForSequenceClassification.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
| 4 |
-
- Vulnerability
|
| 5 |
- C/C++
|
|
|
|
|
|
|
| 6 |
- Detection
|
| 7 |
datasets:
|
| 8 |
- DetectVul/devign
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
|
|
|
| 4 |
- C/C++
|
| 5 |
+
- Code
|
| 6 |
+
- Vulnerability
|
| 7 |
- Detection
|
| 8 |
datasets:
|
| 9 |
- DetectVul/devign
|