Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

DPR transformers modelhub model load bugfix#595

Closed
kolk wants to merge 20 commits intomasterfrom
dpr_transformersModelhub_load
Closed

DPR transformers modelhub model load bugfix#595
kolk wants to merge 20 commits intomasterfrom
dpr_transformersModelhub_load

Conversation

@kolk
Copy link
Copy Markdown
Contributor

@kolk kolk commented Oct 20, 2020

Bug fix for loading DPRQuestionEncoder and DPRContextEncoder weights from transformers modelhub

@tholor tholor added this to the #3 milestone Oct 21, 2020
bogdankostic and others added 12 commits October 21, 2020 17:15
* change defaults in dpr example. implement max_samples in processor. simplify prediction head

* move similarity score calc out of forward pass

* fix variable name

* adjust dpr test to new forward pass

* update docstrings

* update example script

* update typehints
* fix removal of yes no answers

* Make use of the answer_type linked to each answers.

* pin seqeval version

* remove hardcoded answer types list

Co-authored-by: Fabio Tesser <[email protected]>
Co-authored-by: Malte Pietsch <[email protected]>
@kolk kolk requested a review from tholor October 27, 2020 16:20
@kolk kolk mentioned this pull request Oct 27, 2020
4 tasks
@tholor
Copy link
Copy Markdown
Member

tholor commented Oct 28, 2020

@kolk Can we close this one? I believe we tackle it in #606 now

@kolk kolk closed this Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants