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

關於GPT程式 #22

Open
tilly963963 opened this issue Jun 3, 2021 · 0 comments
Open

關於GPT程式 #22

tilly963963 opened this issue Jun 3, 2021 · 0 comments

Comments

@tilly963963
Copy link

您好~我想請問一下
1.模型輸入的seqs[:,:-1]是過去的一句話,而seqs[:,-1]是需要預測的真實值,但是如果句子沒有那麼長,之後會被padding與長度最長的句子數量相同,seqs[:,-1]不就都拿到padding值嗎~~
2.若設計為每一批次以最長句子而非整個文本最長句子為該批次的step長度(時間長度),能解決上述問題嗎?
希望收到您的回覆!!!!!!!!!!!!!!!!!!!!謝謝

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