AIAny
Icon for item

lordx64/reasoning-distill-opus-4-7-max-sft

Provides 7,823 single-turn reasoning conversations generated by Anthropic's Claude Opus 4.7 and reformatted into Qwen-style chat templates for supervised fine-tuning (SFT). Includes explicit <think> chain-of-thought blocks and many long reasoning chains (avg ~4k tokens).

Introduction

Why this matters

Distilled model-generated reasoning traces let you supervise SFT on internal “thinking” tokens without collecting human step-by-step rationales. This dataset packages Claude Opus 4.7 outputs into a Qwen chat-template format that is immediately usable with trl.SFTTrainer and the common train_on_responses_only setup — making it practical to teach an SFT workflow to produce or follow chain-of-thought style reasoning.

What Sets It Apart
  • Contains explicit <think>... </think> blocks: each assistant turn retains the extended-thinking section plus the final answer, so you can train models to reproduce or ignore intermediate reasoning depending on your loss masking. This is valuable for experiments that separate reasoning-token supervision from user/system context.
  • Regenerated from Opus 4.7 (not earlier checkpoints): responses were produced with Claude Opus 4.7’s extended-thinking enabled, providing a consistent synthetic teacher signal across examples.
  • Long-context reasoning material: average ~4k tokens per row with outliers up to ~32k tokens, which is useful for evaluating/teaching long-form chain-of-thought but requires high memory and token-capacity during training.
Key Capabilities
  • Ready-to-use SFT formatting: each sample is a single text field containing a full Qwen-style conversation, so minimal preprocessing is needed for TRL-based SFT runs.
  • Enables experiments in distillation and reasoning alignment: useful for comparing supervision strategies (train-on-responses-only, joint training, selective masking) and for measuring downstream gains on reasoning benchmarks.
  • Lightweight dataset size for quick iteration: ~7.8k examples (dataset packaged ~29 MB) — small enough for fast prototype runs but long per-example sequences may still be costly.
Who It's For and Tradeoffs

Great fit if you are a researcher or engineer who wants an off-the-shelf synthetic reasoning teacher for SFT experiments (especially those focused on chain-of-thought distillation). Look elsewhere if you need human-verified rationales, fully open-source human datasets, or a large-scale pretraining corpus: this dataset is model-generated and thus may contain hallucinations, stylistic artifacts specific to Claude Opus 4.7, and downstream-usage constraints tied to Anthropic's terms.

Where It Fits

Use this to complement human-annotated CoT corpora or other distilled teacher datasets when exploring whether SFT can internalize reasoning traces. It’s particularly useful for controlled ablations (masking vs. unmasking thinking tokens) and for producing models optimized for multi-step written reasoning.

Notes on license and usage

The packaging is released under Apache-2.0, but the assistant outputs were generated via Anthropic’s API — downstream users should confirm compliance with Anthropic’s usage policies for their planned use cases. Also budget for higher memory and token costs due to very long per-example sequences.

Information

Categories

More Items

Hugging Face

Combines vulnerability intelligence, security Q&A, and threat-analysis material into conversational instruction data for fine-tuning cybersecurity assistants. The collection contains about 1.8 million deduplicated records.

Hugging Face

Provides 3,500 English design briefs paired with complete React HTML documents for generating websites, presentations, and infographics across 40 subject domains. The examples support training and evaluating brief-to-page generation.

Hugging Face

Provides web text for multilingual LLM pretraining, with language- and script-specific filtering and deduplication across thousands of languages.