Views
No views yet
shreethar/LatentStudent-ckpt-400.spatial_parameters.pt: five learned spatial-slot embeddings and the
Stage 4 waypoint MLPlatent_student_config.json: packaging and provenance metadatastage4_config.json: training configuration, when present in the checkpointshreethar/LatentStudent-ckpt-400stage4_partial_run_2/step_002650best_checkpoint.json002650LatentStudent wrapper so the spatial slots and waypoint
head are restored alongside the merged VLM:1from transformers import AutoTokenizer
2from train.stage4.checkpointing import load_latent_student_checkpoint
3
4repo_id = "shreethar/Latent-Student-Spatial-Forcing"
5tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
6end_think_token_id = tokenizer.convert_tokens_to_ids("</think>")
7
8student = load_latent_student_checkpoint(
9 checkpoint=repo_id,
10 end_think_token_id=end_think_token_id,
11 trainable=False,
12 M=6,
13 K=5,
14)
15student.eval()AutoModelForImageTextToText restores the merged VLM but not
the external spatial slots or waypoint head. Use the wrapper above for the
complete Latent Student behavior.