Find answers from the community

Updated 2 months ago

Span marker

Plain Text
    437             The target length or query length the created mask shall have.
    438     """
--> 439     _, key_value_length = mask.shape
    440     tgt_len = tgt_len if tgt_len is not None else key_value_length
    441 

ValueError: too many values to unpack (expected 2)
Having trouble with the entity extractor
L
1 comment
Hmmm either the input length was too long, of some kind of issue with pytorch or hughingface
Add a reply
Sign up and join the conversation on Discord