templateNER icon indicating copy to clipboard operation
templateNER copied to clipboard

Source code for template-based NER

Results 16 templateNER issues
Sort by recently updated
recently updated
newest added

请问下您实验中使用的是transformer哪个版本呢? 为什么checkpoint-3060在https://huggingface.co的model中查找不到呢?

I tried to run inference.py but it gives the error ``` /configuration_utils.py", line 609, in _get_config_dict user_agent=user_agent, File "/usr/local/lib/python3.7/dist-packages/transformers/utils/hub.py", line 292, in cached_path local_files_only=local_files_only, File "/usr/local/lib/python3.7/dist-packages/transformers/utils/hub.py", line 495, in get_from_cache...

Hi, Thanks for your sharing. I failed to run your codes without the train.csv and dev.csv . Can you tell me how I can get the the train.csv and dev.csv...

Hi, would you mind explaining some hard-coded numbers in the `template_entity` function from `inference.py`? ``` def template_entity(words, input_TXT, start): # input text -> template words_length = len(words) words_length_list = [len(i)...

您好,在测试集推理时,我有两处存在问题,想请教下作者。 (1)为什么这里需要指定id[:,0]==2呢 ![image](https://user-images.githubusercontent.com/75936962/170868565-aa222974-4e32-44b4-b0bf-ccedc26a5241.png) (2)这里,为什么要减2呢?我不太理解这样做的意义 ![image](https://user-images.githubusercontent.com/75936962/170868617-c5bafc76-df6e-4747-abc5-4ad1d7cf5534.png)

in no source-domain data,MIT Movie 10 shot ,the result in paper is 37.3,why i get 51.06 , can you tell me some detail about that?

When I train the model with custom labels, the training code works well. However, Adapting Inference.py code to my custom trained model does not work. I change the Inference.ipynb code...

Excuse. Could show the source code for building the train data. Thank you!

Hi, can you release the full code/scripts and data in the paper?