EagleW / Describing_a_Knowledge_Base

Code for Describing a Knowledge Base
http://aclanthology.org/W18-6502
MIT License
52 stars 29 forks source link

Custom input test #2

Closed NaveenGandla closed 3 years ago

NaveenGandla commented 3 years ago

Hello,

Great repo on NLG. May I know how to test the trained model with custom input.

Thanks

EagleW commented 3 years ago

@NaveenGandla , thank you for your interest in our research. A quick fix for this problem is change the test data with your customized input and use mode 1 to test it out. Feel free to ask my if you have another concerns.

architlatkar27 commented 3 years ago

Hi, is it possible to give inputs from some other datasets? I tried giving rotowire as test file but it is not working. In fact after I trained the model for animals dataset, I was not able to get outputs for People dataset as well. Is there any fix around this?

thanks in advance

EagleW commented 3 years ago

Hi @architlatkar27 , can you share your error information here? Thanks!

architlatkar27 commented 3 years ago

dakb_error

here i am using a copy of the test_wiki_P.json file renamed as test_wiki_A.json and then preprocessed. When i run the code for testing, it throws some error. Thanks for looking into it

EagleW commented 3 years ago

I think that's because the vocabulary sets of person and animal are different. You should test your person data over person training sets.

hoangthangta commented 1 year ago

dakb_error

here I am using a copy of the test_wiki_P.json file renamed as test_wiki_A.json and then preprocessed. When I run the code for testing, it throws some errors. Thanks for looking into it

I faced the same issue. Do you have any fixes here?

EagleW commented 1 year ago

Did you test your person data over person training sets?