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

dataset.py 에서 질문이 있습니다. #1

Open
JoonHong-Kim opened this issue Nov 21, 2021 · 0 comments
Open

dataset.py 에서 질문이 있습니다. #1

JoonHong-Kim opened this issue Nov 21, 2021 · 0 comments

Comments

@JoonHong-Kim
Copy link

pad = np.array([self.ignore_index] *(self.max_len - len(inputs)))

에서 ignore_index는 어떤 토큰을 지정해주는 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

1 participant