grit_doc_event_entity icon indicating copy to clipboard operation
grit_doc_event_entity copied to clipboard

IndexError: list index out of range

Open jl109 opened this issue 3 years ago • 3 comments

Traceback (most recent call last): File "run_pl_s_t.py", line 424, in model = NERTransformer.load_from_checkpoint(checkpoints[-1]) IndexError: list index out of range 请问这个错误怎么解决呢,

jl109 avatar Apr 14 '21 03:04 jl109

I have solved this problem and I am very interested in your paper. May I ask if it is feasible for me to change the data set to Chinese data set?Can you give me a good suggestion?

jl109 avatar Apr 14 '21 09:04 jl109

Thank you for your contribution and your code. I am trying to modify your code to train Chinese data. Unfortunately, my Chinese data format is the same as yours, but json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 583 (char 582) is the problem, may I ask why? In addition, I modified the Bert model you used in it, using BERT_BASE_CHINESE, and ROLE_LIST = ["BEG", "ORG", "NAME", "NUM", "END"]. Could you please tell me what else to modify? I hope you can guide me.As a graduate student, I am very interested in event extraction

jl109 avatar Apr 25 '21 08:04 jl109

Traceback (most recent call last): File "run_pl_s_t.py", line 424, in model = NERTransformer.load_from_checkpoint(checkpoints[-1]) IndexError: list index out of range 请问这个错误怎么解决呢,

想请教一下您这个问题是如何解决的?

18610752432 avatar Jul 29 '21 04:07 18610752432