Run the validate function to get a baseline accuracy. This is what the model would predict without training. Then train the model using the training_loop . Then measure the accuracy again using the validate function. It will be higher than 10%.
The code in github does exactly that. I hope you will take a look at that very soon