Open Oneplus opened 6 years ago
To be more specific, we are working on Universal POS tag set.
It's feasible for us to convert PTB tag to universal POS tag. But we believe the PTB data is released through the binary file in your code, which make it impossible for us to switch to PTB with universal POS tag. Do you have any suggestion for us to hack into the data loading process (data_helper.load_data).
Thanks.
Hi, I have met some problems about retraining the model. I want to know did you retrain the model successfully with the data provided by the author.
I had successfully reproduced the results of paper by using python adv_train.py --choice 0
, but when i try to retrain the model by using $ python adv_train.py --choice 1
. The result shows that the model loss is nan, and the accuracy rate is zero, resulting in the failure to store the model. The print what I got is as the following:
the 200 time of PTB class loss is:nan
the 200 time of PTB class accuracy is:0.000000
the 200 time of PTB domain loss is:0.692448
the 200 time of PTB domain accuracy is:0.395349
the 200 time of TWE class loss is:nan
the 200 time of TWE class accuracy is:1.000000
the 200 time of TWE domain loss is:0.700776
the 200 time of TWE autoencoder_cost is:nan
the 200 time of TWE domain accuracy is:0.344371
I don't know what is the cause of the problem. Have you ever met this problem? I hope you can give me a suggestion. Thank you very much.
Sorry for the late reply. I didn't notice the issues you posted. I think you may introduce extra labels that may increase the size of the label set. We convert PTB tag to universal POS tag according to the PTB POS Tagging Guidelines (Santorini, 1990) and ARK Guidelines (http://www.ark.cs.cmu.edu/TweetNLP/).
Hi Tao,
Thank you for releasing your code. We are trying it on some new tweet annotation but the code raised the following errors.
We believe it's because we are testing the model on a new tag set beyond PTB. Do you have any suggestion on how to make it work on POS data which were annotated following different tag set.
Regards,