-
Notifications
You must be signed in to change notification settings - Fork 15
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
Q&A with fixed passage #1
Comments
To have a fixed text you can just manually set the text in model.findAnswers() to whatever text you want.
And then remove textarea and passageRef from the code so that the user only ask questions. |
This doesn't work with long passages as it works with short ones. How do I create such model? |
There is max context you can provide to BERT models. Here are some alternative approaches you can try to get around it. Some additional info that may be helpful: |
Hey, this is an awesome repository! I wanted to make my own q&a web app and this ideal. I was just wondering ifyou could help me to change the code a bit so that you can just ask questions about a fixed text that is also not visible on the web app. More precise that you only have a question box in which you can ask questions about a certain text that is already specified in the code.
Thanks in advance!
The text was updated successfully, but these errors were encountered: