tinker_cookbook.checkpoint_utils
| Class | Description |
|---|---|
CheckpointRecord |
A single checkpoint record stored in checkpoints.jsonl. |
| Function | Description |
|---|---|
load_checkpoints_file() |
Load checkpoint records from a JSONL file. |
get_last_checkpoint() |
Get the last checkpoint from the checkpoints.jsonl file in the specified log dir |
save_checkpoint() |
Save model checkpoint (synchronous wrapper around save_checkpoint_async). |