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
How is token sequence length calculated here? I'm limiting the input to 100 chars but still got this error
Token indices sequence length is longer than the specified maximum sequence length for this model (2461 > 2048). Running this sequence through the model will result in indexing errors�[0m
terminate called after throwing an instance of 'phi::enforce::EnforceNotMet'
what(): (InvalidArgument) Variable value (input) of OP(fluid.layers.embedding) expected >= 0 and < 2048, but got 2048. Please check input value.
[Hint: Expected ids[i] < row_number, but received ids[i]:2048 >= row_number:2048.] (at /paddle/paddle/phi/kernels/cpu/embedding_kernel.cc:67)
The text was updated successfully, but these errors were encountered:
How is token sequence length calculated here? I'm limiting the input to 100 chars but still got this error
The text was updated successfully, but these errors were encountered: