File size: 3,008 Bytes
4fba3b5
 
 
 
 
 
ee696dd
4fba3b5
ab23189
 
f0228e8
ab23189
4fba3b5
 
ee696dd
4fba3b5
 
b354357
4fba3b5
 
 
 
 
 
 
 
 
 
ee696dd
4fba3b5
 
b354357
4fba3b5
 
 
b354357
 
4fba3b5
 
ee696dd
28e7d44
ee696dd
195d595
 
7781fb6
195d595
7781fb6
195d595
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7781fb6
 
195d595
 
 
 
28e7d44
 
 
195d595
7781fb6
195d595
 
ee696dd
 
4fba3b5
 
 
 
 
 
 
 
 
 
 
 
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
---
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.

## Why no audio samples?

Unsafe. Cannot constantly oversee the output of uncontrolled HuggingFace Spaces. While it could be safeguarded by using an ASR model before uploading, something unwanted may still slip through.

## 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.** Note that the `chosen` column may include models that the `rejected` model beat more times. That is also why `votes` may sometimes be even less than the amount of distinct chosen models.
```sql
SELECT 
    st.spokentext,
    (COUNT(DISTINCT vl.chosen) || ' ' || GROUP_CONCAT(DISTINCT ' ' || vl.chosen)) AS chosen,
    vl.rejected,
    COUNT(vl.rejected) - COALESCE(chosen_counts.chosen_count, 0) AS votes,
    MAX(vl.timestamp) AS lastvote
FROM 
    votelog vl
JOIN 
    spokentext st ON vl.id = st.votelog_id
LEFT JOIN (
    SELECT 
        st_inner.spokentext,
        vl_inner.chosen,
        COUNT(vl_inner.chosen) AS chosen_count
    FROM 
        votelog vl_inner
    JOIN 
        spokentext st_inner ON vl_inner.id = st_inner.votelog_id
    GROUP BY 
        st_inner.spokentext,
        vl_inner.chosen
    ORDER BY
        chosen_count DESC
) AS chosen_counts ON st.spokentext = chosen_counts.spokentext AND vl.rejected = chosen_counts.chosen
GROUP BY 
    st.spokentext,
    vl.rejected
HAVING
	votes > 0
	AND lastvote BETWEEN datetime('now', '-1 month') AND datetime('now', 'localtime')
ORDER BY 
    ((votes * COUNT(DISTINCT vl.chosen)) / 2) DESC,
    COUNT(DISTINCT vl.chosen) DESC,
    st.spokentext ASC;
```

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}"
}
```