Update perplexity.py

#6
by hqsiswiliam - opened

Add model & tokenizer parameters, to avoid reinitialising the model every time on _compute()

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment