[Feature]: Multioutput models
Los mantenedores suelen responder en 4 días
@joein ya está trabajando en esto.
Desde el 6/10/2026.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- numpy, python
Línea de trabajo
El issue no menciona archivos ni pruebas. Empieza por localizar la interfaz del modelo predeterminado y la ruta de inferencia que devuelve arrays; después, compara los casos de embedding y pooling descritos. El trabajo estará terminado cuando exista una interfaz Multioutput definida que admita devoluciones como dict o model-output para los casos previstos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 3.3k
- Forks
- 314
- Merge medio
- 5 d 7 h
- PR fusionados (30 d)
- 23
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de qdrant/fastembed
-
[Bug]: Bm25 splits Tamil, Hindi, Sinhala and other words on their combining marksPosiblemente ocupada @Nipuna-Lakruwan la tomó hace 12 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
qdrant/fastembed#886 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
miniCOIL clean_words mutates input and loses counts when normalized words collidePosiblemente ocupada @pear1-pea la tomó hace 20 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 1/100
Los mantenedores suelen responder en 4 días
-
[Bug]: Revision-pinned HF downloads can falsely report intact files as corruptedPosiblemente ocupada @N7766 la tomó hace 24 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 82/100
Los mantenedores suelen responder en 4 días
-
[Bug]: URL-backed custom models with the same basename reuse the wrong cached modelPosiblemente ocupada @rtmalikian la tomó hace 24 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 4 días
-
[Bug]: rerank_pairs raises TypeError when pairs are passed as a tuple of pairsPosiblemente ocupada @michaelkillgta la tomó hace 54 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 22/100
Los mantenedores suelen responder en 4 días
Todos los issues de qdrant/fastembed
Issues similares
-
Ubuntu for Debian DevelopersAbiertoDMB documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ubuntu/ubuntu-project-docs#921 ·
Los mantenedores suelen responder en 1 día
-
⏳ Pending feedback 🐛 Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jumpserver/jumpserver#18282 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/loom#2014 ·
Los mantenedores suelen responder en 1 día
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
future-agi/future-agi#5274 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días