Pass any text that exceeds hard limit of 2048 words.
Expected behavior
My model i.e. Alibaba-NLP/gte-multilingual-base has context length of 8192, and I know my text can exceed 2048 limit sometimes. But Why would it restrict me to 2048 if I can pass more than that? Shouldn't it be configurable? It would have been better if we could pass the context length of model.
System Info
0.0.53, Ubuntu 20.04
Information
Tasks
Reproduction
Expected behavior
My model i.e.
Alibaba-NLP/gte-multilingual-base
has context length of 8192, and I know my text can exceed 2048 limit sometimes. But Why would it restrict me to 2048 if I can pass more than that? Shouldn't it be configurable? It would have been better if we could pass the context length of model.