shipwright-sft / README.md
mitushigoyal5's picture
Card: GitHub, write-up and demo video links
5cbaaa5 verified
|
Raw History Blame Contribute Delete
3.39 kB
---
license: cc-by-nc-4.0
language:
- en
task_categories:
- text-generation
tags:
- agents
- tool-use
- tau2-bench
- sft
- self-healing
- shipwright
pretty_name: Shipwright SFT data (self-healed Tiny Aya)
size_categories:
- n<1K
configs:
- config_name: default
data_files: sft.jsonl
---
# Shipwright SFT data
The training data of [Shipwright](https://huggingface.co/spaces/mitushigoyal5/shipwright)'s self-healing loop: what each
round's LoRA adapter for Tiny Aya Global was trained on. `main` holds round 16, the data of the deployed adapter
[`mitushigoyal5/shipwright-lora`](https://huggingface.co/mitushigoyal5/shipwright-lora); each round's data is on its own
branch (`round-1` to `round-16`), whether its adapter shipped or not.
## Round 16 (789 rows)
| Source (`source`) | Rows | What it teaches |
|---|---:|---|
| `teacher` | 254 | whole passing conversations of the teacher (DeepSeek V4.1 Flash) on τ²-bench retail train tasks the student failed |
| `correction` | 235 | on-policy corrections: the student ran with policy guards on; at each call a guard blocked, the teacher saw exactly the student's view and gave the right next turn. Only that last turn is trained (`train_last_only`); `rule` names the guard. 59 are new in round 16, the rest come from the two earlier correction rounds |
| `general_replay` | 300 | BFCL v3 function-calling samples (simple, multiple, irrelevance) after the first 100 per category, which the gate scores, so they never overlap |
## Format
One row per line in `sft.jsonl`:
- `messages`: a chat (`system`, `user`, `assistant`) exactly as Tiny Aya sees it in Shipwright's **prompted tool-call**
format: the tools are listed in the system prompt, a tool call is one fenced JSON block
(`{"name": ..., "arguments": {...}}`), and a tool result is a user turn `Tool result for <name>: <result>`. A
conversation longer than the 8,192-token window is cut into the windows the student would see (`window`).
- `source`, `task_id`, `simulation_id` (the run it came from), `model` (who wrote the trained turns), `tokens`,
`reply_tokens_max`; corrections also carry `rule` and `train_last_only`.
`sft_stats.json` summarises a branch (rows by source, tasks, token counts, what was dropped and why).
## How it was built and filtered
`scripts/build_sft.py` renders every row with the recorded prompt and the same conversion the live agent uses, and keeps
a row only if: it comes from a τ²-bench **train** task (never a held-out or hidden one); the customer simulator did not
leak past its turn; a correction's view had not lost the customer's identity; no reply exceeds the student's 512-token
budget; and the row renders with Tiny Aya's real chat template.
## Licence and sources
CC BY-NC 4.0, following its sources: τ²-bench (MIT) tasks and environment, BFCL v3 (Apache-2.0) samples, teacher turns
from DeepSeek V4.1 Flash, customer turns from gpt-oss-120b, for the non-commercial Tiny Aya. Research use only.
## Links
- Code: [GitHub](https://github.com/tejasnafde/Shipwright); full write-up: [submission/WRITEUP.md](https://github.com/tejasnafde/Shipwright/blob/main/submission/WRITEUP.md)
- Demo video (3 min), the control room replaying round 16: [watch](https://huggingface.co/spaces/mitushigoyal5/shipwright/resolve/main/video/shipwright-demo.mp4)
- Results page: [Space](https://huggingface.co/spaces/mitushigoyal5/shipwright)