File size: 758 Bytes
dbfd484 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ---
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.
|