[Feature]: Access token embeddings

Open
#433 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

No project file or test is named. Start by reviewing the existing embedding API and the linked llama-cpp-python embeddings behavior; done means callers can access token-level embeddings before pooling for custom ColBERT-like pipelines.

Written by the indexing model from the issue text.

Description

What feature would you like to request?

Would it be possible to get access to the token embeddings before they are pooled? Llama-cpp-python allows this for instance by setting pooling_type=LLAMA_POOLING_TYPE_NONE [1]. Such a feature allows building custom embedding pipelines with ColBERT-like functionality.

[1] https://github.com/abetlen/llama-cpp-python?tab=readme-ov-file#embeddings

Is there any additional information you would like to provide?

No response

Dominant language
Python
Stars
3.3k
Forks
314
Avg merge
5d 7h
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from qdrant/fastembed

All issues in qdrant/fastembed

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.