https://github.com/bootphon/fastabx
A library for efficient computation of ABX discriminability
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
A library for efficient computation of ABX discriminability
Basic Info
- Host: GitHub
- Owner: bootphon
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://docs.cognitive-ml.fr/fastabx
- Size: 1.97 MB
Statistics
- Stars: 15
- Watchers: 6
- Forks: 2
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
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},
}
Owner
- Name: CoML
- Login: bootphon
- Kind: organization
- Email: syntheticlearner@gmail.com
- Location: Paris, France
- Website: https://cognitive-ml.fr
- Repositories: 55
- Profile: https://github.com/bootphon
GitHub Events
Total
- Release event: 17
- Watch event: 7
- Delete event: 36
- Issue comment event: 1
- Push event: 173
- Public event: 1
- Fork event: 1
- Create event: 53
Last Year
- Release event: 17
- Watch event: 7
- Delete event: 36
- Issue comment event: 1
- Push event: 173
- Public event: 1
- Fork event: 1
- Create event: 53
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 728 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 18
- Total maintainers: 2
pypi.org: fastabx
A library for efficient computation of ABX discriminability
- Documentation: https://fastabx.readthedocs.io/
- License: mit
-
Latest release: 0.5.3
published 10 months ago
Rankings
Dependencies
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite
- astral-sh/setup-uv v5 composite
- numpy >=2.1.3
- polars >=1.14.0
- torch ==2.6.0
- tqdm >=4.67.1
- 103 dependencies
- actions/checkout v4 composite