I\'m working on chatbot project. I want to measure the evaluation of the chatbot, so I want to do it with Perplexity(PPL) and hits@1. I knew how to implement PPL but I