Add comprehensive model card with security evaluation results
Browse files
README.md
CHANGED
|
@@ -47,8 +47,8 @@ This LoRA adapter enhances Qwen/Qwen2.5-Coder-0.5B-Instruct to generate secure c
|
|
| 47 |
- **LoRA Rank**: 64
|
| 48 |
- **LoRA Alpha**: 128
|
| 49 |
- **Training Samples**: 195
|
| 50 |
-
- **Security Evaluation Pass Rate**:
|
| 51 |
-
- **Average Security Score**: 0.
|
| 52 |
|
| 53 |
### Vulnerability Prevention Results
|
| 54 |
|
|
@@ -56,7 +56,7 @@ This LoRA adapter enhances Qwen/Qwen2.5-Coder-0.5B-Instruct to generate secure c
|
|
| 56 |
|-------------------|-------|---------|
|
| 57 |
| SQL Injection | 0 | β
|
|
| 58 |
| Command Injection | 0 | β
|
|
| 59 |
-
| Path Traversal |
|
| 60 |
| Weak Cryptography | 0 | β
|
|
| 61 |
| Hardcoded Secrets | 0 | β
|
|
| 62 |
|
|
@@ -142,8 +142,8 @@ def login_user(username, password):
|
|
| 142 |
- **Objective**: Minimize security vulnerabilities while maintaining functionality
|
| 143 |
- **Reward Signal**: Negative correlation with Semgrep security score
|
| 144 |
- **Batch Size**: 1 with 8x gradient accumulation
|
| 145 |
-
- **Learning Rate**:
|
| 146 |
-
- **Epochs**:
|
| 147 |
|
| 148 |
## π Evaluation
|
| 149 |
|
|
|
|
| 47 |
- **LoRA Rank**: 64
|
| 48 |
- **LoRA Alpha**: 128
|
| 49 |
- **Training Samples**: 195
|
| 50 |
+
- **Security Evaluation Pass Rate**: 20.0%
|
| 51 |
+
- **Average Security Score**: 0.40 (lower is better)
|
| 52 |
|
| 53 |
### Vulnerability Prevention Results
|
| 54 |
|
|
|
|
| 56 |
|-------------------|-------|---------|
|
| 57 |
| SQL Injection | 0 | β
|
|
| 58 |
| Command Injection | 0 | β
|
|
| 59 |
+
| Path Traversal | 2 | β
|
|
| 60 |
| Weak Cryptography | 0 | β
|
|
| 61 |
| Hardcoded Secrets | 0 | β
|
|
| 62 |
|
|
|
|
| 142 |
- **Objective**: Minimize security vulnerabilities while maintaining functionality
|
| 143 |
- **Reward Signal**: Negative correlation with Semgrep security score
|
| 144 |
- **Batch Size**: 1 with 8x gradient accumulation
|
| 145 |
+
- **Learning Rate**: 3e-06
|
| 146 |
+
- **Epochs**: 5
|
| 147 |
|
| 148 |
## π Evaluation
|
| 149 |
|