A library for efficient computation of ABX discriminability
Project description
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:
pip install fastabx
It requires Python 3.12 or later, and depends on PyTorch 2.10.0 or later, NumPy, Polars, tqdm, and torchdtw.
Citation
A preprint is available on arXiv: https://arxiv.org/abs/2505.02692
If you use fastabx in your work, please cite it:
@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},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastabx-0.7.1.tar.gz.
File metadata
- Download URL: fastabx-0.7.1.tar.gz
- Upload date:
- Size: 407.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c250e1cfd2346cd85422ee283c5673ace87386ec506d199b397d571e5ea2b32
|
|
| MD5 |
77d695283ff6bc34d898141090be9391
|
|
| BLAKE2b-256 |
cbfa2e14397319b023b46cb84133aaea56a538010deb45966bd2a50931a654f2
|
File details
Details for the file fastabx-0.7.1-py3-none-any.whl.
File metadata
- Download URL: fastabx-0.7.1-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b6cb041be60ed2c069e912736a8a6394cebcac673dc6b6febdc7e0486722397
|
|
| MD5 |
4012668e5f3473787781cacdc6ca1482
|
|
| BLAKE2b-256 |
05d1c3e3878f49c974eead85adf094436273417efff409e55567d127188d8451
|