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

Make title info optional when evaluating on QA data #494

Merged
merged 2 commits into from
Oct 23, 2020

Conversation

Timoeller
Copy link
Contributor

The extraction of title information was failing if there are no "title" key in the QA documents.

I added a warning if no titles are present and made the title extraction optional.

haystack/preprocessor/utils.py Outdated Show resolved Hide resolved
Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@tholor tholor added this to the #3 milestone Oct 21, 2020
@tholor
Copy link
Member

tholor commented Oct 23, 2020

Do you want to merge this @Timoeller ?

@Timoeller Timoeller merged commit def8fd6 into master Oct 23, 2020
@julian-risch julian-risch deleted the title_eval_handling branch November 15, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants