https://github.com/bootphon/fastabx

A library for efficient computation of ABX discriminability

https://github.com/bootphon/fastabx

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
Last synced: 10 months ago · JSON representation

Repository

A library for efficient computation of ABX discriminability

Basic Info
Statistics
  • Stars: 15
  • Watchers: 6
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Created over 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License

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

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

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 80
  • Total Committers: 1
  • Avg Commits per committer: 80.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 80
  • Committers: 1
  • Avg Commits per committer: 80.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
mxmpl 4****l 80

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

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 728 Last month
Rankings
Dependent packages count: 9.6%
Average: 31.9%
Dependent repos count: 54.3%
Maintainers (2)
Last synced: 10 months ago

Dependencies

.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4 composite
  • astral-sh/setup-uv v5 composite
pyproject.toml pypi
  • numpy >=2.1.3
  • polars >=1.14.0
  • torch ==2.6.0
  • tqdm >=4.67.1
setup.py pypi
uv.lock pypi
  • 103 dependencies
.github/workflows/togitlab.yml actions
  • actions/checkout v4 composite