Skip to content

tinker_cookbook.checkpoint_utils.load_checkpoints_file

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.