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

A collection of ready-to-run Hugging Face Jobs OCR scripts that add a markdown column (or structured JSON) to image datasets, with model switching, layout detection, server-mode serving, and per-model options for table/form extraction.

Hugging Face

Provides 115M public GitHub source files (≈873GB of code, ~1TB uncompressed) with per-file metadata (repo, path, language, license). Supports streaming, language/license filtering and full download for training and evaluating code LLMs and code generation models.

Hugging Face

Provides labeled prompts with full-reference answers (including chain-of-thought and code blocks) and per-example metadata to train edge routing/orchestrator models that decide whether to handle inputs locally or route them to larger models. Includes complexity scores, coding/math flags, routing justifications, and an automated override rule; suited for fine-tuning small models (50M–1.5B) for edge deployment.