def load_checkpoint()

in generation/llm_swarm_script.py [0:0]


def load_checkpoint():
    if os.path.exists(CHECKPOINT_FILE):
        with open(CHECKPOINT_FILE, 'r') as f:
            return json.load(f)
    return {'tar_index': 0, 'total_examples': 0}