id string | task_id string | source_trial_id string | source_dataset string | split string | sequence_length int32 | supervised_tokens int32 | input_ids list | labels list | prompt_messages_json large_string | target_message_json large_string | tools_json large_string | review_flags list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
fastapi_11194-trial1-call1 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 3,770 | 150 | [
2,
105,
9731,
107,
98,
107,
3048,
659,
614,
7710,
37213,
5368,
19042,
13720,
531,
14245,
614,
4186,
528,
496,
20387,
23057,
532,
168657,
236761,
108,
1408,
17354,
77340,
236787,
20148,
236764,
60217,
236764,
532,
228379,
32987,
507,
107,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [{"role":"system","content":"You are an expert autonomous software engineer assigned to resolve an issue in a repository efficiently and decisively.\n\n## Core Objective: Fast, Minimal, and Precise Fixes\nAim to understand, resolve, and submit the fix in the minimum number of tool calls (under 8–10 turns). Move directl... | {"content":"","role":"assistant","tool_calls":[{"index":0,"function":{"arguments":{"command":"cd /workspace && git log --oneline -5 && grep -rn \"form\" fastapi/dependencies/utils.py | head -50"},"name":"run_command"},"id":"call_00_DCIAUihOggLvG5aBNHCU0740","type":"function"},{"index":1,"function":{"arguments":{"comman... | [{"type":"function","function":{"name":"run_command","description":"Execute a shell command inside the repository sandbox.\n\n You can run any shell command (Python scripts, tests, git commands, etc.).\n The command runs in the repository workspace. No network access.\n\n Args:\n command... | [
"git_history_inspection"
] |
fastapi_11194-trial1-call2 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 4,102 | 103 | [
2,
105,
9731,
107,
98,
107,
3048,
659,
614,
7710,
37213,
5368,
19042,
13720,
531,
14245,
614,
4186,
528,
496,
20387,
23057,
532,
168657,
236761,
108,
1408,
17354,
77340,
236787,
20148,
236764,
60217,
236764,
532,
228379,
32987,
507,
107,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [{"role":"system","content":"You are an expert autonomous software engineer assigned to resolve an issue in a repository efficiently and decisively.\n\n## Core Objective: Fast, Minimal, and Precise Fixes\nAim to understand, resolve, and submit the fix in the minimum number of tool calls (under 8–10 turns). Move directl... | {"content":"","role":"assistant","tool_calls":[{"index":0,"function":{"arguments":{"filepath":"fastapi/dependencies/utils.py","start_line":430,"end_line":560},"name":"read_file"},"id":"call_00_tUqcb4tp5gjgYIXLahqy2203","type":"function"},{"index":1,"function":{"arguments":{"filepath":"fastapi/dependencies/utils.py","st... | [{"type":"function","function":{"name":"run_command","description":"Execute a shell command inside the repository sandbox.\n\n You can run any shell command (Python scripts, tests, git commands, etc.).\n The command runs in the repository workspace. No network access.\n\n Args:\n command... | [
"git_history_inspection"
] |
fastapi_11194-trial1-call3 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 7,977 | 700 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call4 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 8,096 | 180 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call5 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 8,874 | 265 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call6 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 10,220 | 229 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call7 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 11,379 | 718 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call8 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 11,061 | 167 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call9 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 12,554 | 1,537 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
fastapi_11194-trial1-call10 | fastapi_11194 | fastapi_11194-sample_01-attempt-01 | tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials | train | 11,454 | 285 | [2,105,9731,107,98,107,3048,659,614,7710,37213,5368,19042,13720,531,14245,614,4186,528,496,20387,230(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | "[{\"role\":\"system\",\"content\":\"You are an expert autonomous software engineer assigned to reso(...TRUNCATED) | "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":{(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"run_command\",\"description\":\"Execute a shell co(...TRUNCATED) | [
"git_history_inspection"
] |
Gemma E4B SWE SFT — response-level, competition 32K context
1,737 train examples and 159 val examples, derived from 140 selected successful DeepSeek Flash max rollouts in tyfeng1997/gemma4-swe-deepseek-flash-max-verified-trials. Train contains 131 rollouts on 43 tasks; val contains 9 rollouts on 3 tasks. Splitting is deterministic by task ID; trajectories of the same task do not cross train and val.
Source / 来源
Original SWE tasks come from the public/development task dataset supplied with Google — The Gemma 4 Developer Agent Competition on Kaggle. Teacher completions were generated by deepseek-flash, thinking enabled, reasoning effort max, using the original default tool suite, analyzer agent and unchanged system prompts. The parent dataset retains the full original trials and their reward-verification evidence. These are not hidden/private evaluation tasks. Upstream source terms apply; see TERMS.md.
Transformation / 处理方式
Each assistant response creates one example. The prefix retains system/task messages, historical assistant visible text and tool calls, and tool observations. Historical thinking is explicitly removed (reasoning, reasoning_content, thinking_blocks). The current target retains its reasoning, visible text and tool calls when present. Labels for the entire historical prefix are -100; only the current response, including required template control tokens, contributes to the loss.
Input and target are encoded using the official tokenizer and chat template from google/gemma-4-E4B-it-qat-w4a16-ct at revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb. The maximum is 32,768 tokens for the full input + current target, including system instructions, tool definitions, observations and template control tokens. This is the competition serving/evaluation configuration's context limit, NOT a statement of Gemma E4B's native maximum context length. Oversized responses are excluded without hard truncation; 303 such responses were excluded across all positive trials, including the review group. The longest train example has 32,741 tokens; the longest val example has 32,612 tokens.
The raw teacher generated its continuation while receiving historical thinking. Removing that history for the student is a distillation transformation, not a claim of identical teacher/student contexts. Student inference should use the same historical-thinking removal policy while allowing current-step thinking.
Fields and loading
input_ids and labels are ready for causal-LM SFT with the matching tokenizer. Preserve the supplied labels and use a collator that pads labels with -100; a generic collator that regenerates labels from input IDs would incorrectly train on the historical prefix. sequence_length and supervised_tokens describe the exact encoded example. source_trial_id joins to the parent dataset.
prompt_messages_json, target_message_json, and tools_json are JSON strings to preserve heterogeneous tool argument schemas without Arrow type conflicts; decode them with json.loads for inspection or re-serialization. They contain the exact processed messages, with historical thinking removed and current target thinking preserved. Main and analyzer calls can both be represented.
import json
from datasets import load_dataset
ds = load_dataset("tyfeng1997/gemma4-e4b-swe-sft-32k", token=True)
train, val = ds["train"], ds["val"]
row = train[0]
prefix = json.loads(row["prompt_messages_json"])
target = json.loads(row["target_message_json"])
assert len(row["input_ids"]) == len(row["labels"]) <= 32768
Quality limits
Only the existing auto-screened or manually accepted candidate group is included. The 2,752 response examples from 125 review/rejected trajectories are not part of train or val. Passing the reward verifier and automated screening does not establish a full manual correctness audit. The dataset may still contain unhelpful actions, imperfect reasoning or fixes with untested behavior. No student model has been trained as part of this release.
- Downloads last month
- 102