Datasets:
The dataset is currently empty. Upload or create new data files. Then, you will be able to explore them in the Dataset Viewer.
π HybridMoE Training Dataset v1
Multilingual EN-PL Pre-Training Corpus Β· ~9 GB Β· ~2.4B Tokens Β· Cleaned & Audited
The training data behind HybridMoE Titan v1 β curated, cleaned, and corruption-free.
π§ Model v1 Β· π Model v2 Β· π Paper Β· π Project Page
π¦ Dataset Overview
| Total Size | ~9 GB (raw text) |
| Estimated Tokens | ~2.4 billion |
| Files | 51 plain text files |
| Languages | English (primary) + Polish |
| License | CC BY-SA 4.0 |
| Format | Plain text, one document per line (double-newline separated) |
π Sources
| Source | Language | Size | Files | Description |
|---|---|---|---|---|
| π FineWeb-Edu | EN | ~3.5 GB | ~15 files | High-quality educational web text (curated by HuggingFace) |
| π FineWeb | EN | ~2.5 GB | ~15 files | General web text with quality filters |
| π΅π± Wikipedia PL | PL | ~1.5 GB | ~15 files | Polish Wikipedia article dumps |
| π Wolne Lektury | PL | ~323 MB | 1 file | 7,473 Polish public-domain literary works |
| π Polski Dodatek | PL | ~200 MB | 1 file | Supplementary Polish text (cleaned) |
π§Ή Data Cleaning & Quality Audit
The Wolne Lektury Problem
During Titan v2 preparation, a full corruption audit revealed serious issues in the Wolne Lektury source:
| Issue | Count |
|---|---|
| πΌοΈ JPEG book covers embedded as binary in text | 306 images |
| β U+FFFD replacement characters | 8.1 million |
| π« Null bytes | 190,000 |
| π₯ Corrupt lines | 488,000 (17.6% of file) |
| π Books affected | 297 / 7,473 |
β Cleaning Result
All corruption was removed while preserving every book:
Before: 2,773,128 lines Β· 488,423 corrupt (17.6%)
After: 2,284,705 lines Β· 0 corrupt (0.0%)
Books: 7,473 / 7,473 preserved β
π‘ The cleaned file (
wolne_lektury_dataset_FINAL.txt, 323 MB) is included in this dataset.
π§ Preprocessing Pipeline
Raw Sources
β
ββ FineWeb-Edu/FineWeb βββ Quality-filtered by HuggingFace
β Deduplicated
β Split into ~4 GB shards
β
ββ Wikipedia PL βββββββββββ Article extraction
β Infobox/citation removal
β Split into shards
β
ββ Wolne Lektury βββββββββ Book-boundary detection
Binary artifact removal (306 JPEGs)
U+FFFD / null byte cleaning
Line-level validation
β
0 corruption output
Tokenisation (Titan v1)
| Tokeniser | GPT-2 BPE (50,258 tokens) |
| Loader | PackedDataset β zero padding waste |
| Sequence length | 4,096 tokens |
| Shards | 200 validation, rest for training |
Tokenisation (Titan v2)
| Tokeniser | Custom BPE (64,000 tokens) with native Polish support |
| Strategy | stream_tokenize.py with memory-efficient streaming |
| Domain mixing | Stratified batch sampling across sources |
π Usage
This dataset is provided as raw text files. To use with HybridMoE Titan:
# Example: load and tokenise a shard
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("gpt2")
with open("fineweb_edu_shard_0000.txt", "r") as f:
for doc in f.read().split("\n\n"):
tokens = tokenizer.encode(doc)
# ... your training pipeline
β οΈ Known Issues
- GPT-2 tokeniser fragments Polish diacritics (Δ , Δ, ΕΊ, ΕΌ β 2-3 tokens each) β addressed in Titan v2 with custom 64K tokeniser
- Domain imbalance β English text dominates (~70%); Polish sources are ~30%
- No deduplication across sources β potential overlap between FineWeb and Wikipedia
π¬ Author
Mateusz Piesiak β Project Inkblot Β· Independent ML Research Β· South Kirkby, UK
- HuggingFace: Mati83moni
π Citation
@article{piesiak2026hybridmoe,
title = {HybridMoE Titan v1: A Decoder-Only Language Model Combining
Mamba SSM, Multi-Head Attention with RoPE, and Fine-Grained
Mixture-of-Experts at 450M Scale},
author = {Piesiak, Mateusz},
year = {2026},
note = {Project Inkblot β Independent ML Research.
Available: https://huggingface.co/Mati83moni/HybridMoE-Titan-v1}
}
π License
CC BY-SA 4.0 β Share and adapt with attribution.
Individual source licenses:
- FineWeb-Edu / FineWeb: ODC-BY (HuggingFace)
- Wikipedia PL: CC BY-SA 3.0
- Wolne Lektury: Public Domain (Polish copyright law)
Curated with care for independent ML research Β· π΅π± + π¬π§
- Downloads last month
- 6