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

Refactor DPR for haystack compatibility #606

Merged
merged 28 commits into from
Oct 28, 2020
Merged

Conversation

kolk
Copy link
Contributor

@kolk kolk commented Oct 27, 2020

  • TextSimilarityProcessor query/passage optional
  • BiAdaptiveModel query/passage forward pass optional
  • max_seq_len_query and max_seq_len_context added to TextSimilarityProcessor
  • Incorporate changes from PR: DPR transformers modelhub model load bugfix DPR transformers modelhub model load bugfix #595

@kolk kolk requested a review from tholor October 27, 2020 16:10
farm/data_handler/processor.py Outdated Show resolved Hide resolved
farm/data_handler/processor.py Outdated Show resolved Hide resolved
farm/modeling/prediction_head.py Outdated Show resolved Hide resolved
@tholor tholor changed the title DPR haystack compatibility Refactor DPR for haystack compatibility Oct 28, 2020
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. Once CI passes, we can merge this

@tholor tholor merged commit 6dd113d into master Oct 28, 2020
@kolk kolk linked an issue Oct 29, 2020 that may be closed by this pull request
This pull request was closed.
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.

Separate max_seq_len for question and passages in DPR
4 participants