-
Notifications
You must be signed in to change notification settings - Fork 129
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
issue while running the code #71
Comments
Running into the same problem... System:
Installed docquery via:
Trying to use docquery using:
Output:
|
@samanofficial @julianzz98 Hey hello there ! pip uninstall transformers |
@AnuragJha003 thank you, was finally able to test it and the library downgrade made it work! I think this issue can be closed now. |
(mydoc) PS C:\Users\N_B\OneDrive\Desktop\docquery> docquery scan "What is the title?" "https://www.zomato.com/" document-question-answering is already registered. Overwriting pipeline for task document-question-answering... |
Hi, I run into the same problem, but when I tried to downgrade transformers I get an error: ERROR: Failed building wheel for tokenizers any ideas? |
@alexlorans maybe check your Python version. If you use Python 3.11+ there might be issues, try it again using Python 3.10 as I used this version back then :) |
For users using Python3.9 and Ubuntu, below combination works: |
print(q, p(question=q, **doc.context))
Exception: You cannot use
pop
on a ModelOutput instance.The text was updated successfully, but these errors were encountered: