KiroSummer / opinion_mining_with_syn_cons

16 stars 1 forks source link

How to run the model in the end-to-end setting? #2

Open Xgswlg opened 2 years ago

KiroSummer commented 2 years ago

No description provided.

Set the "use_gold_predicates'' value in config.json to "false'', which means using systematic expressions, i.e. end-to-end opinion mining.

Xgswlg commented 2 years ago

No description provided.

Set the "use_gold_predicates'' value in config.json to "false'', which means using systematic expressions, i.e. end-to-end opinion mining.

thanks, but I fail to an 'exit()' in the srl_eval_utils.py at line 289, which says 'please check whether the dse is gold!, currently not supported sys dse.'

KiroSummer commented 2 years ago

No description provided.

Set the "use_gold_predicates'' value in config.json to "false'', which means using systematic expressions, i.e. end-to-end opinion mining.

thanks, but I fail to an 'exit()' in the srl_eval_utils.py at line 289, which says 'please check whether the dse is gold!, currently not supported sys dse.'

Thank you for pointing this out! I found that the uploaded src can only support the given-expression'' setting and the prediction withgiven-expression'' in the end-to-end setting. I have uploaded the final version src, i.e., orl-4.1-ultimate-hard-e2e. Please use this src. If you still have some questions, feel free to comment here.

Xgswlg commented 2 years ago

No description provided.

Set the "use_gold_predicates'' value in config.json to "false'', which means using systematic expressions, i.e. end-to-end opinion mining.

thanks, but I fail to an 'exit()' in the srl_eval_utils.py at line 289, which says 'please check whether the dse is gold!, currently not supported sys dse.'

Thank you for pointing this out! I found that the uploaded src can only support the given-expression'' setting and the prediction withgiven-expression'' in the end-to-end setting. I have uploaded the final version src, i.e., orl-4.1-ultimate-hard-e2e. Please use this src. If you still have some questions, feel free to comment here.

Thanks!

windtricker commented 2 years ago

Hello, when I run the train.sh, I fail to an 'exit()' in the reader.py at line262, which says 'No such file or directory: '../data/opinion0.train.conll12.train.char.txt'. I have received the processed data 'MPQA2.0 data'. I don't know the reason why this error happened. Would you like to help me with this problem?Thank you very much.

KiroSummer commented 2 years ago

Hello, when I run the train.sh, I fail to an 'exit()' in the reader.py at line262, which says 'No such file or directory: '../data/opinion0.train.conll12.train.char.txt'. I have received the processed data 'MPQA2.0 data'. I don't know the reason why this error happened. Would you like to help me with this problem?Thank you very much.

This file is not contained in the MPQA2.0 data since it is a character vocab file that is extracted from the MPQA2.0 training data and CoNLL2012 training data. You can generate it by yourself or I can also send it to you. The file format is one character per line.

windtricker commented 2 years ago

Hello, when I run the train.sh, I fail to an 'exit()' in the reader.py at line262, which says 'No such file or directory: '../data/opinion0.train.conll12.train.char.txt'. I have received the processed data 'MPQA2.0 data'. I don't know the reason why this error happened. Would you like to help me with this problem?Thank you very much.

This file is not contained in the MPQA2.0 data since it is a character vocab file that is extracted from the MPQA2.0 training data and CoNLL2012 training data. You can generate it by yourself or I can also send it to you. The file format is one character per line.

If it is convenient for you, please send the data to me. The e-mail is yfh1019@163.com. Thank you!

KiroSummer commented 2 years ago

Hello, when I run the train.sh, I fail to an 'exit()' in the reader.py at line262, which says 'No such file or directory: '../data/opinion0.train.conll12.train.char.txt'. I have received the processed data 'MPQA2.0 data'. I don't know the reason why this error happened. Would you like to help me with this problem?Thank you very much.

This file is not contained in the MPQA2.0 data since it is a character vocab file that is extracted from the MPQA2.0 training data and CoNLL2012 training data. You can generate it by yourself or I can also send it to you. The file format is one character per line.

If it is convenient for you, please send the data to me. The e-mail is yfh1019@163.com. Thank you!

I have sent the data to your email, please check