Two fine-tune attempts on my dataset. Two failures. 📉

My second run ended with format accuracy at 12%, down from 80%. So I did something I had never done before. I went on LinkedIn and asked ML folks to fine-tune my dataset for me. Public post, real ask.

Tikhon Vodyanov replied. 🤝

This post is what happened next. It has the best numbers my dataset has ever seen and one honest limit you should know before you use them.

The Dataset, In 30 Seconds

MegaBit trajectories is my open dataset of 66 real coding-agent sessions. Every session ran in a sandbox and all 66 end with passing tests. The agent has 8 tools, the same ones Claude Code, Cursor and opencode give their own agents. The point: teach small models to act, to fire a real tool call, instead of writing a nice paragraph about calling one.

Why small models? Because agent work multiplies cost: one task can mean dozens of model calls. A 1.5B model that acts beats a big model that talks.

In the previous post, Abdul Moueed proved the first half: after his fine-tune, valid format went 75% → 100% and correct tool name 16.7% → 91.7% on episodes his model never trained on.

The harder question

Tikhon went after the question nobody had tested. His README states it word for word: "does this dataset make a model better at calling tools, without making it worse at writing code?"

That second half is the scary part. FINE-TUNE a model on tool data and it can forget its old skills. I watched that happen twice, on my own runs.

What He Built

Tikhon is an ML researcher (GitHub), the creator of deskit, a Python library for Dynamic Ensemble Selection, and an olympiad medalist. He saw the post and built a complete study in his free time:

  1. He studied the data first: token budget, loss budget, tool coverage, schema drift.
  2. He wrote the training script: LoRA r=16 on Qwen2.5-1.5B-Instruct, lr 5e-5, 2 epochs. Loss on assistant tokens only. Narration masked on call turns. Tool names weighted 4 to 1. Training repos balanced.
  3. He trained: 23 steps, about 13 minutes, on a 12 GB laptop GPU (RTX 5070 Ti). The adapter is 71 MB.
  4. He tested: 30 tool probes on a repo the model NEVER saw (the packaging repo, 14 of 66 episodes, held out the whole time), plus HumanEval+, MBPP+, GSM8K, IFEval, and the full 3,641-case BFCL through the official checker.

Base Model First

On the 30 held-out probes, stock Qwen2.5-1.5B-Instruct:

Check Base model
Fires a valid tool call 10 of 30 (33.3%)
Correct tool name 3 of 30 (10.0%)
Right tool when forced to choose 12 of 30 (40.0%)
HumanEval+ 47.0%
MBPP+ 48.7%
BFCL V4 single-turn, 3,641 cases 64.2%

One in three calls even parsed. That is the narrate-instead-of-act problem, measured.

After His Fine-Tune

Same model, same probes, only the 71 MB adapter added:

Check Base After
Fires a valid tool call 10 of 30 (33.3%) 28 of 30 (93.3%)
Correct tool name 3 of 30 (10.0%) 11 of 30 (36.7%), p=0.039
Right tool when forced to choose 12 of 30 (40.0%) 12 of 30 (40.0%)
HumanEval+ 47.0% 45.7% (p=0.82)
MBPP+ 48.7% 47.6% (p=0.61)
BFCL V4 single-turn 64.2% 63.2% (p=0.0017)
GSM8K / IFEval 56.5 / 44.5 56.8 / 44.2, flat

The math checks out: the tool-name gain is real (p=0.039), the code moves sit inside noise (p=0.82 and p=0.61), and the BFCL dip is small but real (p=0.0017).

He also checked the cheats 🕵️

  • Memorization? No. On a repo the model TRAINED on, parse rate is 84.6%, lower than the 93.3% on the unseen repo. 😅
  • A formatting trick? No. Change the schema layout and parse rate holds at 80%.
  • Loss moved the right way everywhere: 0.916 → 0.825 on the held-out repo.
  • And he ran the learning-rate test for me: a careless lr (1e-4) cost 7.4 HumanEval+ points on this data. His careful recipe cost 1.3, which is noise. Same data, different recipe. That one detail saved the code.

The honest part

Picking the right tool did not move: 40% → 40% when forced to choose. His own line is the finding: "the fine-tune taught the model to act, not to choose."

And the external BFCL dropped 1.0 point. Small, but real, and it lands exactly where the data never had examples: when NOT to call a tool, and tool names the model has never seen.

So the use case is precise. If your agent narrates instead of acting, this fine-tune is a 13-minute fix. If you need better tool CHOICE, that is the next problem.

Why this is my dataset's biggest win

The same study that maps 10 limits also confirms the core receipts, in his words:

"Real executions, not simulations. 66 episodes, 2,311 published tool-call records, every call ran in a sandbox, and all 66 sessions end with passing tests."

"Failure paths are preserved. 221 calls were restored from failed attempts... That is the part most public trajectory corpora drop, and it is why the corpus is worth studying at all."

"The same vocabulary appears in Claude Code, Cursor and opencode, so an adapter trained here targets a real interface rather than an invented one."

And his recipe settles my failure story: same data, careful learning rate plus masking, and the code survives. My two broken runs were my bugs. The dataset was never the thing that broke them. 🙌

What I build next

His limits list is now the public backlog for MegaBit v2: schema variety (so models learn to READ tools, not memorize 8 names), "don't call" examples (so they learn restraint), real coverage for glob and write, wider arguments, a second language.

Two independent studies have now gone deep on this dataset. One found 7 issues. One mapped 10 limits. Both ended in public fix lists. That is what makes a dataset worth a lab's attention, and the kind of receipt a lab like Sarvam AI can read before adopting the trajectories.

Thank you, Tikhon

The study is his, the credit is his, and the roadmap is a gift. He answered a public post and published everything: megabit-tool-adapter carries the report, the scripts, and the raw result JSONs. Both independent studies now sit with their raw JSON in the Finetuning-results folder of my finetune repo. His Github and Linkedin. Go, send him some love. ❤️

Try it yourself

13 minutes, 12 GB, one dataset. His verdict tells you exactly when to use it: your agent ships these 8 tool names and narrates instead of acting. Reproduce it from his repo, or read REPORT.md and check his numbers, they are all in results/.

And if you want to stress my corpus with your own setup, my LinkedIn offer still stands.