Skip to content

AccuracyCalculator: make clearer Exception message when embeddings are NaN  #738

@KevinMusgrave

Description

@KevinMusgrave

If embeddings are NaN, it raises an unclear exception:

ValueError: When ref_includes_query is True, the first len(query) elements of reference must be equal to query. Likewise, the first len(query_labels) elements of reference_labels must be equal to query_labels.

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