emlens-0.0.9
توضیحات
A lightweight toolbox for understanding embedding space
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | emlens-0.0.9 |
| نام | emlens |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sadamori Kojaku |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/skojaku/emlens |
| آدرس اینترنتی | https://pypi.org/project/emlens/ |
| مجوز | MIT |
# emlens
[](https://travis-ci.org/skojaku/emlens)
[](https://github.com/skojaku/emlens/actions/workflows/main.yml)
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
```bash
pip install emlens
```
`emlens` uses [faiss library](https://github.com/facebookresearch/faiss), 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*:
```bash
conda install -c conda-forge faiss-gpu
```
or *with pip*:
```
pip install faiss-gpu
```
### Installing emlens
## Maintenance
Code Linting:
```bash
conda install -y -c conda-forge pre-commit
pre-commit install
```
Docsctring: sphinx format
Test:
```bash
python -m unittest tests/simple_test.py
```
نیازمندی
| مقدار | نام |
|---|---|
| - | faiss-cpu |
| - | tqdm |
| - | numba |
| - | numpy |
| - | scikit-learn |
| - | scipy |
نحوه نصب
نصب پکیج whl emlens-0.0.9:
pip install emlens-0.0.9.whl
نصب پکیج tar.gz emlens-0.0.9:
pip install emlens-0.0.9.tar.gz