Language Model Perplexity Score - Coding problem | OneNoughtOne