td-toolkit / td_lang /examples /test_fork_reset.td
td-builder's picture
Fixed code: vocab mismatch fix for cross-arch merging (Llama/Falcon)
5d61448 verified
# test_fork_reset.td — Test fork -> edit -> eval -> reset
load "Qwen/Qwen3-VL-8B-Instruct" as base
# Create a checkpoint/fork
fork base as stable_fork
# Try a risky edit
edit base layers all using lora lr 5e-4
eval base -> risky_eval.json
# Revert base to the stable fork state
reset base to stable_fork