Text Generation
PEFT
Safetensors
English
code
security
vulnerability-detection
injection
code-analysis
lora
qwen2
cybersecurity
sast
cwe
conversational
Eval Results (legacy)
Instructions to use vikramdgx/injection-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vikramdgx/injection-vulnerability-detector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-7B-Instruct") model = PeftModel.from_pretrained(base_model, "vikramdgx/injection-vulnerability-detector") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -16,8 +16,6 @@ datasets:
|
|
| 16 |
- hitoshura25/cvefixes
|
| 17 |
- claudios/DiverseVul
|
| 18 |
- CyberNative/Code_Vulnerability_Security_DPO
|
| 19 |
-
- UCSB-SURFI/VulnLLM-R-Train-Data
|
| 20 |
-
- CIRCL/vulnerability-cwe-patch
|
| 21 |
language:
|
| 22 |
- en
|
| 23 |
- code
|
|
@@ -315,14 +313,12 @@ with our original synthetic generation. We gratefully acknowledge the dataset cr
|
|
| 315 |
| [CVEfixes](https://huggingface.co/datasets/hitoshura25/cvefixes) | Bhandari et al. | Apache 2.0 (data: CC BY 4.0) | Real-world vuln + patch pairs |
|
| 316 |
| [DiverseVul](https://huggingface.co/datasets/claudios/DiverseVul) | Chen & Bhatt (RAID 2023) | Not specified on HF card | Safe code (non-vuln functions) |
|
| 317 |
| [Code Vulnerability Security DPO](https://huggingface.co/datasets/CyberNative/Code_Vulnerability_Security_DPO) | CyberNative AI | Apache 2.0 | Injection code examples |
|
| 318 |
-
| [VulnLLM-R Train Data](https://huggingface.co/datasets/UCSB-SURFI/VulnLLM-R-Train-Data) | UCSB SURFI | Not specified on HF card | Real-world vuln functions |
|
| 319 |
-
| [CIRCL Vulnerability CWE Patch](https://huggingface.co/datasets/CIRCL/vulnerability-cwe-patch) | CIRCL (Luxembourg CERT) | Not specified on HF card | Vuln + patch pairs |
|
| 320 |
| **Template-based synthetic generator** | **Original work** | **Apache 2.0** | **CWE-specific injection samples (core contribution)** |
|
| 321 |
|
| 322 |
**License notes:**
|
| 323 |
|
| 324 |
-
-
|
| 325 |
-
|
| 326 |
weights are original work released under Apache 2.0, but users should check the
|
| 327 |
current licensing status of these upstream datasets before commercial deployment.
|
| 328 |
|
|
|
|
| 16 |
- hitoshura25/cvefixes
|
| 17 |
- claudios/DiverseVul
|
| 18 |
- CyberNative/Code_Vulnerability_Security_DPO
|
|
|
|
|
|
|
| 19 |
language:
|
| 20 |
- en
|
| 21 |
- code
|
|
|
|
| 313 |
| [CVEfixes](https://huggingface.co/datasets/hitoshura25/cvefixes) | Bhandari et al. | Apache 2.0 (data: CC BY 4.0) | Real-world vuln + patch pairs |
|
| 314 |
| [DiverseVul](https://huggingface.co/datasets/claudios/DiverseVul) | Chen & Bhatt (RAID 2023) | Not specified on HF card | Safe code (non-vuln functions) |
|
| 315 |
| [Code Vulnerability Security DPO](https://huggingface.co/datasets/CyberNative/Code_Vulnerability_Security_DPO) | CyberNative AI | Apache 2.0 | Injection code examples |
|
|
|
|
|
|
|
| 316 |
| **Template-based synthetic generator** | **Original work** | **Apache 2.0** | **CWE-specific injection samples (core contribution)** |
|
| 317 |
|
| 318 |
**License notes:**
|
| 319 |
|
| 320 |
+
- The DiverseVul dataset does not declare an explicit license on its HuggingFace
|
| 321 |
+
card as of this writing. This model's own adapter
|
| 322 |
weights are original work released under Apache 2.0, but users should check the
|
| 323 |
current licensing status of these upstream datasets before commercial deployment.
|
| 324 |
|