LLaVA icon indicating copy to clipboard operation
LLaVA copied to clipboard

[Question] How to fix the maximum sequence length of the model

Open cherry956 opened this issue 1 year ago • 2 comments

Question

How to fix the maximum sequence length of the model? When I using finetuned model to test my own data, I found error: Token indices sequence length is longer than the specified maximum sequence length for this model(2199>2048). image Do I need to fix weights in this script? image Thanks!!!

cherry956 avatar Feb 13 '24 01:02 cherry956

same doubt

crazysal avatar Feb 15 '24 00:02 crazysal

@crazysal Do you solve it?

cherry956 avatar Feb 15 '24 09:02 cherry956