I bet you could get this from chatGPT itself since it's basically already a generative probability model over text. "Perplexity" is common measure of language model performance, which basically combines the differences of probability of