-
Notifications
You must be signed in to change notification settings - Fork 238
push locomo rag eval code #180
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
Conversation
response_time = str(item["response_time"]) | ||
search_context = str(item["context"]) | ||
|
||
# Skip category 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why skip cate5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In locomo10_rag.json, the dataset don't have answer field where category is 5.
|
||
return chunks, embeddings | ||
|
||
def split_chunks2(self, message_content, chunk_size): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove if not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a second method to split chunks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Summary: This is a evaluation code for locomo dataset.
Fix: Not yet
Docs Issue/PR: Not yet
Reviewer: @Nyakult
Checklist: