Skip to content

IndexError when running evaluation #5

@YourSaDady

Description

@YourSaDady

Hi. I tried to follow the README example, and when I came to the Evaluation step, an IndexError occurred when I ran python evaluate.py --model openlm-research/open_llama_3b --domain ID --result ParaRel_openllama_3b:
微信图片_20240316175713

I think the error is due to that in evaluate.py, the SURE and UNSURE are lists of encodings but not their ids:
SURE.append(tokenizer("sure")[0]) UNSURE.append(tokenizer("unsure")[0])

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