muvfde icon indicating copy to clipboard operation
muvfde copied to clipboard

Generate fixed dimensional embeddings for multi-dimensional vectors in python based on Muvera from Google.

MuvFDE

A Python library to generate fixed dimensional embeddings for multi-dimensional vectors based on Google Muvera.

Version UnitTests Downloads License

Installation

pip install --upgrade muvfde

Integeration Benchmark

uv venv --python 3.12
uv pip install -e .
uv pip install -r integeration_test/requirements.txt
python integeration_test/benchmark.py

Usage

Check out integeration_test/benchmark.py for usage examples.

Caveats

  • The FDE algorithm is highly hyperparameter sensitive. The hyperparameters used in the benchmark are not optimal for all models.
  • FDE quality is tightly linked to dimensionality; increase in dimensionality will generally result in quality gains.

Results

Benchmark Results

References