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


πŸ“œ 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

Models trained or fine-tuned on Mati83moni/HybridMoE-Training-Dataset-v1

Space using Mati83moni/HybridMoE-Training-Dataset-v1 1