Skip to content

Evaluation Metrics in qa_evaluate.py #23

Description

@mli88

Thanks for open-sourcing such an unique benchmark dataset for RAG. It's the only publicly available multi-hop RAG benchmark for a while.

When reading the qa_evaluate.py, I was pretty confused for the algorithm.

My understanding is, len(gold_list) == len(pred_list) == number of queries. Since in this evaluation task, fp=number of queries - tp, we would have fp==fn==tn. Under this circumstance, I do not think the calculated precision, recall, and F1 score makes more sense than a simple Accuracy.

Also, for how the tn is calculated ---- tn = len(pred_list) - tp, it just doesn't hold up under scrutiny.

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