How to get the checkpoint path?

So when you say “version_{version number}/epoch_{epoch number}” how do you get ecpoh number and version number inside the callback? thanks