How is long text handled? #89
-
Hey, I'm trying to understand, what happens if we send a long text, which is longer from the model max length? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
michaelfeil
Feb 5, 2024
Replies: 1 comment 6 replies
-
Hi @YanDavKMS it will be truncated, same behaviour as |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
michaelfeil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @YanDavKMS it will be truncated, same behaviour as
sentence-transformers
. Longest is truncated first, forbge-large-v1.5
this would result only in the first 512 tokens to be embedded.