Skip to main content

A lightweight toolbox for understanding embedding space

Project description

emlens

Build Status Unit Test & Deploy

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


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)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page