BTEval
BTEval is a Python library for measuring the robustness of natural language understanding models to speech recognition errors.
It implements the family of R* robustness measures defined in Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors (Kubis et al., EMNLP 2023).
Installation
pip install bteval
Usage
from bteval import r1_score
y_true = ["Inform", "Request", "Inform"]
y_before = ["Inform", "Request", "Request"]
y_after = ["Inform", "Confirm", "Confirm"]
r1_score(y_true, y_before, y_after)
Citing
If you use bteval for your research, please cite the following paper:
Marek Kubis, Paweł Skórzewski, Marcin Sowański, and Tomasz Zietkiewicz. 2023. Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 11824–11835, Singapore. Association for Computational Linguistics.
@InProceedings{kubis-etal-2023-back,
title = "{Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors}",
author = "Kubis, Marek and Skórzewski, Paweł and Sowański, Marcin and Ziętkiewicz, Tomasz",
booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
month = dec,
year = "2023",
address = "Singapore",
publisher = "Association for Computational Linguistics",
URL = "https://aclanthology.org/2023.emnlp-main.724",
doi = "10.18653/v1/2023.emnlp-main.724",
pages = "11824--11835",
}
Release files for bteval 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bteval-0.2.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bteval-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / bteval-0.2.0.tar.gz
| Download URL | bteval-0.2.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dc917a0cec90a133581bef25fba93dbc08fea2b46d2250a6fdc968d733f8ea7
|
|
BLAKE2b-256 checksum How to use checksums |
7d1e2b3ca4440eb592d59a645af8b022a3fa5899f10b2a755f51975e6d7d281d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Release files / bteval-0.2.0-py3-none-any.whl
| Download URL | bteval-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11312224fbf13b7187b941a83135a812c7bff0acdb2660ae5942b4847d303bab
|
|
BLAKE2b-256 checksum How to use checksums |
31cbca9e25f7202393a4ba74b7ae1b2809139342d45261ad9f0f844b0d46c37e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|