Toilet training isn't about teaching dogs to 'hold it'. A baby puppy is not physically able to hold their toileting for long lengths of time as their bladders etc are not fully developed.
I would never ever force a puppy to hold it. People I know who crate train get up every couple of hours through the night to let their puppy outside to toilet (for the first couple of weeks) slowly decreasing the time as the pup's body develops.
Toilet training for me is about teaching the puppy where to toilet, any time I suspect a pup needs to go I take them outside and give big rewards for toileting outside. If I catch them in the act, I wordlessly pick them up and put them outside and give them lots of praise. You need to learn to read the signs of when they might be able to toilet, sniffing, going around in a circle, take note of when they last ate and drank etc. Toilet training is all about consistency and lots of praise!