entropix
Generate count-based Distributional Semantic Models by sampling SVD singular vectors instead of using top components.
Install
pip install entropix
or, after a git clone:
python3 setup.py install
Use
Sequential mode
entropix sample \
--model /abs/path/to/dense/numpy/model.npy \
--vocab /abs/path/to/corresponding/model.vocab \
--dataset dataset_to_optimize_on \ # men, simlex or simverb
--shuffle \
--mode seq \
--kfold-size .2 \ # size of kfold, between 0 and .5
--metric pearson \ # spr(spearman), pearson, rmse or both (spr+rmse)
--num-threads 5
Limit mode
entropix sample \
--model /abs/path/to/dense/numpy/model.npy \
--vocab /abs/path/to/corresponding/model.vocab \
--dataset dataset_to_optimize_on \ # men, simlex or simverb
--mode limit \
--metric pearson \
--limit 10 # number of dimensions to sample
Metadata
Release files for entropix 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| entropix-2.0.1.tar.gz | 7.9 kB | Without provenance | Details for entropix-2.0.1.tar.gz |
Release files / entropix-2.0.1.tar.gz
| Download URL | entropix-2.0.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9b8acbcb879464be6a7165d20757b8208e0fcafaeb4132a37096ce9e6cb9e38
|
|
BLAKE2b-256 checksum How to use checksums |
c760318ca0cee5ef15aeabfebd98ef935585f8f24d6d29617fb7ed816c2fcc27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
|
Security for entropix 2.0.1
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.