acl2017-neural_end2end_am icon indicating copy to clipboard operation
acl2017-neural_end2end_am copied to clipboard

run_bi-lstm-cnn-crf3.sh is missing

Open MS-NLP opened this issue 7 years ago • 5 comments

Thanks for your contributing such a great work. It seems that run_bi-lstm-cnn-crf3.sh is different from the official run_bi-lstm-cnn-crf.sh, and the former is missing in the branch. Could you please also share it? Thanks.

MS-NLP avatar Aug 22 '17 07:08 MS-NLP

Thanks for your interest! It's a slight modification of the script you find in the official branch that basically allows for outputting the predictions, etc. I'll try to upload it in the coming days.

SteffenEger avatar Aug 23 '17 08:08 SteffenEger

Hi there, sorry for the delay, but now I uploaded some of the modifications we made to the original code, see acl2017.tgz. Hope it works, -Steffen

p.s. There's one flag that you can change if you want. It's after the line "# MODEL SELECTION ON DEV CRITERION". It states whether you want to use loss or F1 as a stopping criterion on the dev set.

SteffenEger avatar Sep 07 '17 09:09 SteffenEger

Many thanks for your hard work. I will investigate it.

MS-NLP avatar Sep 07 '17 09:09 MS-NLP

Hi Steffen

Thank you so much for your help . It seems like the run_bi-lstm-cnn-crf3.py has multiple indentation issues. Can you please please look into it . I am afraid if i try to fix on my own n misunderstand anything , it ll be very hard to debug considering the code is so big now

tuhinjubcse avatar Jan 27 '18 03:01 tuhinjubcse

Hi there,

If it has indentation issues, probably best is to use python2.7 - that's most likely also what we used at the time. That said, instead of using BILSTM-CNN-CRF from Ma & Hovy, you could also use the code from Lample et al. (Neural Networks for Named Entity Recognition), the code from Reimers & Gurevych (Reporting score distributions makes a difference), or others. The underlying model is the same.

SteffenEger avatar Jan 27 '18 08:01 SteffenEger