Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: delete ROUGE/METEOR score from QAAccuracy documentation #325

Merged
merged 5 commits into from
Aug 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fmeval/eval_algorithms/qa_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class QAAccuracy(EvalAlgorithmInterface):
3. Precision over Words: The fraction of words in the prediction that are also found in the target answer. The text is normalized as before.
4. Recall over Words: The fraction of words in the target answer that are also found in the prediction.
5. F1 over Words: The harmonic mean of precision and recall, over words (normalized).
6. [BERTScore](https://arxiv.org/pdf/1904.09675.pdf) uses a second ML model (from the BERT family) to compute sentence embeddings and compare their cosine similarity. This score may account for additional linguistic flexibility over ROUGE and METEOR since semantically similar sentences should be embedded closer to each other.
6. [BERTScore](https://arxiv.org/pdf/1904.09675.pdf) uses a second ML model (from the BERT family) to compute sentence embeddings and compare their cosine similarity. This score may account for additional linguistic flexibility over the other QAAccuracy metrics since semantically similar sentences should be embedded closer to each other.


Precision, Recall and F1 over Words are more flexible as they assign non-zero scores to
Expand Down
Loading