SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.06370 · 2022

Can we use Common Voice to train a Multi-Speaker TTS system?

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 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; 1 honoured the contract we drafted, 0 violated it and 4 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/2210.06370.json · badge: /api/ran/2210.06370.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
ogunlao/glowtts_stdp community (classifier label)
classifier basis not recorded on the link
7 ran · 3 no recorded run
FunctionStatusWhere it lives
binarize_attention Ran
ran on a synthesized input
ogunlao/glowtts_stdp/utils/helpers.py
code served (permissive licence) · get_code("7d5db48ab4981884")
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 Tensor, ndim 4, dtype family float, shape (2, 1, 5, 4) 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 numpy as np

torch.manual_seed(0)

# Create a batch of soft attention matrices
# Shape: B x 1 x max_mel_len x max_text_len
# B=2 (batch size), 1 (channel), 5 (mel_len), 4 (text_len)
attn = torch.rand(2, 1, 5, 4)
# Ensure values are in (0, 1) range and not too close to 0 to avoid log issues
attn = attn * 0.8 + 0.1

# Text lengths for each batch element
in_len = torch.tensor([4, 3], dtype=torch.long)

# Spectrogram lengths for each batch element
out_len = torch.tensor([5, 4], dtype=torch.long)

ARGS = {
    "attn": attn,
    "in_len": in_len,
    "out_len": out_len,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 1, 5, 4) — shape (2, 1, 5, 4) 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
convert_pad_shape Ran
ran, honoured the contract we drafted
ogunlao/glowtts_stdp/modules/glow_tts_modules/glow_tts_submodules.py
code served (permissive licence) · get_code("d2803ec5ec6424b4")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

def convert_pad_shape(pad_shape):
    """
    Used to get arguments for F.pad
    """
    l = pad_shape[::-1]
    pad_shape = [item for sublist in l for item in sublist]
    return pad_shape

# pad_shape is expected to be a list of lists (or tuples of tuples)
# The function reverses it, then flattens it
# A typical pad_shape for F.pad would be something like:
# [[pad_left, pad_right], [pad_top, pad_bottom]] for 2D padding
# or [[pad_left, pad_right], [pad_top, pad_bottom], [pad_front, pad_back]] for 3D

pad_shape_value = [[1, 2], [3, 4], [5, 6]]

ARGS = {
    "pad_shape": pad_shape_value
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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
get_batch_size Ran
ran on a synthesized input
ogunlao/glowtts_stdp/utils/helpers.py
code served (permissive licence) · get_code("698f219261aabb5e")
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 int, ndim 0, dtype family int, 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
from torch.utils.data import DataLoader, TensorDataset, BatchSampler, SequentialSampler

torch.manual_seed(0)

# Create a minimal dataset
x = torch.randn(10, 4)
y = torch.randn(10, 3)
dataset = TensorDataset(x, y)

# Create a dataloader with batch_size set
train_dataloader = DataLoader(dataset, batch_size=2)

ARGS = {
    "train_dataloader": train_dataloader
}
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 int, ndim 0, dtype family int, 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
get_num_workers Ran
ran on a synthesized input
ogunlao/glowtts_stdp/utils/helpers.py
code served (permissive licence) · get_code("16f423dc8d011455")
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 int, ndim 0, dtype family int, 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

class MockTrainer:
    def __init__(self, num_devices, num_nodes):
        self.num_devices = num_devices
        self.num_nodes = num_nodes

torch.manual_seed(0)

trainer = MockTrainer(num_devices=2, num_nodes=4)

ARGS = {
    "trainer": trainer
}
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 int, ndim 0, dtype family int, 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
maximum_path Ran
ran on a synthesized input
ogunlao/glowtts_stdp/modules/glow_tts_modules/glow_tts_submodules.py
code served (permissive licence) · get_code("f559e7146ee2b4ab")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 3) 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 numpy as np

torch.manual_seed(0)

# Create small tensors with distinct dimensions
b, t_x, t_y = 2, 4, 3

# value: [b, t_x, t_y] - alignment scores
value = torch.randn(b, t_x, t_y, dtype=torch.float32)

