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
|
@@ -236,6 +236,7 @@ For safe code, the model returns:
|
|
| 236 |
| Parameter | Value |
|
| 237 |
|-----------|-------|
|
| 238 |
| Base model | Qwen/Qwen2.5-Coder-7B-Instruct |
|
|
|
|
| 239 |
| Method | LoRA (PEFT) |
|
| 240 |
| LoRA rank (r) | 16 |
|
| 241 |
| LoRA alpha | 32 |
|
|
|
|
| 236 |
| Parameter | Value |
|
| 237 |
|-----------|-------|
|
| 238 |
| Base model | Qwen/Qwen2.5-Coder-7B-Instruct |
|
| 239 |
+
| Base model checkpoint used | `unsloth/Qwen2.5-Coder-7B-Instruct` (Unsloth mirror of the same Apache-2.0 weights; the adapter loads against either) |
|
| 240 |
| Method | LoRA (PEFT) |
|
| 241 |
| LoRA rank (r) | 16 |
|
| 242 |
| LoRA alpha | 32 |
|