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.11-py3-none-any.whl
(15.9 kB
view details)
File details
Details for the file emlens-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: emlens-0.0.11-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8476591c0e8cd36a66443f8ccfff530135cb6ce0fe167e194a859c074265dfd |
|
MD5 | b22d31526f5b7cb0234b3eb4ea92dea3 |
|
BLAKE2b-256 | 281f25a296e89713ca6673d431e9739b810768eee05ca227cbd1e8e176515800 |