# tinker_cookbook.checkpoint_utils

| Class | Description |
| --- | --- |
| [`CheckpointRecord`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/checkpoint_utils/checkpointrecord/) | A single checkpoint record stored in `checkpoints.jsonl`. |

| Function | Description |
| --- | --- |
| [`load_checkpoints_file()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/checkpoint_utils/load_checkpoints_file/) | Load checkpoint records from a JSONL file. |
| [`get_last_checkpoint()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/checkpoint_utils/get_last_checkpoint/) | Get the last checkpoint from the checkpoints.jsonl file in the specified log dir |
| [`save_checkpoint()`](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/checkpoint_utils/save_checkpoint/) | Save model checkpoint (synchronous wrapper around save_checkpoint_async). |
