{"id":15620712,"url":"https://github.com/akb89/entropix","last_synced_at":"2025-10-07T13:25:37.952Z","repository":{"id":37673693,"uuid":"161978850","full_name":"akb89/entropix","owner":"akb89","description":"Entropy, Zipf's law and distributional semantics","archived":false,"fork":false,"pushed_at":"2022-06-22T03:41:36.000Z","size":987,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T15:55:42.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akb89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-16T07:40:42.000Z","updated_at":"2024-10-10T02:19:49.000Z","dependencies_parsed_at":"2022-08-18T04:45:36.777Z","dependency_job_id":null,"html_url":"https://github.com/akb89/entropix","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akb89%2Fentropix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akb89%2Fentropix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akb89%2Fentropix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akb89%2Fentropix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akb89","download_url":"https://codeload.github.com/akb89/entropix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akb89%2Fentropix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259078135,"owners_count":22802064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T09:02:13.697Z","updated_at":"2025-10-07T13:25:32.893Z","avatar_url":"https://github.com/akb89.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# entropix\n[![GitHub release][release-image]][release-url]\n[![PyPI release][pypi-image]][pypi-url]\n[![Build][build-image]][build-url]\n[![MIT License][license-image]][license-url]\n\n\n[release-image]:https://img.shields.io/github/release/akb89/entropix.svg?style=flat-square\n[release-url]:https://github.com/akb89/entropix/releases/latest\n[pypi-image]:https://img.shields.io/pypi/v/entropix.svg?style=flat-square\n[pypi-url]:https://pypi.org/project/entropix/\n[build-image]:https://img.shields.io/github/workflow/status/akb89/entropix/CI?style=flat-square\n[build-url]:https://github.com/akb89/entropix/actions?query=workflow%3ACI\n[license-image]:http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square\n[license-url]:LICENSE.txt\n\nGenerate count-based Distributional Semantic Models by sampling SVD singular vectors instead of using top components.\n\n## Install\n```shell\npip install entropix\n```\n\nor, after a git clone:\n```shell\npython3 setup.py install\n```\n\n## Use\n\n### Sequential mode\n```shell\nentropix sample \\\n--model /abs/path/to/dense/numpy/model.npy \\\n--vocab /abs/path/to/corresponding/model.vocab \\\n--dataset dataset_to_optimize_on \\  # men, simlex or simverb\n--shuffle \\\n--mode seq \\\n--kfold-size .2 \\  # size of kfold, between 0 and .5\n--metric pearson \\  # spr(spearman), pearson, rmse or both (spr+rmse)\n--num-threads 5\n```\n\n### Limit mode\n```shell\nentropix sample \\\n--model /abs/path/to/dense/numpy/model.npy \\\n--vocab /abs/path/to/corresponding/model.vocab \\\n--dataset dataset_to_optimize_on \\  # men, simlex or simverb\n--mode limit \\\n--metric pearson \\\n--limit 10  # number of dimensions to sample\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakb89%2Fentropix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakb89%2Fentropix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakb89%2Fentropix/lists"}