kevinlu1248 / llama_index

LlamaIndex (GPT Index) is a data framework for your LLM applications
https://gpt-index.readthedocs.io/en/latest/
MIT License
0 stars 0 forks source link

[Feature Request]: Improve Embeddings for Hugging Face - differentiate between query and passage embeddings #15

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds support for asymmetric embeddings in the HuggingFace models used in LlamaIndex. Asymmetric embeddings allow for different models or parameters to be used for query and passage (document) embeddings, which is useful for tasks like semantic search.

Changes Made

Testing

Related Issue

This PR addresses issue #13.

Checklist

Fixes #13.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/feature/asymmetric-embeddings