SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.04904 · 2024

XTTS: a Massively Multilingual Zero-Shot Text-to-Speech Model

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.04904.json · badge: /api/ran/2406.04904.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Edresson/ZS-TTS-Evaluation canonical (classifier label)
classifier basis: census
3 ran · 3 no recorded run
FunctionStatusWhere it lives
expand_abbreviations_multilingual Ran
ran; our contract draft was wrong, not the code
Edresson/ZS-TTS-Evaluation/utils/stt.py
code served (permissive licence) · get_code("94dc508726f5f0e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def expand_abbreviations_multilingual(text, lang='en'):
    _abbreviations = {'en': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('mrs', 'misess'), ('mr', 'mister'), ('dr', 'doctor'), ('st', 'saint'), ('co', 'company'), ('jr', 'junior'), ('maj', 'major'), ('gen', 'general'), ('drs', 'doctors'), ('rev', 'reverend'), ('lt', 'lieutenant'), ('hon', 'honorable'), ('sgt', 'sergeant'), ('capt', 'captain'), ('esq', 'esquire'), ('ltd', 'limited'), ('col', 'colonel'), ('ft', 'fort')]], 'es': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('sra', 'señora'), ('sr', 'señor'), ('dr', 'doctor'), ('dra', 'doctora'), ('st', 'santo'), ('co', 'compañía'), ('jr', 'junior'), ('ltd', 'limitada')]], 'fr': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('mme', 'madame'), ('mr', 'monsieur'), ('dr', 'docteur'), ('st', 'saint'), ('co', 'compagnie'), ('jr', 'junior'), ('ltd', 'limitée')]], 'de': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('fr', 'frau'), ('dr', 'doktor'), ('st', 'sankt'), ('co', 'firma'), ('jr', 'junior')]], 'pt': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('sra', 'senhora'), ('sr', 'senhor'), ('dr', 'doutor'), ('dra', 'doutora'), ('st', 'santo'), ('co', 'companhia'), ('jr', 'júnior'), ('ltd', 'limitada')]], 'it': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('sig', 'signore'), ('dr', 'dottore'), ('st', 'santo'), ('co', 'compagnia'), ('jr', 'junior'), ('ltd', 'limitata')]], 'pl': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('p', 'pani'), ('m', 'pan'), ('dr', 'doktor'), ('sw', 'święty'), ('jr', 'junior')]], 'ar': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in []], 'zh': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in []], 'cs': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('dr', 'doktor'), ('ing', 'inženýr'), ('p', 'pan')]], 'ru': [(re.compile('\\b%s\\b' % x[0], re.IGNORECASE), x[1]) for x in [('г-жа', 'госпожа'), ('г-н', 'господин'), ('д-р', 'доктор')]], 'nl': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('dhr', 'de heer'), ('mevr', 'mevrouw'), ('dr', 'dokter'), ('jhr', 'jonkheer')]], 'tr': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('b', 'bay'), ('byk', 'büyük'), ('dr', 'doktor')]], 'hu': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in [('dr', 'doktor'), ('b', 'bácsi'), ('nőv', 'nővér')]], 'ko': [(re.compile('\\b%s\\.' % x[0], re.IGNORECASE), x[1]) for x in []]}
    for regex, replacement in _abbreviations[lang]:
        text = re.sub(regex, replacement, text)
    return text

ARGS = {
    'text': 'Dr. Smith and Mr. Johnson met with Mrs. Brown at the company.',
    'lang': 'en'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
has_numbers Ran
ran, violated the contract we drafted
Edresson/ZS-TTS-Evaluation/utils/get_target_sentences_from_FLORES.py
code served (permissive licence) · get_code("06e1346452cf607b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Analyzing the function: has_numbers(inputString)
# The function takes inputString as a parameter
# It iterates through characters and checks if any are digits using char.isdigit()
# This is a simple string utility function

# Create test strings - one with numbers, one without
test_string_with_numbers = "hello123world"
test_string_without_numbers = "helloworld"

ARGS = {
    "inputString": test_string_with_numbers
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_text Ran
ran; our contract draft was wrong, not the code
Edresson/ZS-TTS-Evaluation/utils/generic_utils.py
code served (permissive licence) · get_code("15b7e710b24d5a4c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import unicodedata
import sys

ALL_PUNCTUATION = ''.join((chr(i) for i in range(sys.maxunicode) if unicodedata.category(chr(i)).startswith('P')))

def normalize_text(text):
    text = text.translate(str.maketrans('', '', ALL_PUNCTUATION))
    text = text.lower()
    text = ' '.join(text.split())
    if not text:
        text = ' '
    return text

ARGS = {
    'text': "Hello, World! This is a Test-String with PUNCTUATION."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
chn2num Not yet run
unverified (harvested, no recorded run)
Edresson/ZS-TTS-Evaluation/utils/zh_num2words.py
code served (permissive licence) · get_code("51338b7eeb821a2b")
How it ran

no invocation recorded.

create_system Not yet run
unverified (harvested, no recorded run)
Edresson/ZS-TTS-Evaluation/utils/zh_num2words.py
code served (permissive licence) · get_code("deb4ce2c05260f78")
How it ran

no invocation recorded.

num2chn Not yet run
unverified (harvested, no recorded run)
Edresson/ZS-TTS-Evaluation/utils/zh_num2words.py
code served (permissive licence) · get_code("eed9acfc2af82add")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Most Zero-shot Multi-speaker TTS (ZS-TTS) systems support only a single language. Although models like YourTTS, VALL-E X, Mega-TTS 2, and Voicebox explored Multilingual ZS-TTS they are limited to just a few high/medium resource languages, limiting the applications of these models in most of the low/medium resource languages. In this paper, we aim to alleviate this issue by proposing and making publicly available the XTTS system. Our method builds upon the Tortoise model and adds several novel modifications to enable multilingual training, improve voice cloning, and enable faster training and inference. XTTS was trained in 16 languages and achieved state-of-the-art (SOTA) results in most of them.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.04904")
get_code_for_paper("2406.04904")
have("2406.04904")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.04904.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.04904.svg)](https://syntology.ai/paper/2406.04904)

Connect an agent — have() is free.