Skip to content
View as Markdown

tinker_cookbook.checkpoint_utils

Generated from tinker-cookbook at commit 8486b8d. Source links point at that snapshot.

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).