perplexity-lenses / perplexity_lenses

Commit History

Run tokenizer before computing perplexity and format
7b62017

edugp commited on

Replicate default cc_net preprocessing at inference time on KenlmModel.get_perplexity
0def03f

edugp commited on

Format file
ab846df

edugp commited on

Add distiluse-base-multilingual-cased-v2
ee732fe

edugp commited on

Add tests and fix issue when splitting into sentences, to grab the minimum number between total sentences and sample size, rather than total original documents and sample size
d131aa3

edugp commited on

Check if file exists before attempting to remove
ab7449f

edugp commited on

Remove also the '{language}.sp.model' file on failure
38b6530

edugp commited on

Add CLI and refactor
86e673e

edugp commited on

Remove corrupt KenLM model files.
9ec7b19

edugp commited on

Support visualizing both sentences and whole documents. Smooth down color assignment in visualization.
a86046b

edugp commited on