Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Error #15

Open
qiisziilbash opened this issue Feb 24, 2025 · 0 comments
Open

Runtime Error #15

qiisziilbash opened this issue Feb 24, 2025 · 0 comments

Comments

@qiisziilbash
Copy link

qiisziilbash commented Feb 24, 2025

to replicate:

import lmppl
scorer = 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 for tensor number 2 in the list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant