Datasets:
Update README progress at shard 0
Browse files12345678910111213141516171819202122232425262728293031323334353637383940---license: odc-bytask_categories: - text-generationlanguage: - entags: - wikihow - physical-commonsense - piqa - hellaswag - procedural-text - synthetic-curated---
# PerfectWikihow
**Status:** In Progress (Live Checkpoint) **Source:** [`ArrowLabs/FactBase-MultiDomainV2`](https://huggingface.co/datasets/ArrowLabs/FactBase-MultiDomainV2) **Target Repo:** [`MoreThought/PerfectWikihow`](https://huggingface.co/datasets/MoreThought/PerfectWikihow)
## Pipeline Summary & Transformations1. **Removed columns**: `domain`, `source`, `source_file`, `source_license`, `dataset_version`, `prompt`, and nested `quality_metrics`.2. **Flattened `quality_metrics` into separate columns**: `word_count`, `sentence_count`, `step_count`, `action_hits`, `explanation_hits`, `unique_word_ratio`, `prompt_overlap`, `orig_quality_score`.3. **Quality floor & harsh penalties**: Removed all rows `< 50.0` quality; heavily penalized psychotherapy/addiction/psychology, spiritual/numerology, pure software-UI, legal/finance, and looping synthetic rows.4. **Physical-only filtering**: Enforced physical-world procedural interaction gates (tools, materials, state changes, spatial measurements, causal mechanics) + C++20 hashed-bigram SGD physicality classifier (`ml_physical_prob >= 0.5`).5. **Training-ready `training_text`**: Stripped `"Title:"` prefixes, recovered broken/empty titles prior to dropping `prompt`, removed alien-roleplay & meta-fluff sentences, removed duplicated headers/recaps, pruned abstract non-physical filler steps, merged short tool bullet lists into natural prose, and standardized punctuated step flow for **HellaSwag** and **PIQA**.6. **Multi-method splitting**: Split multi-method tutorials (`Method 1`, `Method 2`, ...) into self-contained high-quality rows while keeping sequential `Part 1 / Part 2` tutorials intact.7. **Global C++ deduplication & calibration**: C++20 3-gram LM fluency scoring, C++20 Exact + 5-gram Banded MinHash-LSH dedup, C++ FAISS/HNSWLib SemDeDup, and DuckDB + RapidFuzz topic-diversity capping.
## Statistics- **Source rows scanned**: 98,304- **Rows after Pass 1 cleaning & splitting**: 21,296- **Final globally deduplicated rows**: 21,296- **Split child rows emitted**: 217- **Checkpoints uploaded**: 0- **Mean `quality_score`**: 74.20- **Mean `physical_score`**: 68.70- **Mean `piqa_score`**: 55.41- **Mean `hellaswag_score`**: 78.00README.mdAdded+40