Skip to content

Runtime Error #15

@qiisziilbash

Description

@qiisziilbash

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions