Skip to content
View as Markdown

tinker_cookbook.checkpoint_utils.load_checkpoints_file

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

tinker_cookbook.checkpoint_utils.load_checkpoints_file(log_dir)

Load checkpoint records from a JSONL file.

Parameters:

  • log_dir (str) – Directory containing the checkpoints.jsonl file.

Returns: A list of CheckpointRecord instances, or an empty list if the file does not exist.