Skip to content

How to predict after loading in trained model in local? #1437

Discussion options

You must be logged in to vote

Hi @asharm0662! Please let me try to help you. I think there is a misunderstanding, given that the tutorial you have linked does not contain any training but only the application of already trained QA models (= making predictions). You do not need to train a model in order to make predictions.

You should be able to load one of the existing Reader models (for example "deepset/roberta-base-squad2") on your local machine just like in the tutorial and ask questions on your documents by following the steps in Tutorial 1 or Tutorial 3. In order to make predictions on your own documents instead of the Game-of-Thrones sample documents, just write your own documents to the document store.

I hope t…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@asharm0662
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by asharm0662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants