-
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
I am using Bedrock for my RAG and faithfullness is NaN most of the times even when context and answer both makes sense. The same problem is also there for the amnesty dataset shared in ragas docs.
Ragas version: 0.1.0
Code to Reproduce
from datasets import load_dataset
from ragas import evaluate
amnesty_qa = load_dataset("explodinggradients/amnesty_qa", "english_v2")
result = evaluate(amnesty_qa["eval"],metrics=[context_precision, faithfulness, answer_relevancy])
result.to_pandas()
I see similar issue in my own dataset as well, but it's not clear why failthfulness is NaN. Could you please give some clarity what is the issue here.
CosaroLisa and ycjcl868
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
