ise-uiuc / TitanFuzz

72 stars 9 forks source link

FIx "Cannot set a non-string value as the PAD token" problem #6

Open TomasAndersonFang opened 2 months ago

TomasAndersonFang commented 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 :)