A lightweight toolbox for understanding embedding space
Project description
emlens
A lightweight toolbox for analyzing embedding space
Requirements
- Python 3.7 or 3.8 (may not work on 3.9)
Doc
https://emlens.readthedocs.io/en/latest/
Install
pip install emlens
emlens
uses faiss library, which has two versions, faiss-cpu
and faiss-gpu
.
As the name stands, faiss-gpu
can leverage GPUs, thureby faster if you have GPUs. emlens
uses faiss-cpu
by default to avoid unnecessary GPU-related troubles.
Yet, you can still leverage the GPUs (which is recommended if you have) by installing faiss-gpu
by
with conda:
conda install -c conda-forge faiss-gpu
or with pip:
pip install faiss-gpu
Installing emlens
Maintenance
Code Linting:
conda install -y -c conda-forge pre-commit
pre-commit install
Docsctring: sphinx format
Test:
python -m unittest tests/simple_test.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
emlens-0.0.10-py3-none-any.whl
(15.9 kB
view hashes)