> For the complete documentation index, see [llms.txt](https://aisuko.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aisuko.gitbook.io/wiki/ai-techniques/large-language-model/measuring-model-quality.md).

# Measuring model quality

We can use the [perplexity](https://huggingface.co/docs/transformers/perplexity) example to measure perplexity over a given prompt(lower perplexity is better)
