AIAny
Icon for item

SWE-Hero Trajectories (nvidia/SWE-Hero-openhands-trajectories)

Provides 34k execution-style agent trajectories (11,766 issues) for supervised fine-tuning of code-focused LLMs. Each instance includes multi-step interactions, tool-call records, and final unified diffs; generated with Qwen3-Coder and released under permissive licenses for commercial use.

Introduction

Most code-focused datasets capture prompts and final patches but not the stepwise agent reasoning and environment observations needed for robust, repository-aware agents. SWE-Hero Trajectories fills that gap by offering execution-style agent trajectories where each example records the conversation, tool outputs, and the final unified diff — enabling models to learn multi-step planning, tool orchestration, and repository edits rather than only mapping prompts to patches.

What Sets It Apart
  • Execution-style trajectories: each instance includes the full trajectory (system/user/assistant/tool roles) and tool-call records, so models can be trained on intermediate reasoning and observed tool outputs, not just input→output pairs.
  • Patch-level supervision: final edits are provided as unified diffs, enabling direct supervised fine-tuning for accurate code changes and regression-aware edits.
  • Scale and provenance: ~34k trajectories derived from 11,766 curated issue statements sourced from existing SWE datasets and synthesized using Qwen3-Coder-480B, intended to match SWE-Bench–style tasks.
  • Permissive reuse: released with CC BY 4.0 and permissively licensed source materials (MIT/Apache/BSD variants), allowing commercial and research use with attribution.
Who It's For and Trade-offs

Great fit if you are building or fine-tuning LLMs/agents for repository-aware software engineering tasks, multi-step tool use (e.g., test-run/edit cycles), or want supervised signals for code-edit policies and agent debugging. It is particularly useful for teams that need model behavior traceability (intermediate actions + final diffs).

Look elsewhere if you require purely human-written execution traces or live execution logs from actual CI/test runs: SWE-Hero trajectories are largely synthesized (model-generated) and may carry biases from the generator (Qwen3-Coder). Also, if you need very large-scale raw code corpora for pretraining rather than supervised agent trajectories, general code datasets are a better fit.

Where It Fits

Positioned between single-step code-edit datasets and full empirical execution logs, SWE-Hero is tailored for supervised fine-tuning and distillation of agent policies. Use it to teach LLMs how to plan, call tools, interpret tool outputs, and produce safe patches; combine with real-world test suites or human-in-the-loop validation to mitigate synthetic-generation artifacts.

Information

Categories

More Items

Hugging Face

A 16 GB, 507-file PhD‑level cybersecurity knowledge base for training and evaluating security-focused LLMs and automation. Covers offensive/defensive/forensics/cloud/iot and AI-security across 30+ domains with real-world labs and framework mappings.

Hugging Face

Structured dataset for training and evaluating LLM agentic behavior: function-calling conversations, JSON-mode structured outputs, and extraction samples for teaching models to generate tool calls and strict structured responses. Includes single-turn and multi-turn scenarios across several configs.

Hugging Face

A multi-task English NLU benchmark for evaluating models across nine tasks (acceptability, sentiment, paraphrase, similarity, and various NLI setups), with a diagnostic evaluation set and an online leaderboard to compare generalization and transfer learning.