asahi417 / lmppl

Calculate perplexity on a text with pre-trained language models. Support MLM (eg. DeBERTa), recurrent LM (eg. GPT3), and encoder-decoder LM (eg. Flan-T5).
147Updated 3 months ago

Alternatives and similar repositories for lmppl:

Users that are interested in lmppl are comparing it to the libraries listed below