hades / docs /data /sources.md
Kolgrim's picture
HADES pipeline code, tokenizer, tests, docs
5f02c05 verified
|
Raw History Blame Contribute Delete
2.42 kB

HADES corpus v1

Built 2026-10-28 with tokenizer hades-16k (SHA-256 102c2619ce80251f…). Raw and processed data are not in git; data/processed/manifest.json has every shard hash.

Sources

Source Group Licence Docs Tokens Bytes Bytes/token Dropped by decontamination
cisa_kev security Public domain (US Gov) 1,760 186,325 806,530 4.33 0
cve security CVE Terms of Use 351,242 52,984,522 174,161,496 3.29 52
fineweb_edu general ODC-By 1.0 209,930 250,038,699 999,649,101 4.00 2
manpages security per page (package licence) 4,529 16,682,310 61,362,977 3.68 13
mitre security MITRE Terms of Use 2,121 616,662 2,781,619 4.51 0
owasp security CC BY-SA 4.0 135 704,283 2,626,975 3.73 0
rfc security IETF Trust 4,508 64,832,175 239,873,234 3.70 2
synth_logs logs Project-owned 13,766 216,376,266 400,010,433 1.85 0
wikipedia_general general CC BY-SA 4.0 129,111 172,257,013 599,411,747 3.48 0

Groups

Group Train tokens Val tokens Target share Effective share (small, 1.0B tokens) Epochs over group
security 135,439,039 567,238 40% 27.1% 2.00
general 420,128,268 2,167,444 40% 48.6% 1.16
logs 215,330,497 1,045,769 20% 24.3% 1.13

Notes

  • Shortfall: security text is 135M tokens, so with the 2-epoch cap it makes up 27.1% of training instead of 40%. General and log text fill the rest and are seen about 1.2× each.
  • Not included in v1: wikipedia_security (the rate-limited crawl was still running); it joins a later corpus version.
  • Decontamination: 680,734 evaluation texts (every Loghub line + the 20 prompts), 6,256,599 distinct 13-token spans that contain at least one letter. Pure digit/punctuation spans are ignored: in the first build, 13 zeros of kernel memory addresses matched Loghub's BIOS-e820 line and wrongly removed ~2,100 Linux-kernel CVE records.
  • Synthetic logs are exempt from decontamination: they are generated without access to evaluation data.
  • Tokenizer: 16,107 merges trained on a 199 MB sample (40/40/20 mix) in 1.9 min. Fast-encoder parity: 0 mismatches on 2,186 documents across all sources.
  • Validation split: 0.5% of each source by ID hash.