Thanks for sharing such interesting work. I want to learning something from the released code, but I meet some problems.
the error "ImportError: cannot import name 'BertForNER'" just like #16. I found that the above error will disappear if I execute "pip3 install --editable transformers" in the project. What's the difference between "transformers" in a project and executing "pip install transformers" directly? Further, if I just want to "pip install transformers" directly, how to address the "ImportError: cannot import name 'BertForNER'" error?
I also found there are three script files for NER ([run_train_ner_BIO.sh | [run_train_ner_PLMarker.sh | run_train_ner_TokenCat.sh]),they seem to correspond to different types of baseline methods as mentioned in paper. In additon, in "run_train_ner_PLMarker.sh", the "run_ner.py" file is used for some datasets, however, for some other datasets, the file "run_acener.py" is used. Is there any reason behind this operation? Further, what's the difference between "run_acener.py“ and " "run_ner.py"? When to use the former and when to use the latter?
There are several key arguments for NER (run_acener.py), but I didn't find a detailed explanation. For example, ”max_pair_length = 256“,does this mean that at most 256 candidate spans are considered per run?
Thanks for sharing such interesting work. I want to learning something from the released code, but I meet some problems.