Text Classification
Transformers
Safetensors
code
roberta
codebert
vulnerability-detection
cybersecurity
software-security
static-analysis
text-embeddings-inference
Instructions to use Khansa-saAI-29/final-codebert-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Khansa-saAI-29/final-codebert-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Khansa-saAI-29/final-codebert-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Khansa-saAI-29/final-codebert-model") model = AutoModelForSequenceClassification.from_pretrained("Khansa-saAI-29/final-codebert-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Fine-tuned CodeBERT for Vulnerability Detection
|
| 2 |
|
| 3 |
## Description
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- code
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-classification
|
| 7 |
+
base_model: microsoft/codebert-base
|
| 8 |
+
datasets:
|
| 9 |
+
- DiverseVul
|
| 10 |
+
tags:
|
| 11 |
+
- codebert
|
| 12 |
+
- vulnerability-detection
|
| 13 |
+
- cybersecurity
|
| 14 |
+
- software-security
|
| 15 |
+
- static-analysis
|
| 16 |
+
- transformers
|
| 17 |
+
metrics:
|
| 18 |
+
- accuracy
|
| 19 |
+
- precision
|
| 20 |
+
- recall
|
| 21 |
+
- f1
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# Fine-tuned CodeBERT for Vulnerability Detection---
|
| 25 |
+
license: apache-2.0
|
| 26 |
+
base_model:
|
| 27 |
+
- microsoft/codebert-base
|
| 28 |
+
library_name: transformers
|
| 29 |
+
---
|
| 30 |
# Fine-tuned CodeBERT for Vulnerability Detection
|
| 31 |
|
| 32 |
## Description
|