# mask: [b, t_x, t_y] - binary mask indicating valid positions
mask = torch.ones(b, t_x, t_y, dtype=torch.float32)

# Set max_neg_val to a reasonable negative value
max_neg_val = -1e9

ARGS = {
    "value": value,
    "mask": mask,
    "max_neg_val": max_neg_val,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) 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
sequence_mask Ran
ran; our contract draft was wrong, not the code
ogunlao/glowtts_stdp/modules/glow_tts_modules/glow_tts_submodules.py
code served (permissive licence) · get_code("a41c0f5898c9a01f")
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 Tensor, ndim 2, dtype family float, shape (2, 3) 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

torch.manual_seed(0)

# The function takes a 'length' tensor and an optional 'max_length' parameter
# length is expected to be a 1D tensor of integer values representing sequence lengths
# max_length is optional and defaults to the maximum value in length

length = torch.tensor([3, 2], dtype=torch.long)
max_length = None

ARGS = {
    "length": length,
    "max_length": max_length,
}
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 Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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
unconstrained_rational_quadratic_spline Ran
ran; our contract draft was wrong, not the code
ogunlao/glowtts_stdp/modules/glow_tts_modules/transforms.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("70a7614b3b3eb41f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

average_features Not yet run
unverified (harvested, no recorded run)
ogunlao/glowtts_stdp/modules/glow_tts_with_pitch.py
code served (permissive licence) · get_code("63e4e54ac1c74e23")
How it ran

no invocation recorded.

piecewise_rational_quadratic_transform Not yet run
unverified (harvested, no recorded run)
ogunlao/glowtts_stdp/modules/glow_tts_modules/transforms.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("ba6cafc4d658c14f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

searchsorted Not yet run
unverified (harvested, no recorded run)
ogunlao/glowtts_stdp/modules/glow_tts_modules/transforms.py
code served (permissive licence) · get_code("e85d747983c4f5d8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 5 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.

FunctionAlso present inEarliest-datedOthers named
convert_pad_shape 12 other papers
5 dated earlier, 7 later
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2109.13821 (2021-09)
Diffusion-Based Voice Conversion with Fast Maximum Likelihood Sampling Scheme
2109.15166 (2021-09)
PortaSpeech: Portable and High-Quality Generative Text-to-Speech
and 9 more not named here
searchsorted 9 other papers
3 dated earlier, 6 later · 1 only as an assembly brick
2007.09390 (2020-07)
Autoregressive flow-based causal discovery and inference
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 6 more not named here
piecewise_rational_quadratic_transform 7 other papers
2 dated earlier, 5 later
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
2305.19709 (2023-05)
XPhoneBERT: A Pre-trained Multilingual Model for Phoneme Representations for Text-to-Speech
and 4 more not named here
sequence_mask 7 other papers
4 dated earlier, 3 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2109.15166 (2021-09)
PortaSpeech: Portable and High-Quality Generative Text-to-Speech
and 4 more not named here
unconstrained_rational_quadratic_spline 7 other papers
2 dated earlier, 5 later
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
2305.19709 (2023-05)
XPhoneBERT: A Pre-trained Multilingual Model for Phoneme Representations for Text-to-Speech
and 4 more not named here

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

Training of multi-speaker text-to-speech (TTS) systems relies on curated datasets based on high-quality recordings or audiobooks. Such datasets often lack speaker diversity and are expensive to collect. As an alternative, recent studies have leveraged the availability of large, crowdsourced automatic speech recognition (ASR) datasets. A major problem with such datasets is the presence of noisy and/or distorted samples, which degrade TTS quality. In this paper, we propose to automatically select high-quality training samples using a non-intrusive mean opinion score (MOS) estimator, WV-MOS. We show the viability of this approach for training a multi-speaker GlowTTS model on the Common Voice English dataset. Our approach improves the overall quality of generated utterances by 1.26 MOS point with respect to training on all the samples and by 0.35 MOS point with respect to training on the LibriTTS dataset. This opens the door to automatic TTS dataset curation for a wider range of languages.

For agents

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

get_harvested_code_for_paper("2210.06370")
get_code_for_paper("2210.06370")
have("2210.06370")

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

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

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

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

Connect an agent — have() is free.