Skip to content

Empty candidate sentence #107

Closed
Closed
@achingacham

Description

@achingacham

Hi,

Could someone help me understand why is the BERTScore recall is non zero when there is an empty candidate sentence. Isn't zero the right score for precision as well as recall over here?

score([''], ['hello how are you'], lang='en')

This is what the model returns now:

Warning: Empty candidate sentence detected; setting precision to be 0.
(tensor([0.]), tensor([0.7738]), tensor([0.]))

best,
Anupama

Originally posted by @achingacham in #62 (comment)

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