DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to refit all 582 controller parameters from trajectories with State of Thought

Retrain the controller from released offline trajectories without a backbone pass.

Short answer: Run git clone https://github.com/GongZhiren/State-of-Thought.git; then run cd State-of-Thought; run python -m pip install -e . inside an activated virtual environment. All steps.

  • Research
  • Advanced
  • 1 hour
  • From the README
  • Any agent

Who it is forA researcher testing whether the controller fit is stable, or modifying the training setup, who needs to refit it without running the backbone.

The problemRe-running the backbone for every training experiment is slow, so a fit from saved trajectories is needed for controlled comparisons.

The outcomeA refitted controller produced from the released trajectories, with the training run recorded in the same resumable format as evaluation.

What you need first

  • 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

Steps

  1. Run git clone https://github.com/GongZhiren/State-of-Thought.git
  2. Run cd State-of-Thought
  3. Run python -m pip install -e . inside an activated virtual environment
  4. Run sot train --config experiments/paper/llama-3.1-8b.yaml
  5. Run sot checkpoint verify <path to refitted controller.pt> to check the new file (inferred, check the README)

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for GongZhiren/State-of-Thought and "Refit all 582 controller parameters from trajectories"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer