The docs here state that you can pass an array of strings for batch processing, but when I do this (like the example with pooling: mean) I get different embedding vectors than if I invoke with strings one-by-one.
Is this because of the pooling value? Should it be set to "cls" or "none"? Other options don't seem to return array keys corresponding to the input keys.
Your question
The docs here state that you can pass an array of strings for batch processing, but when I do this (like the example with
pooling: mean
) I get different embedding vectors than if I invoke with strings one-by-one.Is this because of the pooling value? Should it be set to
"cls"
or"none"
? Other options don't seem to return array keys corresponding to the input keys.