-
Notifications
You must be signed in to change notification settings - Fork 2.1k
DrQA agent #437
Comments
Yes, there are some examples of usage here:
https://github.com/facebookresearch/ParlAI/blob/master/examples/README.md
(see bottom of README)
…On Thu, Dec 7, 2017 at 1:13 PM, Jennifer Zhu ***@***.***> wrote:
Hi, I was redirected to ParlAI from the DrQA GitHub repository and noticed
that there is a drqa agent in ParlAI. However, I cannot find any
documentation on that. What would be a starting point to use the DrQA
system with the ParlAI framework?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#437>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AKjk-ESMJBnm175Qn5HlWW2MpDuPwTkmks5s-CrYgaJpZM4Q5-LN>
.
|
I tried using the line in the README to evaluate the pre-trained DrQA model, and I got terrible accuracy -- the final line of my output was |
Using the Interactive Mode gives me the answer "." for any questions/contexts I try |
Hi @vishnumenon, can you confirm which steps you ran? |
Hi! I just ran
installed spacey because it showed up as an unsatisfied requirement (along with the 'en' language pack), and then ran
Am i missing any steps? |
Ah, great--just wanted to make sure. I'll debug this--it should have gotten a good accuracy (I believe I ran this successfully just two weeks ago). |
Awesome, thanks! |
Oh! Also another change that I made -- initially, when I tried to run eval_model, I got this error:
Some googling indicated that it was because of the file named 'profile' in examples, so I changed the file's name (couldn't find any references to it that needed updating, not sure if that's what I missed) and then it seemed to run without issue. |
Update: I tried deleting everything and starting from scratch, and I now get this (seemingly unrelated) error:
|
@jaseweston I'm renaming @vishnumenon I found that bug myself, fixing it now and then you should get full training accuracy again. |
Sounds good, thanks! |
pushed fix for profile, PR out for dictionary loading fix: #443 |
fix in! running the eval script after pulling should give you:
|
Yup, it's working great now, thanks! |
@jenniferzhu I'm going to close this for now but feel free to reopen if you have any more questions! |
@alexholdenmiller Hi, I ran most of those examples. They worked well, but my question is that how can I add my extra text data to answer questions, using a pre-trained model? i.e. if we don't have a good training QA dataset, how can we use the model for our content? |
@alexholdenmiller I just re-pulled and then ran the same commands @vishnumenon, but still have the low accuracy issue.
Here is the error after interactive.py:
|
@alexholdenmiller Updates: I re-installed ParlAI on a new laptop, and still get the same problem... |
I'll check it out |
Sorry I missed the previous question: you can train the model with a different task (e.g. a custom one for your other data) and train the model from there. For example...
...the pretrained model gets ~46% accuracy on the first validation, but it steadily goes up from there (I got up to ~68% accuracy in only two minutes minutes before I stopped it). |
feel free to reopen if you have any questions! #591 fixes the low accuracy, it was an issue loading the dictionary |
Hi, I was redirected to ParlAI from the DrQA GitHub repository and noticed that there is a drqa agent in ParlAI. However, I cannot find any documentation on that. What would be a starting point to use the DrQA system with the ParlAI framework?
The text was updated successfully, but these errors were encountered: