baceer-codebert / README.md
remasquma's picture
Add Model Card README
dbfd484 verified
|
Raw History Blame Contribute Delete
758 Bytes
---
language: en
license: mit
tags:
- cybersecurity
- vulnerability-detection
- codebert
- injection
- baseerasec
---
# Baceer CodeBERT V3
Specialized Transformer model for code injection and malicious payload detection (SQLi, CMDi, XSS, Dynamic Execution, and Deserialization patterns).
Fine-tuned on the audited hybrid dataset with targeted benign hard-negative samples to eliminate false positives on safe source code.
## Model Details
- **Architecture:** `RobertaForSequenceClassification` (12 layers, 768 hidden, 12 heads)
- **Base Model:** `microsoft/codebert-base`
- **Classes:**
- `0`: BENIGN
- `1`: MALICIOUS
- **Labels Mapping:** `{"0": "BENIGN", "1": "MALICIOUS"}`
- **Performance:** 98.6% Accuracy, 97.4% Precision, 0.0% Hard-Negative FPR.