Skip to content

About

Application of Matryoshka Representation Learning on Text Embeddings

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Matryoshka Representation Learning (MRL) and Binary Quantization (BQ)

MRL is a scaling solution to reduce the dimensionality of the embeddings by truncation. The solution introduces embeddings of various sizes keeping the most important features in earlier dimensions compared to later dimensions. This results in maintaining the most important features while maintaining high quality and cheaper embeddings as used by OpenAI.

Models

pip install torch --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt

About

Application of Matryoshka Representation Learning on Text Embeddings

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages