Closed albusdemens closed 3 years ago
Ah, for this you need the file for the EmpatheticDialogues validation set. You can get that with this script: https://github.com/facebookresearch/ParlAI/blob/master/parlai/tasks/empathetic_dialogues/build.py
Thanks that fixed the issue! One more thing: is there a way to chat with the model?
Hmm, not directly in this repo - one option could be to build the model into ParlAI and chat with it using this script: https://www.parl.ai/docs/cli_usage.html#interactive
Thanks!
Hmm, not directly in this repo - one option could be to build the model into ParlAI and chat with it using this script: https://www.parl.ai/docs/cli_usage.html#interactive
Is there any guide to build the models in this repo into ParlAI?
Hmm, there's not an easy tutorial as far as I know, but see https://github.com/facebookresearch/ParlAI/blob/main/parlai/agents/bart/convert_fairseq_to_parlai.py for an example of how we map the weights of an external model over to something that can be used in ParlAI
Ah, for this you need the file for the EmpatheticDialogues validation set. You can get that with this script: https://github.com/facebookresearch/ParlAI/blob/master/parlai/tasks/empathetic_dialogues/build.py
Hi, can you instruct how to run this script? I do have the train, valid and test csv files in a folder and have provided the folder path for the same in the empchat-folder argument. But I keep getting the above error. I tried creating the folder path that it expects and tried placing it in multiple locations with all the csv files in that location, but still the error persists. Kindly help resolve this! Thanks for your time!
Ah, for this you need the file for the EmpatheticDialogues validation set. You can get that with this script: https://github.com/facebookresearch/ParlAI/blob/master/parlai/tasks/empathetic_dialogues/build.py
Hi, can you instruct how to run this script? I do have the train, valid and test csv files in a folder and have provided the folder path for the same in the empchat-folder argument. But I keep getting the above error. I tried creating the folder path that it expects and tried placing it in multiple locations with all the csv files in that location, but still the error persists. Kindly help resolve this! Thanks for your time!
@gnanukoth Try installing ParlAI given the docs and then running parlai display_data -t empathetic_dialogues
- that will download the relevant files (the syntax might be wrong there but that's the general idea)
Hello, I fine-tuned your model and now I would like to evaluate it, to have a feeling of how it works. When I give the command
I get the following error:
How do you suggest to fix this? Thanks!