SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.06873 · 2020

FastPitch: Parallel Text-to-speech with Pitch Prediction

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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; 3 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 1 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/2006.06873.json · badge: /api/ran/2006.06873.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
as-ideas/ForwardTacotron community (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
keonlee9420/FastPitchFormant community (classifier label)
classifier basis: plan_row
4 ran · 0 no recorded run
FunctionStatusWhere it lives
generate_square_subsequent_mask Ran
ran on a synthesized input
as-ideas/ForwardTacotron/models/common_layers.py
code served (permissive licence) · get_code("a0c49128f0c91bec")
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 (5, 5) 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)

ARGS = {
    "sz": 5
}
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 (5, 5) — shape (5, 5) 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_padding Ran
ran, honoured the contract we drafted
keonlee9420/FastPitchFormant/hifigan/models.py
pointer only (licence: MIT); the stored copy get_code serves, from isletennos/mmvc_trainer, is pointer only (licence: NONE) · get_code("a26f85d7c72ef39a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from isletennos/mmvc_trainer, 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.

get_param_num Ran
ran, honoured the contract we drafted
keonlee9420/FastPitchFormant/utils/model.py
pointer only (licence: MIT); the stored copy get_code serves, from Zz-ww/VITS-BigVGAN-SpanPSP-Chinese, is pointer only (licence: NONE) · get_code("f1cba67eb6d6e4ad")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Zz-ww/VITS-BigVGAN-SpanPSP-Chinese, 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.

get_sinusoid_encoding_table Ran
ran, honoured the contract we drafted
keonlee9420/FastPitchFormant/model/modules.py
pointer only (licence: MIT); the stored copy get_code serves, from Matthewdowney18/Transformer_Dialogue, is pointer only (licence: NONE) · get_code("0f8f22937463d3c5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Matthewdowney18/Transformer_Dialogue, 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.

make_mel_len_mask Ran
ran on a synthesized input
as-ideas/ForwardTacotron/models/common_layers.py
code served (permissive licence) · get_code("91d5a6e1546706d1")
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, 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

torch.manual_seed(0)

# x is a tensor used for:
# - x.size(0) - batch dimension
# - x.size(1) - sequence/mel length dimension
# - x.device - to move len_mask to same device
# Making it shape (2, 4) - batch_size=2, mel_length=4
x = torch.randn(2, 4)

# mel_lens is a tensor of lengths, one per batch element
# Used in: enumerate(mel_lens) and indexing as mel_lens[i]
# Each value should be <= x.size(1) (the sequence length)
# Making values that are valid indices into dimension 1
mel_lens = torch.tensor([1, 3])

ARGS = {
    "x": x,
    "mel_lens": mel_lens,
}
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, 4) — shape (2, 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
make_token_len_mask Ran
ran on a synthesized input
as-ideas/ForwardTacotron/models/common_layers.py
code served (permissive licence) · get_code("ad0e751533352511")
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 (4, 2) 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 expects a torch.Tensor and performs:
# 1. Comparison with 0 (x == 0)
# 2. Transpose operation (transpose(0, 1))
# This suggests x should be a 2D tensor (or higher rank, but 2D is typical)

# Create a small 2D tensor with batch size 2 and sequence length 4
# Include some 0 values and non-zero values to make the mask meaningful
x = torch.tensor([
    [1, 2, 0, 3],
    [0, 5, 4, 0]
], dtype=torch.long)

ARGS = {
    "x": x
}
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 (4, 2) — shape (4, 2) 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
read_lexicon Ran
ran; our contract draft was wrong, not the code
keonlee9420/FastPitchFormant/synthesize.py
code served (permissive licence) · get_code("2b5c06c1ba593c3c")
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) and returned dict. 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 tempfile
import os

# Create a temporary lexicon file
temp_dir = tempfile.mkdtemp()
lex_path = os.path.join(temp_dir, "lexicon.txt")

# Write a sample lexicon file with words and their phonetic representations
with open(lex_path, 'w') as f:
    f.write("hello H EH L OW\n")
    f.write("world W ER L D\n")
    f.write("HELLO H EH L OW\n")  # Duplicate of "hello" in different case
    f.write("python P Y TH AH N\n")
    f.write("test T EH S T\n")

ARGS = {
    "lex_path": lex_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
valid_n_workers Ran
ran on a synthesized input
as-ideas/ForwardTacotron/preprocess.py
code served (permissive licence) · get_code("cf6c592957959da5")
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 argparse

def valid_n_workers(num):
    n = int(num)
    if n < 1:
        raise argparse.ArgumentTypeError('%r must be an integer greater than 0' % num)
    return n

ARGS = {
    'num': '4'
}
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 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
normalize_values Not yet run
unverified (harvested, no recorded run)
as-ideas/ForwardTacotron/train_tacotron.py
code served (permissive licence) · get_code("244ced1ca103e6bc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 4 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
get_padding 53 other papers
1 dated earlier, 1 the same month, 50 later, 1 undated · 4 only as an assembly brick
1910.10838 (2019-10)
Zero-Shot Multi-Speaker Text-To-Speech with State-of-the-art Neural Speaker Embeddings
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2010.05646 (2020-10)
HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis
and 50 more not named here
get_sinusoid_encoding_table 12 other papers
4 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable · 2 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1910.02481 (2019-10)
Learn to Explain Efficiently via Neural Logic Inductive Learning
and 9 more not named here
read_lexicon 11 other papers
1 dated earlier, 1 the same month, 9 later
1905.09263 (2019-05)
FastSpeech: Fast, Robust and Controllable Text to Speech
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2009.00713 (2020-09)
WaveGrad: Estimating Gradients for Waveform Generation
and 8 more not named here
get_param_num 9 other papers
1 dated earlier, 8 later
1712.05884 (2017-12)
Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions
2106.09660 (2021-06)
WaveGrad 2: Iterative Refinement for Text-to-Speech Synthesis
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 6 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

We present FastPitch, a fully-parallel text-to-speech model based on FastSpeech, conditioned on fundamental frequency contours. The model predicts pitch contours during inference. By altering these predictions, the generated speech can be more expressive, better match the semantic of the utterance, and in the end more engaging to the listener. Uniformly increasing or decreasing pitch with FastPitch generates speech that resembles the voluntary modulation of voice. Conditioning on frequency contours improves the overall quality of synthesized speech, making it comparable to state-of-the-art. It does not introduce an overhead, and FastPitch retains the favorable, fully-parallel Transformer architecture, with over 900x real-time factor for mel-spectrogram synthesis of a typical utterance.

For agents

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

get_harvested_code_for_paper("2006.06873")
get_code_for_paper("2006.06873")
have("2006.06873")

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

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

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

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

Connect an agent — have() is free.