-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to use your pretrained model for question-answering ? # Question #261
Comments
This does help a little bit: https://huggingface.co/transformers/model_doc/xlnet.html#xlnetforquestionanswering but at the end of the code we have: outputs = model(input_ids, start_positions=start_positions, end_positions=end_positions) loss = outputs.loss how do we get the answer to the question I am a little bit confused. They have the question but they do not show the answer specifically. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm new to NLP, I run the colab jupyter notebook you provided. But, I couldn't find the instructions on how I can use your model for Q&A analysis.
For example:
I have text, I want to ask a question and get some answers by using your model. Can you provide an example on this case.
Thank you!
The text was updated successfully, but these errors were encountered: