Downloads · 30 days
8
17% of all-time downloads
Umair011/pyguard-v3
pyguard-v3 is a machine learning model from Umair011. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
PyGuard V4 is a fine-tuned Microsoft CodeBERT model for detecting security vulnerabilities in Python code. It improves upon VUDENC (Wartschinski et al. 2022) by replacing Word2Vec+LSTM with CodeBERT.
Downloads · 30 days
8
17% of all-time downloads
All-time downloads
47
Public
Repo size
499 MB
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 99%
From the Hugging Face model README
PyGuard V4 is a fine-tuned Microsoft CodeBERT model for detecting security vulnerabilities in Python code. It improves upon VUDENC (Wartschinski et al. 2022) by replacing Word2Vec+LSTM with CodeBERT.
| Metric | VUDENC (LSTM) | PyGuard V2 (CodeBERT) | Improvement |
|---|---|---|---|
| Precision | 82-96% | 100.00% | +4-18% |
| Recall | 78-87% | 100.00% | +13-22% |
| F1 Score | 80-90% | 100.00% | +10-20% |
| Accuracy | N/A | 100.00% | — |
@article{wartschinski2022vudenc,
title={VUDENC: Vulnerability Detection with Deep Learning
on a Natural Codebase for Python},
author={Wartschinski, Laura and Noller, Yannic and
Vogel, Thomas and Kehrer, Timo and Grunske, Lars},
journal={Information and Software Technology},
volume={144},
year={2022}
}