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
Related to huggingface/huggingface_hub#2824.
This PR makes it possible to send a `string[]` instead of `string` as
`feature-extraction` inputs. This is already possible in practice in
Inference API but not documented.
In the past, I've pushed back on this change (see
huggingface/huggingface_hub#1745 and
huggingface/huggingface_hub#1746 (comment))
but I think it's fine to revisit it now. The main reason I mentioned was
that `feature-extraction`'s server-side implementation was mostly a
for-loop on the text input so acception a `string[]` would not really
improve performances. That been said, there has been quite some
improvements since then and especially the `text-embedding-inference`
framework.
0 commit comments