[Feature]: Multioutput models
I maintainer di solito rispondono entro 4 giorni
@joein ci sta già lavorando.
Dal 6/10/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- numpy, python
- Ambito
- backend-api-design, machine-learning
Direzione di ricerca
La issue non indica alcun file o test. Inizia individuando l’interfaccia del modello predefinito e il percorso di inferenza che restituisce array, quindi confronta i casi di embedding e pooling descritti; il lavoro sarà completato quando sarà disponibile un’interfaccia Multioutput definita che supporti restituzioni come dict o model-output per i casi previsti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What feature would you like to request?
In some cases our default model interface returning an array of numpy arrays is not enough
There are scenarios when we want to return more than that either in order to save resources or just because there is no other way.
An example of the first case is when models can return several types of embeddings using the same backbone but different head layers, e.g. baai/bge-m3.
Or when it is desired to obtain not only pooled embedding, but also token embeddings of the penultimate layer.
Another example is colpali-like models, it is not always possible to build index on colpali embeddings since of the huge resources consumption and thus it makes it difficult to use colpali as the first stage retriever.
Instead, first stage retrieval can be implemented via colpali embeddings pooled by either rows or columns.
In the particular case of colpali, it is possible to do the pooling after inference is completed and embeddings were returned, since the number of patches into which colpali preprocessor breaks an image is known beforehand.
However, with colpali-inspired models like colqwen, it is not possible to do the pooling afterwards, because the number of patches into which these models break an image is dynamic, thus, we need to know an image size to get the number of patches.
In order to handle these cases, we want to introduce new family of Multioutput classes with an interface allowing to return either dict or special model output objects.
Is there any additional information you would like to provide?
No response
- Lingua principale
- Python
- Stelle
- 3.3k
- Fork
- 314
- Merge medio
- 5g 7h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di qdrant/fastembed
-
[Bug]: Bm25 splits Tamil, Hindi, Sinhala and other words on their combining marksForse già presa @Nipuna-Lakruwan l’ha presa 12 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
qdrant/fastembed#886 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
miniCOIL clean_words mutates input and loses counts when normalized words collideForse già presa @pear1-pea l’ha presa 20 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 1/100
I maintainer di solito rispondono entro 4 giorni
-
[Bug]: Revision-pinned HF downloads can falsely report intact files as corruptedForse già presa @N7766 l’ha presa 24 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni
-
[Bug]: URL-backed custom models with the same basename reuse the wrong cached modelForse già presa @rtmalikian l’ha presa 24 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 4 giorni
-
[Bug]: rerank_pairs raises TypeError when pairs are passed as a tuple of pairsForse già presa @michaelkillgta l’ha presa 54 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 22/100
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di qdrant/fastembed
Issue simili
-
Ubuntu for Debian DevelopersApertaDMB documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ubuntu/ubuntu-project-docs#921 ·
I maintainer di solito rispondono entro 1 giorno
-
⏳ Pending feedback 🐛 Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
jumpserver/jumpserver#18282 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/loom#2014 ·
I maintainer di solito rispondono entro 1 giorno
-
accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
future-agi/future-agi#5274 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni