You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importlmpplscorer=lmppl.MaskedLM("microsoft/deberta-v3-small")
scorer.get_perplexity("to the 3rd")
Result:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
....
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 6 but got size 7 fortensor number 2in the list.
The text was updated successfully, but these errors were encountered:
to replicate:
Result:
The text was updated successfully, but these errors were encountered: