Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Access token embeddings #433

Open
lsorber opened this issue Jan 6, 2025 · 0 comments
Open

[Feature]: Access token embeddings #433

lsorber opened this issue Jan 6, 2025 · 0 comments

Comments

@lsorber
Copy link

lsorber commented Jan 6, 2025

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

@lsorber lsorber changed the title [Feature]: Acces token embeddings [Feature]: Access token embeddings Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant