fastabx


Namefastabx JSON
Version 0.6.0 PyPI version JSON
download
home_pageNone
SummaryA library for efficient computation of ABX discriminability
upload_time2025-10-21 17:43:10
maintainerNone
docs_urlNone
authorMaxime Poli
requires_python>=3.12
licenseNone
keywords speech machine learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Fast ABX evaluation

**fastabx** is a Python package for efficient computation of ABX discriminability.

The ABX discriminability measures how well categories of interest are separated in the representation space by
determining whether tokens from the same category are closer to each other than to those from a different category.
While ABX has been mostly used to evaluate speech representations, it is a generic framework that can be applied
to other domains of representation learning.

This package provides a simple interface that can be adapted to any ABX conditions, and to any input modality.

Check out the documentation for more information: https://docs.cognitive-ml.fr/fastabx

## Install

Install the pre-built package in your environment:

```bash
pip install fastabx
```

It requires Python 3.12 or later and the default PyTorch version on PyPI (2.8.0, CUDA 12.8 variant for Linux, CPU variant for Windows and macOS).
Wheels compatible with other versions and variants of PyTorch are available on the GitHub Releases page.

## Citation

A preprint is available on arXiv: https://arxiv.org/abs/2505.02692 \
If you use fastabx in your work, please cite it:

```bibtex
@misc{fastabx,
  title={fastabx: A library for efficient computation of ABX discriminability},
  author={Maxime Poli and Emmanuel Chemla and Emmanuel Dupoux},
  year={2025},
  eprint={2505.02692},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2505.02692},
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fastabx",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "speech, machine learning",
    "author": "Maxime Poli",
    "author_email": "CoML <dev@cognitive-ml.fr>",
    "download_url": "https://files.pythonhosted.org/packages/26/ac/d63a81379f937db457d51e9ebe49b0c0461c995dce7e86196f344beab940/fastabx-0.6.0.tar.gz",
    "platform": null,
    "description": "# Fast ABX evaluation\n\n**fastabx** is a Python package for efficient computation of ABX discriminability.\n\nThe ABX discriminability measures how well categories of interest are separated in the representation space by\ndetermining whether tokens from the same category are closer to each other than to those from a different category.\nWhile ABX has been mostly used to evaluate speech representations, it is a generic framework that can be applied\nto other domains of representation learning.\n\nThis package provides a simple interface that can be adapted to any ABX conditions, and to any input modality.\n\nCheck out the documentation for more information: https://docs.cognitive-ml.fr/fastabx\n\n## Install\n\nInstall the pre-built package in your environment:\n\n```bash\npip install fastabx\n```\n\nIt requires Python 3.12 or later and the default PyTorch version on PyPI (2.8.0, CUDA 12.8 variant for Linux, CPU variant for Windows and macOS).\nWheels compatible with other versions and variants of PyTorch are available on the GitHub Releases page.\n\n## Citation\n\nA preprint is available on arXiv: https://arxiv.org/abs/2505.02692 \\\nIf you use fastabx in your work, please cite it:\n\n```bibtex\n@misc{fastabx,\n  title={fastabx: A library for efficient computation of ABX discriminability},\n  author={Maxime Poli and Emmanuel Chemla and Emmanuel Dupoux},\n  year={2025},\n  eprint={2505.02692},\n  archivePrefix={arXiv},\n  primaryClass={cs.CL},\n  url={https://arxiv.org/abs/2505.02692},\n}\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A library for efficient computation of ABX discriminability",
    "version": "0.6.0",
    "project_urls": {
        "changelog": "https://github.com/bootphon/fastabx/releases",
        "documentation": "https://docs.cognitive-ml.fr/fastabx",
        "homepage": "https://docs.cognitive-ml.fr/fastabx",
        "repository": "https://github.com/bootphon/fastabx"
    },
    "split_keywords": [
        "speech",
        " machine learning"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c166c45867d8e51ec1231588b3b35422a75f18c086182e0e8b270392f4c28ed9",
                "md5": "03c380dd813c88900f74b4e92208dd9f",
                "sha256": "d17f23cc0d883d018d6795d97c486ca89a82743c4f0abc787810d4b79c65c6c3"
            },
            "downloads": -1,
            "filename": "fastabx-0.6.0-cp312-abi3-macosx_10_13_universal2.whl",
            "has_sig": false,
            "md5_digest": "03c380dd813c88900f74b4e92208dd9f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.12",
            "size": 86761,
            "upload_time": "2025-10-21T17:43:06",
            "upload_time_iso_8601": "2025-10-21T17:43:06.384601Z",
            "url": "https://files.pythonhosted.org/packages/c1/66/c45867d8e51ec1231588b3b35422a75f18c086182e0e8b270392f4c28ed9/fastabx-0.6.0-cp312-abi3-macosx_10_13_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ca0363c201c998f53296e63a364c17b60ba39bc75fa76b321fcd5dc6c08bff3b",
                "md5": "3295b34562c5f58184f93af59b8dd0c5",
                "sha256": "90cdb482dbb33f0eccb7bbe5c7840755611066bc015f0ab0394db6b8412783eb"
            },
            "downloads": -1,
            "filename": "fastabx-0.6.0-cp312-abi3-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3295b34562c5f58184f93af59b8dd0c5",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.12",
            "size": 1404901,
            "upload_time": "2025-10-21T17:43:07",
            "upload_time_iso_8601": "2025-10-21T17:43:07.757227Z",
            "url": "https://files.pythonhosted.org/packages/ca/03/63c201c998f53296e63a364c17b60ba39bc75fa76b321fcd5dc6c08bff3b/fastabx-0.6.0-cp312-abi3-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b3b60ad5f46c26408ddc8459bd5cd236c1197d57b69558fcd9ffb02afbd41e0e",
                "md5": "0371172d3f8b758e69762f4ac9ab34f7",
                "sha256": "0e1abf833717fb9a110bbf5d15d06d4295cc27c7071da6ec02c078acdd54c3d9"
            },
            "downloads": -1,
            "filename": "fastabx-0.6.0-cp312-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "0371172d3f8b758e69762f4ac9ab34f7",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.12",
            "size": 80482,
            "upload_time": "2025-10-21T17:43:09",
            "upload_time_iso_8601": "2025-10-21T17:43:09.047685Z",
            "url": "https://files.pythonhosted.org/packages/b3/b6/0ad5f46c26408ddc8459bd5cd236c1197d57b69558fcd9ffb02afbd41e0e/fastabx-0.6.0-cp312-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "26acd63a81379f937db457d51e9ebe49b0c0461c995dce7e86196f344beab940",
                "md5": "1900e7e13448e3bb2eb1c34003d06da0",
                "sha256": "6d6006e1ca97185d3b5e556b73766df64e89a67dd4bc682cc510f9a132ee89b9"
            },
            "downloads": -1,
            "filename": "fastabx-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1900e7e13448e3bb2eb1c34003d06da0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 421380,
            "upload_time": "2025-10-21T17:43:10",
            "upload_time_iso_8601": "2025-10-21T17:43:10.180537Z",
            "url": "https://files.pythonhosted.org/packages/26/ac/d63a81379f937db457d51e9ebe49b0c0461c995dce7e86196f344beab940/fastabx-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-21 17:43:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bootphon",
    "github_project": "fastabx",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fastabx"
}
        
Elapsed time: 1.21382s