You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is surprising because of a few reasons. First, even if pad_with_end_token=True, the pad is using 0 (which correspond to ! in this vocabulary). Also, the end token is added at the end of the padding instead of the end of the original sequence.
Further, padding_mask is all True, while I would expect to be False in correspondence of padding tokens.
Additional context
Using keras_hub==0.18.1, keras==3.7.0.
The text was updated successfully, but these errors were encountered:
To Reproduce
which returns
This is surprising because of a few reasons. First, even if
pad_with_end_token=True
, the pad is using 0 (which correspond to!
in this vocabulary). Also, the end token is added at the end of the padding instead of the end of the original sequence.Further,
padding_mask
is all True, while I would expect to be False in correspondence of padding tokens.Additional context
Using
keras_hub==0.18.1
,keras==3.7.0
.The text was updated successfully, but these errors were encountered: