|
--- |
|
language: |
|
- en |
|
tags: |
|
- arena |
|
--- |
|
Arena's DB is _SQLlite_ DB file. The above is just a summary query that should be useful for TTS developers to evaluate faults of their model. |
|
|
|
## Useful queries for TTS developers and evaluators |
|
|
|
### All votes mentioning specified TTS model: |
|
```sql |
|
SELECT |
|
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote |
|
FROM "main"."spokentext" |
|
INNER JOIN votelog vl ON votelog_id = vl.id |
|
WHERE |
|
vl.chosen = "Pendrokar/xVASynth-TTS" |
|
OR vl.rejected = "Pendrokar/xVASynth-TTS" |
|
GROUP BY spokentext, chosen, rejected |
|
ORDER BY times DESC, spokentext ASC |
|
LIMIT 0, 49999; |
|
``` |
|
|
|
### All rejections of specified TTS model against another: |
|
```sql |
|
SELECT |
|
spokentext, lang, chosen, rejected, count(spokentext) AS times, MAX(vl.timestamp) AS lastvote |
|
FROM "main"."spokentext" |
|
INNER JOIN votelog vl ON votelog_id = vl.id AND vl.rejected = "Pendrokar/xVASynth-TTS" |
|
GROUP BY spokentext, chosen |
|
ORDER BY spokentext ASC |
|
LIMIT 0, 49999; |
|
``` |
|
|
|
### All rejections of a TTS model against another: |
|
The one used in dataset viewer. |
|
```sql |
|
SELECT |
|
spokentext, |
|
(COUNT(DISTINCT chosen) || ' ' || GROUP_CONCAT(DISTINCT chosen)) AS chosen, |
|
rejected, |
|
count(spokentext) AS times, |
|
MAX(vl.timestamp) AS lastvote |
|
FROM "main"."spokentext" |
|
INNER JOIN votelog vl ON votelog_id = vl.id |
|
GROUP BY spokentext, rejected |
|
ORDER BY |
|
(COUNT(DISTINCT chosen) * times) DESC, |
|
COUNT(DISTINCT chosen) DESC, |
|
spokentext ASC |
|
LIMIT 0, 49999; |
|
``` |
|
|
|
If you use this data in your publication, please cite us! |
|
|
|
Copy the BibTeX citation to cite this source: |
|
```bibtext\n |
|
@misc{tts-arena, |
|
title = {Text to Speech Arena - Pendrokar's HF Spaces Fork}, |
|
author = {mrfakename and Srivastav, Vaibhav and Fourrier, Clémentine and Pouget, Lucain and Lacombe, Yoach and main and Gandhi, Sanchit}, |
|
year = 2024, |
|
publisher = {Hugging Face}, |
|
howpublished = "\\url{https://huggingface.co/spaces/TTS-AGI/TTS-Arena}" |
|
} |
|
``` |