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

Replace dpr with embeddingretriever tut14 #2336

Merged
merged 14 commits into from
Mar 28, 2022

Conversation

mkkuemmel
Copy link
Member

Proposed changes:

  • changed DPR to Embedding Retriever
  • removed according images from code, inserted new ones in image folder. Link has to be added in later PR
  • changed some failing code (print_answers function) to non-failing work-around, the general logic here needs to be reconsidered

Status (please check what you already did):

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

@mkkuemmel mkkuemmel requested a review from TuanaCelik March 21, 2022 11:17
@mkkuemmel mkkuemmel self-assigned this Mar 21, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

res_2 = transformer_question_classifier.run(query="Arya Stark was the daughter of a Lord.")
print("ES Results" + "\n" + "=" * 15)
print_answers(res_2, details="minimum")
print_documents(res_2)
Copy link
Member

@julian-risch julian-risch Mar 21, 2022

Choose a reason for hiding this comment

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

Just found this bug myself. Great to see that you have already included the fix. 👍

@TuanaCelik
Copy link
Contributor

@mkkuemmel I've just fixed 1 mini typo, can you have a look and if all good I'll approve and we can merge this. I agree with you on the complication of Tutorial 14 though (discussed offline) - But I think that's something we can create a separate issue and PR for. So here goes: Issue 2364

@ZanSara ZanSara merged commit 04b56f0 into master Mar 28, 2022
@ZanSara ZanSara deleted the replace_dpr_with_embeddingretriever_tut14 branch March 28, 2022 14:54
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.

4 participants