SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1703.03906 · 2017

Massive Exploration of Neural Machine Translation Architectures

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 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-23; 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/1703.03906.json · badge: /api/ran/1703.03906.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
google/seq2seq canonical (classifier label)
classifier basis: census
0 ran · 1 no recorded run
simonjisu/NMT community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
A-Jacobson/minimal-nmt community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
AI-coder/SEQ2SEA community (classifier label)
classifier basis: plan_row
1 ran · 1 no recorded run
FunctionStatusWhere it lives
normalize_string Ran
ran on a synthesized input
simonjisu/NMT/model/preprocessing.py
code served (permissive licence) · get_code("376ab047b1a94d61")
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
import unicodedata

def unicode_to_ascii(s):
    return ''.join((c for c in unicodedata.normalize('NFD', s) if unicodedata.category(c) != 'Mn'))

def normalize_string(s):
    s = unicode_to_ascii(s.lower().strip())
    s = re.sub('([,.!?\\"\\\'\\-])', ' \\1 ', s)
    s = re.sub('[^a-zA-Z,.!?\\"\\\'\\-]+', ' ', s)
    s = re.sub('\\s+', ' ', s).strip()
    return s

# The function takes a single string parameter 's'
ARGS = {
    's': "Hello, World! This is a test string with accénts and special characters."
}
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
read_files Ran
ran on a synthesized input
simonjisu/NMT/model/preprocessing.py
code served (permissive licence) · get_code("99848e825367125b")
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 3, dtype family float; no output shape is stated. It ran in syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1) at 2026-09-26T21:51:12Z. 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 tempfile
import os

# Create a temporary file with tab-separated pairs
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8')
temp_file.write("Hello world\tBonjour monde\n")
temp_file.write("Good morning\tBon matin\n")
temp_file.close()

# Create a stand-in tagger class that implements the morphs method
class StandInTagger:
    def morphs(self, text):
        # Return a simple morphological analysis as a list of tokens
        return text.split()

tagger_instance = StandInTagger()

ARGS = {
    'path': temp_file.name,
    'tagger': tagger_instance
}
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 list, ndim 3, dtype family float — 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 syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1); 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_to_text Ran
ran on a synthesized input
A-Jacobson/minimal-nmt/utils.py
code served (permissive licence) · get_code("644dca570ee1eaa4")
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 torch
import numpy as np

torch.manual_seed(0)

class Field:
    def __init__(self):
        self.vocab = Vocab()

class Vocab:
    def __init__(self):
        self.itos = {
            0: 'hello',
            1: 'world',
            2: 'foo',
            3: 'bar',
            4: 'baz'
        }

field = Field()
sequence = torch.tensor([0, 1, 2, 3])

ARGS = {
    'sequence': sequence,
    'field': field
}
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 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
templatemethod Ran
ran; our contract draft was wrong, not the code
AI-coder/SEQ2SEA/seq2seq/graph_utils.py
code served (permissive licence) · get_code("c73e2ed8b047237f")
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 function. 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 tensorflow as tf

def templatemethod(name_):
    """This decorator wraps a method with `tf.make_template`. For example,

  @templatemethod
  def my_method():
    # Create variables
  """

    def template_decorator(func):
        """Inner decorator function"""

        def func_wrapper(*args, **kwargs):
            """Inner wrapper function"""
            templated_func = tf.make_template(name_, func)
            return templated_func(*args, **kwargs)
        return func_wrapper
    return template_decorator


# Test the decorator by applying it to a simple function
@templatemethod("test_template")
def test_func(x):
    return x + 1


# Create setup arguments
ARGS = {
    "name_": "my_template_func"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
text_to_sequence Ran
ran on a synthesized input
A-Jacobson/minimal-nmt/utils.py
code served (permissive licence) · get_code("5f3f24c702dc6f63")
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
import numpy as np

class VocabStoi:
    def __init__(self):
        self.stoi = {
            'hello': 0,
            'world': 1,
            'python': 2,
            'test': 3,
            'code': 4
        }

class Field:
    def __init__(self):
        self.vocab = VocabStoi()

text = ['hello', 'world', 'python']
field = Field()

ARGS = {
    'text': text,
    'field': field
}
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 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
unicode_to_ascii Ran
ran; our contract draft was wrong, not the code
simonjisu/NMT/model/preprocessing.py
pointer only (licence: MIT); the stored copy get_code serves, from bonaventuredossou/ffr-v1, is pointer only (licence: NOASSERTION) · get_code("3b0218c9534b6ee7")
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 bonaventuredossou/ffr-v1, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

cross_entropy_sequence_loss Not yet run
unverified (harvested, no recorded run)
AI-coder/SEQ2SEA/seq2seq/losses.py
code served (permissive licence) · get_code("358434439625669b")
How it ran

no invocation recorded.

get_dict_from_collection Not yet run
unverified (harvested, no recorded run)
google/seq2seq/seq2seq/graph_utils.py
code served (permissive licence) · get_code("c575a1dcdbff36b2")
How it ran

no invocation recorded.

show_attention Not yet run
unverified (harvested, no recorded run)
A-Jacobson/minimal-nmt/utils.py
code served (permissive licence) · get_code("575fed7c3e1f44b9")
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 (1 with at least one paper dated earlier, 0 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
unicode_to_ascii 4 other papers
1 dated earlier, 3 later
1409.0473 (2014-09)
Neural Machine Translation by Jointly Learning to Align and Translate
1810.12541 (2018-10)
Robots Learn Social Skills: End-to-End Learning of Co-Speech Gesture Generation for Humanoid Robots
1811.00239 (2018-11)
Progressive Memory Banks for Incremental Domain Adaptation
and 1 more not named here
cross_entropy_sequence_loss 1 other paper
1 later
2602.03554 (2026-02)
When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMs
get_dict_from_collection 1 other paper
1 later
2602.03554 (2026-02)
When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMs
templatemethod 1 other paper
1 later
2602.03554 (2026-02)
When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMs

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-23.

Repositories linked to this paper

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

Abstract

Neural Machine Translation (NMT) has shown remarkable progress over the past few years with production systems now being deployed to end-users. One major drawback of current architectures is that they are expensive to train, typically requiring days to weeks of GPU time to converge. This makes exhaustive hyperparameter search, as is commonly done with other neural network architectures, prohibitively expensive. In this work, we present the first large-scale analysis of NMT architecture hyperparameters. We report empirical results and variance numbers for several hundred experimental runs, corresponding to over 250,000 GPU hours on the standard WMT English to German translation task. Our experiments lead to novel insights and practical advice for building and extending NMT architectures. As part of this contribution, we release an open-source NMT framework that enables researchers to easily experiment with novel techniques and reproduce state of the art results.

For agents

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

get_harvested_code_for_paper("1703.03906")
get_code_for_paper("1703.03906")
have("1703.03906")

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

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

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

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

Connect an agent — have() is free.