Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 25,177 Bytes
b064a39 8bb8045 b064a39 9f20704 1c21951 b064a39 d4563d8 8a9130b d4563d8 b064a39 5b94681 c101a62 8a9130b c101a62 8a9130b c101a62 8a9130b 840ca16 ab043f7 5d75d0c c101a62 8a9130b 840ca16 5d75d0c ab043f7 8a9130b ab043f7 840ca16 ab043f7 8a9130b b064a39 ebdf0c0 ab043f7 b7ae947 ebdf0c0 b064a39 2deac9d b064a39 2deac9d b064a39 2deac9d b064a39 2deac9d b064a39 2deac9d b064a39 2deac9d 8a9130b 200a46b 8a9130b c101a62 2deac9d b064a39 2deac9d b064a39 2deac9d b064a39 5d75d0c b064a39 8a9130b b064a39 8a9130b b064a39 3ea6f44 200a46b ab043f7 56959a0 200a46b ab043f7 c469d4f a18e18d 329b392 5b94681 329b392 4e45c84 5b94681 4e45c84 ebdf0c0 5b94681 ebdf0c0 c9db7f5 ebdf0c0 b7ae947 ebdf0c0 3ea6f44 a53b3a1 9ed0200 fb3bc9c d6bdb06 8bae367 d6bdb06 4c6a774 f7505af fb3bc9c d6bdb06 4c6a774 d6bdb06 fb3bc9c dfe8449 d6bdb06 4c6a774 4e45c84 ebdf0c0 329b392 fbb3780 9f20704 fbb3780 381b9ea 3ea6f44 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | ##########################
# Text definitions #
##########################
banner_url = "/gradio_api/file=assets/asr_leaderboard.png"
BANNER = f'<div style="display: flex; justify-content: space-around;"><img src="{banner_url}" alt="Banner" style="width: 40vw; min-width: 300px; max-width: 600px;"> </div>'
TTS_LEADERBOARD_URL = "https://huggingface.co/spaces/hf-audio/open_tts_leaderboard"
TTS_PROMO_BANNER = (
f'<div class="promo-banner">๐ฃ๏ธ New! Check out the'
f'<a href="{TTS_LEADERBOARD_URL}" target="_blank" '
f'style="color: var(--link-text-color); font-weight: 600; text-decoration: underline;text-decoration-style: dotted;">'
f'Open TTS Leaderboard</a>'
f'for text-to-speech model evaluation.</div>'
)
INTRODUCTION_TEXT = "The ๐ค Open ASR Leaderboard evaluates open-source and proprietary speech recognition models on English and multiple languages. \
Models are ranked based on their Average WER, from lowest to highest. Check the 'About' tab to understand how models are evaluated. \
To promote transparancy and reproducibility, evaluation scripts can be found on <a href='https://github.com/huggingface/open_asr_leaderboard' target='_blank'>GitHub</a>. Further trends and observations can be found in our <a href='https://arxiv.org/abs/2510.06961' target='_blank'>paper</a>. \
If you want results for a model (or dataset) not listed here, you can directly open a pull request (PR) on GitHub!"
CITATION_TEXT = """@misc{srivastav2025openasrleaderboardreproducible,
title={Open ASR Leaderboard: Towards Reproducible and Transparent Multilingual and Long-Form Speech Recognition Evaluation},
author={Vaibhav Srivastav and Steven Zheng and Eric Bezzam and Eustache Le Bihan and Nithin Koluguri and Piotr ลปelasko and Somshubra Majumdar and Adel Moumen and Sanchit Gandhi},
year={2026},
eprint={2510.06961},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2510.06961},
}
"""
METRICS_TAB_TEXT = """
# About
Here you will find details about the datasets and metrics used in our leaderboard.
## Benchmark datasets
For each task, we take a macro-average over all datasets.
The "Leaderboard" tab, namely short-form English, uses the test split of the following datasets.
For convenience, they are aggregated into a single dataset [here](https://huggingface.co/datasets/hf-audio/open-asr-leaderboard) *except* for `Earnings22-Cleaned-AA-chunked`.
This split is loaded from the [original dataset card](https://huggingface.co/datasets/ArtificialAnalysis/Earnings22-Cleaned-AA-chunked)
as the audio chunks do not contain reference transcripts and requires a different scoring method: each chunk is transcribed and concatenated to form the full audio transcript
which is then compared with the full transcripts from [ArtificialAnalysis/Earnings22-Cleaned-AA](https://huggingface.co/datasets/ArtificialAnalysis/Earnings22-Cleaned-AA).
| Dataset | Duration [h] | License | Source | Style | Transcriptions |
| --------------------------------------------------------------------------------------- | ------------ | --------------- | --------------------------- | -------------------- | ------------------------------- |
| [AMI Meeting Corpus](https://huggingface.co/datasets/edinburghcstr/ami) | 9 | CC-BY-4.0 | Meetings | Spontaneous | Punctuated, cased, disfluencies |
| [Earnings22-Cleaned-AA-chunked](https://huggingface.co/datasets/ArtificialAnalysis/Earnings22-Cleaned-AA-chunked) | 1.9 | Apache-2.0 | Earnings calls | Oratory, spontaneous | Punctuated, cased, disfluencies |
| [GigaSpeech](https://huggingface.co/datasets/speechcolab/gigaspeech) | 40 | Apache-2.0 | Audiobook, podcast, YouTube | Read, spontaneous | Punctuated, disfluencies |
| [SPGISpeech](https://huggingface.co/datasets/kensho/spgispeech) | 100 | User Agreement | Financial meetings | Oratory, spontaneous | Punctuated, cased |
| [URGENT24](https://huggingface.co/datasets/urgent-challenge/urgent2024_official) | 1.92 | Mixed; non-commercial (see note) | Common Voice, LibriTTS, VCTK, YouTube (+ noise/RIRs) | Read, spontaneous | Punctuated, cased, disfluencies |
| [URGENT24 Clean](https://huggingface.co/datasets/urgent-challenge/urgent2024_official) | 1.92 | CC0 / CC BY 4.0 / ODC-BY / CC (see note) | Common Voice, LibriTTS, VCTK, YouTube | Read, spontaneous | Punctuated, cased, disfluencies |
| [Voice Arena Monsoon (en-IN)](https://huggingface.co/datasets/VoiceArena/Monsoon_en_IN_test) | 5.62 | CC BY 4.0 | Voice Arena | Conversational, spontaneous, Indian accent | Normalized, disfluencies |
| [VoiceCodeBench](https://huggingface.co/datasets/besimple-ai/voice-code-bench) | 5.59 | [Other](https://huggingface.co/datasets/besimple-ai/voice-code-bench/blob/main/LICENSE) | Workplace recordings with code, identifiers and numbers | โ | Normalized (WER); Entity Match |
| [Voxpopuli-AA-Cleaned](https://huggingface.co/datasets/ArtificialAnalysis/VoxPopuli-Cleaned-AA) | 2 | Apache-2.0 | European Parliament | Oratory | Punctuated, cased, disfluencies |
โน๏ธ `URGENT24` and `URGENT24 Clean` both evaluate the same 1.92h of underlying speech, pooled from Common Voice 11.0 English test (0.48h, CC0), LibriTTS test (0.59h, CC BY 4.0), VCTK test (0.05h, ODC-BY) and Creative-Commons-licensed YouTube audio (0.81h, mostly podcasts โ the only source with spontaneous speech and disfluencies). `URGENT24 Clean` scores this speech directly. `URGENT24` additionally overlays noise and room impulse responses โ WHAM! (CC BY-NC-4.0), DEMAND (CC BY-SA 3.0), TUT Urban Acoustic Scenes 2018 (non-commercial, research only), SLR28 RIRs (Apache-2.0) and MYRiAD v2 RIRs (CC BY 4.0) โ making that variant research/non-commercial use only. See the [URGENT 2024 Challenge dataset](https://huggingface.co/datasets/urgent-challenge/urgent2024_official) for the full breakdown.
โน๏ธ The Voice Arena sets (the public `Voice Arena Monsoon` split and the private en-IN set) are sourced from dual-channel recordings of two-person conversations, segmented per channel to yield single-speaker chunks. The content is conversational/spontaneous throughout; the only read-style speech occurs when a speaker reads the assigned discussion topic, and all such read audio has been removed โ the released sets contain conversation audio only.
The "Multilingual" tab uses the test split of the following datasets.
For convenience, they are aggregated into a single dataset [here](https://huggingface.co/datasets/nithinraok/asr-leaderboard-datasets).
| Dataset | Languages | Duration [h] | Male (%) / Female (%) | License | Source | Style | Transcriptions |
| ---------------------------------------------------------------- | ------------------ | ------------ | --------------------- | ------------ | ----------- | ----- | ----------------- |
| [MCV](https://commonvoice.mozilla.org/) | de, fr, it, es, nl, hy | 5.3โ23 | NA | CC0 | Crowd-sourced | Read | Punctuated, cased |
| [FLEURS](https://huggingface.co/datasets/google/fleurs) | de, fr, it, es, pt, nl, hy | 2.0โ3.5 | NA | CC-BY-4.0 | Wikipedia | Read | Punctuated, cased |
| [MLS](https://www.openslr.org/94) | fr, it, es, pt, nl | 0.8โ6.3 | NA | CC-BY-4.0 | Audiobooks | Read | Normalized |
| [Voice Arena Monsoon (hi-IN)](https://huggingface.co/datasets/VoiceArena/Monsoon_hi_test) | hi | 1.32 | 60 / 40 | CC BY 4.0 | Voice Arena | Conversational, spontaneous | Lattice (accepted orthographic variants) |
| Voice Arena Private (hi-IN) | hi | 4.47 | 60 / 40 | CC BY 4.0 | Voice Arena | Conversational, spontaneous | Lattice (accepted orthographic variants) |
โน๏ธ Hindi is scored differently from the other multilingual languages. Its references are **lattices** โ a list of accepted orthographic variants per reference slot rather than a single flattened string โ and are scored with the [voi-oiwer](https://pypi.org/project/voi-oiwer/) package. Both the public `Voice Arena Monsoon` split and the private Voice Arena Hindi set are sourced from dual-channel two-person conversations, segmented per channel to yield single-speaker chunks (conversational/spontaneous throughout; see the note in the Leaderboard datasets above). The Hindi language average is taken over both sets.
The "Longform" tab uses the test split of the following datasets, and the entire CORAAL dataset.
For convenience, they are aggregated [here](https://huggingface.co/datasets/hf-audio/asr-leaderboard-longform).
CORAAL is [separate](https://huggingface.co/datasets/bezzam/coraal) as each split has a different metadata structure.
| Dataset | Duration [h] | License | Source | Style | Transcriptions |
| ---------------------------------------------------------------------------- | ------------ | --------------- | -------------------------- | -------------------- | ------------------------------- |
| [CORAAL](https://oraal.github.io/coraal) | 159 | CC-BY-NC-4.0 | Sociolinguistic interviews | Spontaneous | Punctuated, cased, disfluencies |
| [Earnings21](https://huggingface.co/datasets/Revai/earnings21) | 39 | CC-BY-SA-4.0 | Earnings calls | Oratory, spontaneous | Punctuated, cased, disfluencies |
| [Earnings22](https://huggingface.co/datasets/distil-whisper/earnings22) | 119 | CC-BY-SA-4.0 | Earnings calls | Oratory, spontaneous | Punctuated, cased, disfluencies |
The "Private data" tab uses the following datasets, which are not publicly available.
| Dataset | Accent | Duration [h] | Male (%) / Female (%) | Style | Transcription |
| --- | --- | --- | --- | --- | --- |
| Appen Scripted AU | Australian | 1.42 | 49 / 51 | Read | Punctuated, cased. |
| Appen Scripted CA | Canadian | 1.53 | 52 / 48 | Read | Punctuated, cased. |
| Appen Scripted IN | Indian | 1.02 | 49 / 51 | Read | Punctuated, cased. |
| Appen Scripted US | American | 1.45 | 49 / 51 | Read | Punctuated, cased. |
| Appen Conversational IN | Indian | 1.37 | 51 / 49 | Conversational, spontaneous | Punctuated, disfluencies. |
| Appen Conversational US003 | American | 1.64 | 49 / 51 | Conversational, spontaneous | Punctuated, cased, disfluencies. |
| Appen Conversational US004 | American | 1.65 | 49 / 51 | Conversational, spontaneous | Punctuated, disfluencies. |
| DataoceanAI Scripted US | American | 2.43 | 54 / 46 | Read | Punctuated, cased (proper nouns), disfluencies. |
| DataoceanAI Scripted GB | British | 2.43 | 47 / 53 | Read | Punctuated, disfluencies. |
| DataoceanAI Conversational US | American | 8.82 | NA | Conversational, spontaneous | Punctuated, disfluencies. |
| DataoceanAI Conversational GB | British | 5.96 | NA | Conversational, spontaneous | Punctuated, disfluencies. |
| Voice Arena en-IN | Indian | 5.57 | 48 / 52 | Conversational, spontaneous | Normalized, disfluencies. |
| Liva AI Conversational EG | Egyptian | 1.34 | NA | Conversational, spontaneous | Punctuated, cased, disfluencies. |
| Liva AI Conversational NG | Nigerian | 1.55 | NA | Conversational, spontaneous | Punctuated, cased, disfluencies. |
Below are sample audio showing the variety of content (scripted, conversational, acronyms, disfluencies, proper nouns).
<audio controls src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/open_asr_leaderboard/acronym.wav"></audio>
<audio controls src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/open_asr_leaderboard/proper_noun.wav"></audio>
<audio controls src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/open_asr_leaderboard/conv.wav"></audio>
<audio controls src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/open_asr_leaderboard/discluency.wav"></audio>
## Metrics
Models are evaluated jointly using the Word Error Rate (WER) and Inverse Real Time Factor (RTFx) metrics. The WER metric
is used to assess the accuracy of a system, and the RTFx the inference speed. Models are ranked in the leaderboard based
on their WER, lowest to highest.
Crucially, the WER and RTFx values are computed for the same inference run using a single script. The implication of this is two-fold:
1. The WER and RTFx values are coupled: for a given WER, one can expect to achieve the corresponding RTFx. This allows the proposer to trade-off lower WER for higher RTFx should they wish.
2. The WER and RTFx values are averaged over all audios in the benchmark (in the order of thousands of audios).
For details on reproducing the benchmark numbers, refer to the [Open ASR GitHub repository](https://github.com/huggingface/open_asr_leaderboard#evaluate-a-model).
### Word Error Rate (WER)
Word Error Rate is used to measure the **accuracy** of automatic speech recognition systems. It calculates the percentage
of words in the system's output that differ from the reference (correct) transcript. **A lower WER value indicates higher accuracy**.
Take the following example:
| Reference: | the | cat | sat | on | the | mat |
|-------------|-----|-----|---------|-----|-----|-----|
| Prediction: | the | cat | **sit** | on | the | | |
| Label: | โ
| โ
| S | โ
| โ
| D |
Here, we have:
* 1 substitution ("sit" instead of "sat")
* 0 insertions
* 1 deletion ("mat" is missing)
This gives 2 errors in total. To get our word error rate, we divide the total number of errors (substitutions + insertions + deletions) by the total number of words in our
reference (N), which for this example is 6:
```
WER = (S + I + D) / N = (1 + 0 + 1) / 6 = 0.333
```
Giving a WER of 0.33, or 33%.
Not all models produce transcripts with punctuation, casing, or disfluencies; in particular, some models explicitly remove the latter.
To account for discrepancies between model outputs and dataset transcriptions, we normalize all text prior to computing WER.
This normalization removes punctuation and casing, and applies a pipeline closely following that of Whisper. See [here](https://github.com/huggingface/open_asr_leaderboard/tree/main/normalizer) for the relevant code.
The pipeline includes number normalization (e.g. ``zero'' to ``0''), spelling standardization, and the removal of filler words.
Compound words are also addressed, such that e.g. "white paper" and "whitepaper" are treated as equivalent. This is done with [kaldialign](https://github.com/pzelasko/kaldialign).
### Inverse Real Time Factor (RTFx)
Inverse Real Time Factor is a measure of the **latency** of automatic speech recognition systems, i.e. how long it takes an
model to process a given amount of speech. It is defined as:
```
RTFx = (number of seconds of audio inferred) / (compute time in seconds)
```
Therefore, and RTFx of 1 means a system processes speech as fast as it's spoken, while an RTFx of 2 means it takes half the time.
Thus, **a higher RTFx value indicates lower latency**.
### VoiceCodeBench Entity Match (CTEM)
[VoiceCodeBench](https://huggingface.co/datasets/besimple-ai/voice-code-bench) from [Besimple AI](https://huggingface.co/besimple-ai) has 300 English workplace recordings (35โ123 s) with 1,482 annotated entities (names, numbers, identifiers, commands, ...). Two metrics come from the same raw transcripts:
* **WER**, scored like every other dataset (same normalizer and scorer).
* **Entity Match** (canonical token/entity match, CTEM): 100 ร entities correctly recovered / all entities, pooled over recordings, i.e. the percentage of annotated entities a transcript recovers. **Higher is better**, and it is never averaged with WER.
VoiceCodeBench is not part of the default average yet; tick it in the column selection to include its WER. Long recordings are cut into parts of at most 30 s for models whose input window is shorter.
An entity counts as recovered only if it is clearly derivable from the transcript; the annotation metadata never fills in missing content. Empty transcripts stay in the denominator.
**Judge.** Entities are judged by the pinned open-weight [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) (Apache-2.0), served with vLLM. There is one call per transcript, with the full text, lossless 256-character segments and all targets, at temperature zero. The [prompt](https://github.com/huggingface/open_asr_leaderboard/blob/main/normalizer/voice_code_bench_prompt.txt) and the strict response schema are fixed, and a malformed, truncated or failed response stops scoring instead of being repaired or retried. The dataset revision is pinned as well, so scores stay comparable. Identical runs differ by about 0.1โ0.4 CTEM.
See [`voice_code_bench.md`](https://github.com/huggingface/open_asr_leaderboard/blob/main/voice_code_bench.md) for the detailed explanation of the scoring protocol, the validation of the judge and how to run it.
## How to reproduce our results
The Open ASR Leaderboard is a continuous and community effort to benchmark speech recognition models.
Along with the leaderboard we've open-sourced the codebase used for running these evaluations.
For more details head over to our repo at: https://github.com/huggingface/open_asr_leaderboard
We'd love to know which other models (or datasets) you'd like us to benchmark next. Contributions are more than welcome! โฅ๏ธ
"""
# Multilingual language display metadata (name + flag). The set of datasets
# per language is discovered from the data itself, not declared here.
LANGUAGES = {
"zh": {"name": "Chinese", "flag": "๐จ๐ณ"},
"de": {"name": "German", "flag": "๐ฉ๐ช"},
"fr": {"name": "French", "flag": "๐ซ๐ท"},
"it": {"name": "Italian", "flag": "๐ฎ๐น"},
"es": {"name": "Spanish", "flag": "๐ช๐ธ"},
"pt": {"name": "Portuguese", "flag": "๐ต๐น"},
"hi": {"name": "Hindi", "flag": "๐ฎ๐ณ"},
"nl": {"name": "Dutch", "flag": "๐ณ๐ฑ"},
"hy": {"name": "Armenian", "flag": "๐ฆ๐ฒ"},
}
MULTILINGUAL_TAB_TEXT = """
# Multilingual ASR Evaluation
"""
LONGFORM_TAB_TEXT = """
# Long-form ASR Evaluation
"""
PRIVATE_DATA_TAB_TEXT = """
# Private Data ASR Evaluation
This tab evaluates models on private (non-public) speech datasets from multiple data providers.
The purpose of this benchmark is to address risks of overfitting to public datasets, and to incentivize the development of models that generalize well to real-world data. For more information, check out our [blog post](https://huggingface.co/blog/open-asr-leaderboard-private-data).
Scores are aggregated so that no individual data provider or split is exposed.
- **Avg Scripted**: Macro-average across all scripted-speech datasets.
- **Avg Conversational**: Macro-average across all conversational-speech datasets.
- **US vs. non-US**: **Avg US** is the macro-average across all US accent datasets; **Avg Non-US** across all non-US accent datasets (UK, Australia, Canada, India, Nigeria, Egypt).
- **Inner Circle** (US, UK, Australia, Canada) **vs. Outer & Expanding Circles** (India, Nigeria, Egypt): **Avg Inner Circle** / **Avg Outer & Expanding Circles**, per Kachru's Three Circles of English ([blog](https://huggingface.co/blog/open-asr-leaderboard-liva)).
For details on the benchmark datasets used in this tab, see the **๐ค About** tab.
### Acknowledgements
We would like to thank [Appen Inc.](https://huggingface.co/AppenAIResearch), [DataoceanAI](https://huggingface.co/DataoceanAI1), [Voice Arena](https://huggingface.co/VoiceArena), and [Liva AI](https://huggingface.co/liva-ai) for generously providing private evaluation data for this benchmark ๐
"""
LEADERBOARD_CSS = """
/* The bar plot's figure is explicitly sized wider than its column once there
are many models (see _BAR_WIDTH_PER_MODEL in app.py) โ scroll it
horizontally instead of squeezing every bar into the visible width. */
#leaderboard-bar-plot .plot-container,
#leaderboard-bar-plot .js-plotly-plot {
overflow-x: auto;
}
/* Zoom/pan is disabled on this chart (fixedrange + dragmode=False in
app.py), so its zoom/pan/autoscale toolbar would only be dead weight. */
#leaderboard-bar-plot .modebar {
display: none;
}
#leaderboard-table th,
#leaderboard-table td {
min-width: 70px;
}
#leaderboard-table th .header-content {
white-space: nowrap;
}
#leaderboard-table td {
white-space: nowrap;
overflow: visible !important;
text-overflow: clip !important;
max-width: none !important;
}
#leaderboard-table {
width: 100% !important;
table-layout: auto !important;
}
/* Gradio sizes every column to fit the page width (inline width on each header); the
"Checkpoint Size (GB)" header would be squeezed into 4 lines, so give it more room. */
#leaderboard-table th[title="Checkpoint Size (GB)"] {
width: 130px !important;
min-width: 130px !important;
max-width: 130px !important;
}
#multilingual-table th,
#multilingual-table td {
min-width: 70px;
}
#multilingual-table th .header-content {
white-space: nowrap;
}
#multilingual-table td {
white-space: nowrap;
overflow: visible !important;
text-overflow: clip !important;
max-width: none !important;
}
#multilingual-table {
width: 100% !important;
table-layout: auto !important;
}
#multilingual-table th:hover {
background-color: var(--table-row-focus);
}
#longform-table th,
#longform-table td {
min-width: 70px;
}
#longform-table th .header-content {
white-space: nowrap;
}
#longform-table td {
white-space: nowrap;
overflow: visible !important;
text-overflow: clip !important;
max-width: none !important;
}
#longform-table {
width: 100% !important;
table-layout: auto !important;
}
#longform-table th:hover {
background-color: var(--table-row-focus);
}
#private-data-table th,
#private-data-table td {
min-width: 70px;
}
#private-data-table th .header-content {
white-space: nowrap;
}
#private-data-table td {
white-space: nowrap;
overflow: visible !important;
text-overflow: clip !important;
max-width: none !important;
}
#private-data-table {
width: 100% !important;
table-layout: auto !important;
}
#private-data-table th:hover {
background-color: var(--table-row-focus);
}
.language-detail-modal {
background: var(--background-fill-primary);
border: 1px solid var(--border-color-primary);
border-radius: 8px;
padding: 1rem;
margin: 1rem 0;
}
.promo-banner {
background: var(--color-accent-soft);
border: 1px solid var(--border-color-accent);
border-radius: 8px;
padding: 0.75rem 1rem;
margin: 0.5rem 0 1rem 0;
text-align: center;
font-size: 1.05em;
}
.promo-banner a {
color: var(--link-text-color);
}
/* Center the leftmost "Rank" column (header + cells) on every table. */
#leaderboard-table th:first-child,
#leaderboard-table td:first-child,
#multilingual-table th:first-child,
#multilingual-table td:first-child,
#longform-table th:first-child,
#longform-table td:first-child,
#private-data-table th:first-child,
#private-data-table td:first-child {
text-align: center;
}
#leaderboard-table th:first-child .header-content,
#leaderboard-table th:first-child .header-button,
#multilingual-table th:first-child .header-content,
#multilingual-table th:first-child .header-button,
#longform-table th:first-child .header-content,
#longform-table th:first-child .header-button,
#private-data-table th:first-child .header-content,
#private-data-table th:first-child .header-button {
justify-content: center;
text-align: center;
}
/* Center the "Rank ฮ" column (header + cells) โ main leaderboard only. */
#leaderboard-table th:nth-child(2),
#leaderboard-table td:nth-child(2) {
text-align: center;
}
#leaderboard-table th:nth-child(2) .header-content,
#leaderboard-table th:nth-child(2) .header-button {
justify-content: center;
text-align: center;
}
/* Narrow the "Model" column on the main leaderboard (3rd column: Rank, Rank ฮ,
Model) and private-data tables (2nd column: Rank, Model) so long model
names wrap instead of stretching the whole table. */
#leaderboard-table th:nth-child(3),
#leaderboard-table td:nth-child(3),
#private-data-table th:nth-child(2),
#private-data-table td:nth-child(2) {
width: 260px !important;
min-width: 260px !important;
max-width: 260px !important;
white-space: normal !important;
}
"""
|