Open TomasAndersonFang opened 2 months ago
When I ran your script, I met the problem described in #1. I checked your code and found that you wrongly set pad_token to 0 rather than pad_token_id. So I submit this PR to fix this issue :)
pad_token
pad_token_id
When I ran your script, I met the problem described in #1. I checked your code and found that you wrongly set
pad_token
to 0 rather thanpad_token_id
. So I submit this PR to fix this issue :)