TTS_Arena / README.md
Pendrokar's picture
just the past month summary
28e7d44 verified
|
raw
history blame
3.01 kB
metadata
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:

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:

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.

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:

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