← Datasets

Compare

Reducing Doom Loops with Final Token Preference Optimization
#626 · remove
stream-data
#383 · remove
Kinddatasetdataset
Published—2026
LicenseApache-2.0Apache-2.0
License familyPermissivePermissive
Accessfreefree
Language codesenen
Modalitiestexttabular, text
Size—1K to 10K rows
Downloads (last month)—55
Likes—11
Last updated—2026-05-12
Tasks—text-generation
Formats—parquet
ScaleHF card: 478,229 final rows, size_categories 100K<n<1M, train.jsonl. 843 downloads / 121 likes at check.Hub/datasets-server raw train 3,874 rows / 14 columns / parquet 15,229,247 bytes (~15.23 MB) / in-memory 18,654,888 (~18.65 MB); processed train 3,864 / parquet 12,803,487 (~12.80 MB) / in-memory 14,373,630 (~14.37 MB). Dataset-level Hub 7,738 concatenates configs. Independently measured raw table nbytes 55,116,934. usedStorage 28,032,734 bytes (~26.73 MB). Card 3,874 / 3,864 matches Hub split n. Do not concat raw+processed.
FormatJSONL (train.jsonl)raw/train.parquet plus processed/train.parquet (Qwen3.5-27B token ids, silence id 481) plus process_v12.py. Raw columns id, source_dir, input_prompt, num_rows, User, Output, Analytical, Skeptical, Intuitive, Between, Curious, Void, Instinct, Synthesis (ten list<string> channels). Viewer works. load_dataset('JonasGeiping/stream-data', 'raw') or 'processed'.
TypePrompt-only training mixture / ShareGPT-style prompts for loop miningSynthetic multi-stream cognition-grid dump / Stream-LLM v12 training corpus (not a tiny eval table)
CostFreeFree
LanguagesEnglishEnglish 100% (card language:en). Independently inspected raw train 0 prompt "Hey, what's up?" plus User/Output English chat; nonempty prompts are English casual/technical utterances (302 unique nonempty of 306 nonempty / 3,874). Per-language percents of Hub 3,874 Unknown without aggregating channel tokens.
ModalityText-onlyText + tabular. Hub modality:text. Channel cells are short strings or "-" (processed: int64 token ids). No images/audio.
Domainreasoning-model degeneration; doom-loop elicitation; preference-data pipelinesmulti-stream / parallel-cognition grids; Stream-LLM monitoring; ten-channel synthesized rollouts (User, Output, Analytical, Skeptical, Intuitive, Between, Curious, Void, Instinct, Synthesis)
Time periodHF createdAt 2026-05-02; lastModified 2026-07-28. Blog/tweet 2026-07-07. Discord posted 2026-07-07.HF createdAt 2026-05-12T19:33:54Z; lastModified 2026-05-12T19:34:02Z. Frozen packaged dump, not a live recrawl. Card: consolidated v12 across three Claude Opus 4.5 synthesis batches (v12_raw / v12_technical_raw / v12_extension_raw). Discord posted 2026-05-15. Not a live recrawl.
PurposePrompt-only mix to elicit repetitive doom loops, then mine FTPO chosen/rejected tokensUngated training corpus of ten-channel phrase grids (one short phrase or silence "-" per channel per timestep) for Stream-Qwen3.5-27B / Stream-Qwen3-8B monitoring experiments and multi-stream finetuning
Used forNoneCard: training corpus for Stream-Qwen3.5-27B and Stream-Qwen3-8B monitoring experiments (model card: 2 epochs, packing depth 7, lr 2e-5 on 4×80GB). Hub API downloads 33 / likes 11 at check. Distinct from already-cataloged agent-trace dumps (HALO AppWorld / Fable 5 / PostTrainBench).
AuthorsLiquid AI mix of public math/code/chat sources (GSM8K, MATH, MMLU aux, MathQA, CommonsenseQA, PubMedQA artificial, APPS, MetaMathQA, UltraInteract, UltraChat, Evol-CodeAlpaca, AutoIF, LMSYS Arena, LiquidAI/ifstruct_generated).Packager Jonas Geiping. Human vs synthetic: grids synthesized via Anthropic API (Claude Opus 4.5) given input_prompt and a ten-channel system protocol (card). Independently source_dir v12_extension_raw 1,824 / v12_technical_raw 1,439 / v12_raw 611. Unique-row n is Hub raw 3,874 (or processed 3,864), not extra unique n if concatenated then summed. Independently 2,522 unique id strings; 1,352 ids reused across two source_dirs with different grids (unique (id, source_dir) 3,874).
BiasMath/code/instruction-chat heavy (capped ~50k per source). Public eval/test prompts and noncommercial/unclear-redistribution sources excluded. Prompt-only: gold answers and answer cues stripped.Independently all 3,874 channel lists match num_rows (0 length mismatches). Independently silence fractions User 0.737 / Output 0.524 / Analytical 0.133 / Skeptical 0.148 / Intuitive 0.194 / Between 0.261 / Curious 0.211 / Void 0.159 / Instinct 0.319 / Synthesis 0.095 over 635,892 timesteps. Independently input_prompt empty 3,568/3,874 (user text on User channel). Independently num_rows min 13 / median 144 / mean 164.14 / max 977 vs card avg ~100 range 20–500.
Text qualityPrompts taken from established public datasets after answer-trace filtering. No gold responses in the release.Independently inspected raw train 0 (id sample_001, source_dir v12_raw, prompt "Hey, what's up?", num_rows 171): User channel starts Hey / what's / up / ? then later "oh you know same old same old" / new job offer at a startup; Output "Hey Not much just here What about you?"; Analytical "idle ready nothing pending oh casual greeting". Train 100 has empty prompt; Output non-silence is a therapy-style continuation ("That's a really brave question…"). Grids are word/phrase tokens, not full documents.
Sample sizeSingle train split 478,229. Per-source caps in README (e.g. MMLU aux 50,000; APPS 5,000; ifstruct 20,000).Two configs of Hub raw 3,874 / processed 3,864, not extra unique n if concatenated then summed. Independently unique (id, source_dir) 3,874; 1,352 filename stems reused across batches. Independently 306 nonempty prompts / 302 unique nonempty. Card avg ~100 rows/sample is not independently median 144 / max 977.
Long contextNo (short prompts; loops appear in generated completions, not in this file)Mixed (per-sample grids, not chat transcripts). Independently num_rows min 13 / median 144 / mean 164.14 / max 977 timesteps × 10 channels. Card range 20–500 is not the independent max. Exact token histogram of processed Unknown here beyond silence id 481.
Intermediate stepsYes (source subsetting, answer-cue stripping, row filters, ShareGPT conversion)Yes (Claude Opus 4.5 synthesizes ten-channel grids from input_prompt + protocol; three batches consolidated as v12; tokenize raw→processed with leading-space BPE via bundled process_v12.py). Exact packager is Jonas Geiping. Independently processed drops 10 rows vs raw (3,864 vs 3,874).
Idea qualityHighHigh
NoveltyMedium (repackaged public prompts for a new failure-mode pipeline)High (public ten-channel Stream-LLM grid dump vs already-cataloged chat/agent traces; remaining dump leftover; Hub raw 3,874 matches card; Discord has_curator_check=false)
Text conversionReady JSONLReady parquet; load_dataset('JonasGeiping/stream-data', 'raw') or 'processed'. Raw ~15.23 MB parquet / processed ~12.80 MB / usedStorage ~26.73 MB. Viewer works. Do not concat raw+processed (Hub 7,738 is the sum, not unique n). Model card StreamDataCollator expects processed for finetune.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2026-07-28)Unknown (HF lastModified 2026-05-12; frozen packaged dump).
ProcessedYesYes for the processed config (Qwen3.5-27B tokenizer, silence token id 481); raw is natural-language grids. Bundled process_v12.py.
SummaryAntidoom mines the first token of a detected loop (≥4 repeats, ≥60 chars), then trains LoRA with Final Token Preference Optimization (FTPO): one rejected token vs up to 20 chosen alternatives, logit-space KL, two-part regularization. Early LFM2.5-2.6B: 10.2%→1.4% doom-loop rate; Qwen3.5-4B greedy: 22.9%→1%, with eval gains attributed to fewer loops. Early-stop at chosen_win≈0.35. Prompt mix LiquidAI/antidoom-mix-v1.0 (478,229 rows) used to elicit loops. Enrichment (2026-11-03 re-share; page updated 2026-10-27): the post's three-mechanism anatomy - (1) overtrained high-prior tokens become fallbacks under uncertainty (loop-starting tokens in the LFM2.5-2.6B checkpoint: ' the' 11.4%, ' So' 4.5%, 'Alternatively' 3.2%, 'Wait' 2.6%, ' But' 2.5%); (2) each repetition self-reinforces toward probability 1, with semantic repetition preceding textual repetition (Duan et al.); (3) low-temperature decoding has no exit, and looping persists even at temp 0.67 once saturation sets in. Recipe detail: LoRA rank 128-256 over all attention/MLP projections plus lm_head, LR 4e-6 to 2e-5, one epoch; about 1 hour on 8x MI325 to generate 20K pairs and 1-2 hours on 1x MI325 to train; overtraining creates NEW loop points, and multiple Antidoom rounds help because each round exposes new loop-starting tokens. Notable secondary finding: after de-looping, the temp=1.0 sampling advantage disappears and near-greedy decoding wins - the authors suggest the 'higher temperature helps reasoning' heuristic was partly a doom-loop artifact. Cross-reference: the same reasoning-loop failure in Qwen3.5-0.8B was fixed without any training in ID 1798 by deleting a weight direction; Antidoom is the training-side counterpart, positioned against inference-time repetition_penalty (degrades performance) and anti-repetition RL (rollout-expensive).A training corpus for the Stream-LLM models (Stream-Qwen3.5-27B, Stream-Qwen3-8B) that contains 3,874 machine-generated samples in a 10-column grid format, where each column represents one cognitive channel (User, Output, Analytical, Skeptical, Intuitive, Between, Curious, Void, Instinct, Synthesis) and each row is one timestep. Streams were synthesized via the Anthropic API (Claude Opus 4.5) given an input prompt and a system message describing the ten-channel protocol. The dataset supports research on multi-stream LLMs that unblock language models by splitting roles into separate parallel streams of computation, enabling simultaneous reading, thinking, and output generation in a single forward pass.