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

Align TransformersReader defaults with FARMReader #2490

Merged
merged 2 commits into from
May 4, 2022

Conversation

julian-risch
Copy link
Member

@julian-risch julian-risch commented May 3, 2022

Proposed changes:

  • Set TransformersReader's default value for return_no_answer to False and for top_k_per_candidate to 3 to align it with the default values of FARMReader.

closes #2446

Status (please check what you already did):

  • First draft (up for discussions & feedback)
  • Final code
  • Added tests
  • Updated documentation

@julian-risch julian-risch changed the title Align TransformersReader defaults with vFARMReader Align TransformersReader defaults with FARMReader May 3, 2022
Copy link
Contributor

@bogdankostic bogdankostic left a comment

Choose a reason for hiding this comment

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

LGTM!

@julian-risch julian-risch merged commit 970c476 into master May 4, 2022
@julian-risch julian-risch deleted the align-farm-transformers-reader branch May 4, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent default values for FARMReader and TransformersReader
2 participants