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

Pointers on using this for retrieval-reader problem with growing context #2

Closed
lawliet19189 opened this issue Mar 26, 2021 · 1 comment

Comments

@lawliet19189
Copy link

Thanks for the great work! I have read the paper and understood the Gist of the approach but I am out-of-depth on few things so I wanted to clarify few things here and get some suggestion.
My problem statement is straight-forward, I have thousands of documents as context and I need to retrieve an answer for query in real-time. I came across your approach and I wanted to try it out and possibly adapt this in industry setting. One other constrain is that the context grows, that is, new documents get added on and the retrieval needs to support that.

Do you think your approach is suitable for this use-case?

Thanks in Advance

@jhyuklee
Copy link
Member

jhyuklee commented Mar 26, 2021

Hi @lawliet19189, thank you for your interest in our work.

Yes. you can use your new documents to create your own phrase index. You can see here for creating a phrase index.

To add new documents to the existing phrase index. you can additionally run our model to get phrase representations for the new documents, and add it to the existing faiss index. This script creates a phrase index from scratch with faiss, and you can use this script to add your new phrase representations as well (may require some understanding on the code + modification of the code, too).

Thanks.

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

No branches or pull requests

2 participants