Closed aflah02 closed 2 years ago
Hey Is there some way to just use a pre trained model and give a sentence as input and get it's perplexity as the output?
I'm not sure if I understand your question correctly but that is exactly what scorer.score_sentences does ( there is an example on the README ).
scorer.score_sentences
Thanks I'll check it out!
Hey Is there some way to just use a pre trained model and give a sentence as input and get it's perplexity as the output?