DukeNet icon indicating copy to clipboard operation
DukeNet copied to clipboard

Interactive mode

Open bakszero opened this issue 5 years ago • 1 comments

Is there a way to check inference for a new sample of knowledge background sentences, and possibly use it like an interaction mode?

What modifications in the code would be required to test it like in an interactive fashion? Thanks!

bakszero avatar Feb 03 '21 12:02 bakszero

I am sorry for the fact that we did not specially design an interactive fashion in our released code. If you want to modify, I suggest you could transfer the new samples into our format like files in the folder "datasets", see files: wizard_of_wikipedia.answer, wizard_of_wikipedia.passage, wizard_of_wikipedia.passage, wizard_of_wikipedia.pool, wizard_of_wikipedia.query, wizard_of_wikipedia.split

But additionally, you also could abondon our format about the input data, and design your own format. In this case, please modify the scripts /DukeNet/Dataset.py and /dataset/Utils_DukeNet.py.

ChuanMeng avatar Feb 03 '21 13:02 ChuanMeng