{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "gongzhiren-state-of-thought--refit-controller-from-released-trajectories",
 "repo": "GongZhiren/State-of-Thought",
 "repo_url": "https://github.com/GongZhiren/State-of-Thought",
 "repo_slug": "gongzhiren-state-of-thought",
 "title": "Refit all 582 controller parameters from trajectories",
 "page_title": "How to refit all 582 controller parameters from trajectories with State of Thought",
 "summary": "Retrain the controller from released offline trajectories without a backbone pass.",
 "who": "A researcher testing whether the controller fit is stable, or modifying the training setup, who needs to refit it without running the backbone.",
 "problem": "Re-running the backbone for every training experiment is slow, so a fit from saved trajectories is needed for controlled comparisons.",
 "outcome": "A refitted controller produced from the released trajectories, with the training run recorded in the same resumable format as evaluation.",
 "steps": [
  "Run `git clone https://github.com/GongZhiren/State-of-Thought.git`",
  "Run `cd State-of-Thought`",
  "Run `python -m pip install -e .` inside an activated virtual environment",
  "Run `sot train --config experiments/paper/llama-3.1-8b.yaml`",
  "Run `sot checkpoint verify <path to refitted controller.pt>` to check the new file (inferred, check the README)"
 ],
 "agent_prompt": "In the repo GongZhiren/State-of-Thought, install the package and run sot train with experiments/paper/llama-3.1-8b.yaml. Report the output controller path, run sot checkpoint verify on it, and state whether its parameter count is 582.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "A refitted controller will not match the frozen released checkpoint hashes, so label any refit clearly and do not present it as the paper controller.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip and git installed",
  "A virtual environment for the install",
  "Hugging Face access for backbone weights, with license acceptance and hf auth login for gated models",
  "Enough disk space and GPU memory for the chosen backbone when running evaluation"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/gongzhiren-state-of-thought/refit-controller-from-released-trajectories/",
 "md": "https://dedupedai.com/use-cases/gongzhiren-state-of-thought/refit-controller-from-released-trajectories/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/gongzhiren-state-of-thought--refit-controller-from-released-trajectories.json",
 "api_version": "v1"
}
