Hi
could you tell me how I can get the checkpoint path in this function? thanks
def on_save_checkpoint(self, checkpoint: Dict[str, Any]) -> None:
save_path = checkpoint['filepath'] ??? where is the path ???
self.model.save_pretrained(save_path)
self.tokenizer.save_pretrained(save_path)