-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
answeredπ€ The question has been answered. Will be closed automatically if no new commentsπ€ The question has been answered. Will be closed automatically if no new commentsbugSomething isn't workingSomething isn't working
Description
Describe the bug
The answer correctness does not seems consistent.
Code to Reproduce
question = ["1","2","3","4","5"]
answers = ["yes", "no", "no", "yes", "no"]
contexts = [["1","2","3","4"],["1","2","3","4"],["1","2","3","4"],["1","2","3","4"],["1","2","3","4"]]
ground_truth = ["yes", "no","yes","no", "no"]
ds = Dataset.from_dict({
"question" : question,
"answer" : answers,
"contexts" : contexts,
"ground_truth" : ground_truth
})
result_ragas = evaluate(ds,metrics=metrics,raise_exceptions=False)
result_ragas
results = result_ragas.to_pandas()
results.head()
How come row 1 and row 4 does not share the same answer correctness ?
dosubot and ohadeytan
Metadata
Metadata
Assignees
Labels
answeredπ€ The question has been answered. Will be closed automatically if no new commentsπ€ The question has been answered. Will be closed automatically if no new commentsbugSomething isn't workingSomething isn't working
