Token indices sequence length is longer than the specified maximum sequence length for this model (4002 > 512). Running this sequence through the model will result in indexing errors.
and
The expanded size of the tensor (4096) must match the existing size (512) at non-singleton dimension 1. Target sizes: [1, 4096]. Tensor sizes: [1, 512].
When i run the model, there is an error.
and
I do not what to do.