Replies: 1 comment
-
Hello @i-Anshal, I close this discussion and I will try to help in #5359 (duplicate). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I want to know is there any way I can process the prediction of the whole batch of questions at once not on single question
I am using
from haystack.nodes import FARMReader
reader = FARMReader(model_name_or_path="/model_path", use_gpu=True)
context="passage of data to extract the answer"
question_list="list of 50 questions I have trained my model"
for i in question_list:
answer=reader.predict_on_texts(i,[context])
I want to process the 50 questions in one iteration not in the loop or iterate over questions one by one
Beta Was this translation helpful? Give feedback.
All reactions