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
token_in = tokenizer.encode(input)
// do your python array slice limit <= max_seq_len here
// ask bing/gpt how to return a sub-slice of a python slice/array
I want to remove tokens that exceed the max_seq_len. How can I achieve this functionality?
The text was updated successfully, but these errors were encountered: