This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
[NeuralChat] RAG evaluation #1333
Open
Liangyx2
wants to merge
158
commits into
main
Choose a base branch
from
yuxiang/evaluation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Liangyx2
commented
Mar 1, 2024
•
edited
Loading
edited
- Data augmentation: retrieval dataset construction, include (1) Context to Question and Mine Hard Negatives, (2) Context, Question to Ground Truth.
- Retrieval evaluation: MRR (Mean reciprocal rank) and Hit (Hit Ratio) under different vector database, embedding model, retrieval type, search type.
- RAG evaluation: answer relevancy, faithfulness, context recall, context precision using Ragas framework.
for more information, see https://pre-commit.ci
hshen14
reviewed
Mar 1, 2024
intel_extension_for_transformers/neural_chat/tools/evaluation/context_utils.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Liangyx2 <[email protected]>
…context_utils.py Signed-off-by: Liangyx2 <[email protected]>
for more information, see https://pre-commit.ci
…html_parser.py Signed-off-by: Liangyx2 <[email protected]>
for more information, see https://pre-commit.ci
…hn_mine.py Signed-off-by: Liangyx2 <[email protected]>
…llm_generate_raw_data.py Signed-off-by: Liangyx2 <[email protected]>
…mine_hard_negatives_check_similarity.py Signed-off-by: Liangyx2 <[email protected]>
…requirements.txt Signed-off-by: Liangyx2 <[email protected]>
…retrieval_dataset_construction.py Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: xmx-521 <[email protected]>
Signed-off-by: lvliang-intel <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: XuhuiRen <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
Signed-off-by: Liangyx2 <[email protected]>
for more information, see https://pre-commit.ci
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.