Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: odc-by
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
pretty_name: Primus-Instruct
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: default
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: data/*
|
| 13 |
+
dataset_info:
|
| 14 |
+
features:
|
| 15 |
+
- name: prompt
|
| 16 |
+
dtype: string
|
| 17 |
+
- name: prompt_id
|
| 18 |
+
dtype: string
|
| 19 |
+
- name: messages
|
| 20 |
+
list:
|
| 21 |
+
- name: content
|
| 22 |
+
dtype: string
|
| 23 |
+
- name: role
|
| 24 |
+
dtype: string
|
| 25 |
+
extra_gated_fields:
|
| 26 |
+
Affiliation: text
|
| 27 |
+
Country: country
|
| 28 |
+
I want to use this model for:
|
| 29 |
+
type: select
|
| 30 |
+
options:
|
| 31 |
+
- Research
|
| 32 |
+
- Commercial
|
| 33 |
+
- label: Other
|
| 34 |
+
value: other
|
| 35 |
+
Job title:
|
| 36 |
+
type: select
|
| 37 |
+
options:
|
| 38 |
+
- Student
|
| 39 |
+
- Research graduate
|
| 40 |
+
- AI researcher
|
| 41 |
+
- AI developer/engineer
|
| 42 |
+
- Cybersecurity researcher
|
| 43 |
+
- Reporter
|
| 44 |
+
- Other
|
| 45 |
+
geo: ip_location
|
| 46 |
+
library_name: transformers
|
| 47 |
+
tags:
|
| 48 |
+
- cybersecurity
|
| 49 |
+
- IFT
|
| 50 |
+
- SFT
|
| 51 |
+
size_categories:
|
| 52 |
+
- n<1K
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
# PRIMUS: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Training
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
## 🤗 Primus-Instruct
|
| 60 |
+
|
| 61 |
+
The **Primus-Instruct** dataset contains hundreds of expert-curated cybersecurity business scenario use case instructions, with responses generated by GPT-4o. It includes tasks such as:
|
| 62 |
+
|
| 63 |
+
- Explaining detected alerts
|
| 64 |
+
- Answering questions about retrieved security documents
|
| 65 |
+
- Analyzing executed suspicious commands
|
| 66 |
+
- Generating query languages for retrieving security events
|
| 67 |
+
- Providing security recommendations and risk assessments for Terraform configurations
|
| 68 |
+
|
| 69 |
+
🚀🚀 For more details, see our paper:
|
| 70 |
+
[https://arxiv.org/abs/2502.11191](https://arxiv.org/abs/2502.11191)
|
| 71 |
+
|
| 72 |
+
### 🔹 Message Format
|
| 73 |
+
Conversations are stored in `messages` in the following format:
|
| 74 |
+
|
| 75 |
+
```json
|
| 76 |
+
[
|
| 77 |
+
{"role": "user", "content": "..."},
|
| 78 |
+
{"role": "assistant", "content": "..."},
|
| 79 |
+
{"role": "user", "content": "..."},
|
| 80 |
+
{"role": "assistant", "content": "..."}
|
| 81 |
+
]
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
## Dataset Sample Statistics
|
| 87 |
+
|
| 88 |
+
| Task | Samples |
|
| 89 |
+
|-------------------------------------------|---------|
|
| 90 |
+
| **Cybersecurity-related Tasks** | |
|
| 91 |
+
| Alert Explanation | 100 |
|
| 92 |
+
| Retrieved Security Doc QA | 100 |
|
| 93 |
+
| Suspicious Command Analysis | 100 |
|
| 94 |
+
| Security Event Query Generation | 100 |
|
| 95 |
+
| Terraform Security Misconfiguration Fix | 96 |
|
| 96 |
+
| **General (Multi-turn)** | |
|
| 97 |
+
| General Instruction Following | 339 |
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
## License
|
| 102 |
+
|
| 103 |
+
This dataset is released under the **ODC-By** license.
|