File size: 1,406 Bytes
183bfb9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
language: en
license: mit
tags:
- cybersecurity
- bert
- text-classification
- security
widget:
- text: "Files encrypted with ransom demand for Bitcoin payment"
  example_title: "Ransomware Example"
- text: "Website unreachable due to massive spike in incoming requests"
  example_title: "DDoS Example"
- text: "Employee downloading sensitive customer data before resignation"
  example_title: "Insider Threat Example"
---

# Cybersecurity BERT Classifier

This model is a fine-tuned `bert-base-uncased` model that classifies cybersecurity alerts into five threat categories.

## Model Details

- **Base Model:** `bert-base-uncased`
- **Task:** Text Classification
- **Labels:**
    - `0`: Ransomware
    - `1`: DDoS
    - `2`: Insider Threat
    - `3`: Web Attack
    - `4`: Benign

## Intended Uses & Limitations

This model is intended for security operations center (SOC) teams to automatically triage and classify security alert text. It achieves **92.86% accuracy** on a curated test set.

## How to Use

You can use this model directly with the Transformers pipeline for text classification:

```python
from transformers import pipeline

classifier = pipeline("text-classification", model="Aikaksh-Singh-Routela/cybersecurity-bert-model")

result = classifier("Files encrypted with ransom demand for Bitcoin payment")
print(result)
# Expected output: [{'label': 'Ransomware', 'score': 0.9286}]