Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #1

Open
jl109 opened this issue Apr 14, 2021 · 3 comments
Open

IndexError: list index out of range #1

jl109 opened this issue Apr 14, 2021 · 3 comments

Comments

@jl109
Copy link

jl109 commented Apr 14, 2021

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
Copy link
Author

jl109 commented Apr 14, 2021

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
Copy link
Author

jl109 commented Apr 25, 2021

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

@18610752432
Copy link

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
请问这个错误怎么解决呢,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants