Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: odc-by
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pretty_name: Primus-Seed
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: default
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: data/*/*/*
|
| 13 |
+
- config_name: cybersecurity_companies_websites
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: data/web_crawler_official_dump/cybersecurity_companies_websites/*
|
| 17 |
+
- config_name: cybersecurity_wikis
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/web_crawler_official_dump/cybersecurity_wikis/*
|
| 21 |
+
- config_name: mitre
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: data/web_crawler_official_dump/mitre/*
|
| 25 |
+
tags:
|
| 26 |
+
- cybersecurity
|
| 27 |
+
- pretraining
|
| 28 |
+
- wikipedia
|
| 29 |
+
- MITRE
|
| 30 |
+
size_categories:
|
| 31 |
+
- 10K<n<100K
|
| 32 |
+
extra_gated_fields:
|
| 33 |
+
Affiliation: text
|
| 34 |
+
Country: country
|
| 35 |
+
I want to use this model for:
|
| 36 |
+
type: select
|
| 37 |
+
options:
|
| 38 |
+
- Research
|
| 39 |
+
- Commercial
|
| 40 |
+
- label: Other
|
| 41 |
+
value: other
|
| 42 |
+
Job title:
|
| 43 |
+
type: select
|
| 44 |
+
options:
|
| 45 |
+
- Student
|
| 46 |
+
- Research graduate
|
| 47 |
+
- AI researcher
|
| 48 |
+
- AI developer/engineer
|
| 49 |
+
- Cybersecurity researcher
|
| 50 |
+
- Reporter
|
| 51 |
+
- Other
|
| 52 |
+
geo: ip_location
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
# PRIMUS: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Training
|
| 57 |
+
|
| 58 |
+
## 🤗 Primus-Seed
|
| 59 |
+
|
| 60 |
+
**Primus-Seed** is a high-quality🚀 cybersecurity text dataset composed of data crawled from reputable sources such as MITRE, Wikipedia, and well-known cybersecurity company websites, as well as CTI manually collected by our threat experts.
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
## Statistics
|
| 64 |
+
|
| 65 |
+
| **Category** | **Samples** | **Tokens** | **Avg.** |
|
| 66 |
+
|-------------|------------|------------|----------|
|
| 67 |
+
| **_Web Crawl / Official Dump_** | | | |
|
| 68 |
+
| Cybersecurity Blogs/News | 2,946 | 9,751,002 | 3,309.9 |
|
| 69 |
+
| Cybersecurity Books | 6,499 | 2,910,464 | 447.8 |
|
| 70 |
+
| Cybersecurity Companies Websites | 76,919 | 65,798,561 | 855.4 |
|
| 71 |
+
| Cybersecurity Wikipedia | 6,636 | 9,567,196 | 1,441.7 |
|
| 72 |
+
| MITRE | 3,432 | 2,435,118 | 709.5 |
|
| 73 |
+
| **_Expert Curation_** | | | |
|
| 74 |
+
| Campaigns | 136 | 37,106 | 272.8 |
|
| 75 |
+
| Intrusion Sets | 343 | 60,524 | 176.5 |
|
| 76 |
+
| Malware | 7,301 | 1,362,681 | 186.6 |
|
| 77 |
+
| Reports | 11,317 | 934,954 | 82.6 |
|
| 78 |
+
| Threat Actors | 27 | 2,264 | 83.9 |
|
| 79 |
+
| Tools | 238 | 19,926 | 83.7 |
|
| 80 |
+
| Vulnerabilities | 559,054 | 98,006,720 | 175.3 |
|
| 81 |
+
| **Total** | **674,848** | **190,886,516** | **282.9** |
|
| 82 |
+
|
| 83 |
+
❗❗Currently, we have only released **Cybersecurity Companies Websites, Cybersecurity Wikipedia, and MITRE**. Other categories are under review to ensure compliance and verify whether redistribution falls under "_fair use_."
|
| 84 |
+
|
| 85 |
+
## How Did We Collect Cybersecurity Wikipedia?
|
| 86 |
+
_Wikipedia_ does not provide a predefined cybersecurity subset, so we perform a custom filtering process. Each Wikipedia article is associated with one or more category tags, which can be further expanded into subcategory tags. Starting from the root category "_Computer Security_", we recursively traverse its subcategories, using GPT-4o to determine whether a category is cybersecurity-related. This process yields **375** relevant categories, from which we extract corresponding Wikipedia articles.
|
| 87 |
+
|
| 88 |
+
_Prompt_:
|
| 89 |
+
```
|
| 90 |
+
[System]
|
| 91 |
+
You are a helpful assistant.
|
| 92 |
+
[User]
|
| 93 |
+
Help me identify and mark the categories related to "cybersecurity", "information
|
| 94 |
+
security", "data protection", "cryptography", "hacker activity", "cyber attack",
|
| 95 |
+
"cybercrime" from a list of categories I have.
|
| 96 |
+
For each category, provide a reason for marking it as 'Y' (Yes) or 'N' (No) in relation to the
|
| 97 |
+
specified topics. Finally, output the results in JSON format with the fields: category,
|
| 98 |
+
reason, security.
|
| 99 |
+
{{category-list}
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
## License
|
| 103 |
+
|
| 104 |
+
This dataset is released under the **ODC-By** license.
|