We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I received this error with finder.get_answers() from the tutorial.
TypeError Traceback (most recent call last) <ipython-input-10-d4b62260fd95> in <module> ----> 1 finder.get_answers(question="Who is the buyer?", top_k_retriever=10, top_k_reader=3) ~/Desktop/haystack/haystack/__init__.py in get_answers(self, question, top_k_reader, top_k_retriever, filters) 71 paragrahps=paragraphs, 72 meta_data_paragraphs=meta_data, ---> 73 top_k=top_k_reader) 74 75 return results ~/Desktop/haystack/haystack/reader/farm.py in predict(self, question, paragrahps, meta_data_paragraphs, top_k, max_processes) 76 # get answers from QA model (Top 5 per input paragraph) 77 predictions = self.model.inference_from_dicts( ---> 78 dicts=input_dicts, rest_api_schema=True, max_processes=max_processes 79 ) 80 TypeError: inference_from_dicts() got an unexpected keyword argument 'max_processes'
This was from the version installed with git clone.
The text was updated successfully, but these errors were encountered:
Issue was cause with an older version of farm. I needed to pip uninstall farm and reinstall farm-haystack with git clone.
pip uninstall farm
Sorry, something went wrong.
Update add-gradient-ai-integration-045fd476e7d3aa6a.yaml (#9)
914dd89
No branches or pull requests
I received this error with finder.get_answers() from the tutorial.
This was from the version installed with git clone.
The text was updated successfully, but these errors were encountered: