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
Metadata
Release files for emlens 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emlens-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for emlens-0.0.11-py3-none-any.whl |
Release files / emlens-0.0.11-py3-none-any.whl
| Download URL | emlens-0.0.11-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8476591c0e8cd36a66443f8ccfff530135cb6ce0fe167e194a859c074265dfd
|
|
BLAKE2b-256 checksum How to use checksums |
281f25a296e89713ca6673d431e9739b810768eee05ca227cbd1e8e176515800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for emlens 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.