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

Fix type of query_emb in DPR.retrieve() #247

Merged
merged 1 commit into from
Jul 18, 2020
Merged

Fix type of query_emb in DPR.retrieve() #247

merged 1 commit into from
Jul 18, 2020

Conversation

antoniolanza1996
Copy link
Contributor

After refactoring of query_by_embedding function in the commit 355be29, DPR has stopped to work.
According to your EmbeddingRetriever retrieve function implementation, I have fixed DPR retrieve function. Hope it helps.

After refactoring of query_by_embedding function in the commit 355be29, DPR has stopped to work. 
According to your EmbeddingRetriever retrieve function implementation, I have fixed DPR retrieve function. Hope it helps.
@tholor tholor changed the title bug fix Fix type of query_emb in DPR.retrieve() Jul 18, 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.

Thanks a lot for spotting and fixing it @antoniolanza1996 !
You are totally right. I missed this typecast yesterday in the refactoring.

@tholor tholor merged commit cdaa6f0 into deepset-ai:master Jul 18, 2020
@antoniolanza1996
Copy link
Contributor Author

Your welcome. Indeed, thanks for your outstanding work on this repository.

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.

2 participants