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

训练过程需要使用signal吗? #1

Open
Ansiay opened this issue Mar 30, 2023 · 1 comment
Open

训练过程需要使用signal吗? #1

Ansiay opened this issue Mar 30, 2023 · 1 comment

Comments

@Ansiay
Copy link

Ansiay commented Mar 30, 2023

您好,我在阅读您的ecimp的data_preprocess处遇到了一些问题,想和您请教一下。
image
1、这里的event_end_index为什么要-1?
2、这里为什么signal_start_index和signal_end_index设成了-1,是训练过程也不需要使用signal吗?

@Everglow123
Copy link
Owner

您好,首先event_end_index要减一是因为数据集里的event_end_index是触发词最后一个字符的下一个位置,但是模型需要的是触发词最后一个字符的位置,然后第二点应该是做完消融实验之后忘了改了,不好意思。

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