SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1711.05101 · 2017

DECOUPLED WEIGHT DECAY REGULARIZATION

Frank Hutter, Ilya Loshchilov

arXiv · PDF · Open in the Atlas

Code that ran

18 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 3 violated it and 7 have no contract verdict; 4 failures of our instrument; 5 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/1711.05101.json · badge: /api/ran/1711.05101.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
txping/AEGD community (classifier label)
classifier basis not recorded on the link
8 ran · 2 no recorded run
huggingface/pytorch-openai-transformer-lm community
Papers with Code archive
4 ran · 0 no recorded run
ceballots/Adam-with-cosine-scheduler-implementation community
Papers with Code archive
2 ran · 0 no recorded run
DeadAt0m/adafactor-pytorch community
Papers with Code archive
1 ran · 0 no recorded run
kayuksel/pytorch-adamaio community
Papers with Code archive
1 ran · 0 no recorded run
mpyrozhok/adamwr community
Papers with Code archive
1 ran · 0 no recorded run
GPUPhobia/vocal-mask community
Papers with Code archive
1 ran · 0 no recorded run
JakobHavtorn/nn community
Papers with Code archive
0 ran · 2 no recorded run
ethancaballero/Restricted_Boltzmann_Machine__RBM community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
AdaFactor Ran
ran on a synthesized input · constructed an object; no result was computed
DeadAt0m/adafactor-pytorch/adafactor.py
pointer only (licence: NONE) · get_code("7b180121ac155bb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DeadAt0m/adafactor-pytorch 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.

AdamAIO Ran
ran on a synthesized input · constructed an object; no result was computed
kayuksel/pytorch-adamaio/AdamAIO.py
pointer only (licence: GPL-3.0) · get_code("6648843cdfb2e00f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kayuksel/pytorch-adamaio, is not in the permissive set Syntology serves inline. 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.

AdamLearningRuleWithWeightDecay Ran
ran on a synthesized input · constructed an object; no result was computed
ceballots/Adam-with-cosine-scheduler-implementation/mlp/learning_rules.py
pointer only (licence: NONE) · get_code("3e79240a1f942f4f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ceballots/Adam-with-cosine-scheduler-implementation 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.

AdamW Ran
ran on a synthesized input · constructed an object; no result was computed
mpyrozhok/adamwr/adamw.py
code served (permissive licence) · get_code("faa061fd5685d74b")
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 an instance of its own class, AdamW: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
from torch.optim.optimizer import Optimizer

torch.manual_seed(0)

# Create a simple model with parameters
model = nn.Linear(4, 3, bias=True)

# Get the parameters to optimize
params = model.parameters()

# Define all arguments for AdamW
ARGS = {
    'params': params,
    'lr': 0.001,
    'betas': (0.9, 0.999),
    'eps': 1e-8,
    'weight_decay': 0.0,
    'amsgrad': False
}
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 AdamW — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AdamW 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
AdamW Ran
ran on a synthesized input
GPUPhobia/vocal-mask/adamW.py
pointer only (licence: NONE) · get_code("6fc00b833d205b4a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GPUPhobia/vocal-mask 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.

GradientDescentLearningRule Ran
ran on a synthesized input · constructed an object; no result was computed
ceballots/Adam-with-cosine-scheduler-implementation/mlp/learning_rules.py
pointer only (licence: NONE) · get_code("9749c3fc16a64488")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ceballots/Adam-with-cosine-scheduler-implementation 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.

OpenAIAdam Ran
ran on a synthesized input · constructed an object; no result was computed
huggingface/pytorch-openai-transformer-lm/opt.py
code served (permissive licence) · get_code("128b0ca0cc3fcfa7")
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 an instance of its own class, OpenAIAdam: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
from torch.optim import Optimizer
import math

torch.manual_seed(0)

# Create a minimal model with parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super(SimpleModel, self).__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

# Create parameters list for the optimizer
params = list(model.parameters())

# Define ARGS dictionary with all required parameters
ARGS = {
    'params': params,
    'lr': 0.001,
    'schedule': 'warmup_cosine',
    'warmup': 0.002,
    't_total': 100,
    'b1': 0.9,
    'b2': 0.999,
    'e': 1e-08,
    'l2': 0.01,
    'vector_l2': False,
    'max_grad_norm': 1.0,
}
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 OpenAIAdam — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a OpenAIAdam 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
densenet_BC_cifar Ran
ran; our contract draft was wrong, not the code
txping/AEGD/models/densenet.py
code served (permissive licence) · get_code("82c4a089e2b7e391")
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 DenseNet_Cifar. 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 torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    "depth": 22,
    "k": 12,
}
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 DenseNet_Cifar — a DenseNet_Cifar output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DenseNet_Cifar 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
g Ran
ran; our contract draft was wrong, not the code
txping/AEGD/kmeans.py
code served (permissive licence) · get_code("f20b24ac49219c59")
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 float64, ndim 0, dtype family float; 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 numpy as np
import torch

torch.manual_seed(0)

# Define f: a function that takes x and data and returns a scalar
def f(x, data):
    # Simple function that uses both x and data
    return float(np.sum(x) + np.sum(data))

# Define x: a small numpy array
x = np.array([1.0, 2.0, 3.0, 4.0])

# Define data: a small numpy array
data = np.array([0.5, 0.5, 0.5, 0.5])

# Define c: a small constant
c = 1.0

ARGS = {
    "x": x,
    "f": f,
    "data": data,
    "c": c
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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_ckpt_name Ran
ran; our contract draft was wrong, not the code
txping/AEGD/cifar.py
code served (permissive licence) · get_code("aceb14a284cee511")
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 torch.nn as nn

# The function get_ckpt_name takes string parameters and numeric parameters
# It constructs a checkpoint name based on dataset, model, optimizer, and hyperparameters
# No actual models or tensors are used - only string formatting

ARGS = {
    'dataset': 'cifar10',
    'model': 'resnet56',
    'optimizer': 'SGDM',
    'lr': 0.1,
    'c': 1,
    'momentum': 0.9,
    'beta1': 0.9,
    'beta2': 0.999
}
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 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
knn_grad Ran
ran, honoured the contract we drafted
txping/AEGD/kmeans.py
code served (permissive licence) · get_code("66566899efdb28f6")
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 ndarray, ndim 2, dtype family float, shape (3, 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 numpy as np

# centers: array of shape (n_centers, n_dims) - represents cluster centers
# data: iterable of points, each of shape (n_dims,)

# Create small stand-in data
n_centers = 3
n_dims = 4
n_points = 2

centers = np.random.randn(n_centers, n_dims).astype(np.float32)
data = [np.random.randn(n_dims).astype(np.float32) for _ in range(n_points)]

ARGS = {
    "centers": centers,
    "data": data,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 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
knn_loss Ran
ran, violated the contract we drafted
txping/AEGD/kmeans.py
code served (permissive licence) · get_code("88df672e7dff6e46")
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 float64, ndim 0, dtype family float; 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 numpy as np

torch_seed = 0

# Construct centers: list of numpy arrays
centers = [
    np.array([1.0, 2.0, 3.0, 4.0]),
    np.array([5.0, 6.0, 7.0, 8.0])
]

# Construct data: list of numpy arrays
data = [
    np.array([1.5, 2.5, 3.5, 4.5]),
    np.array([5.5, 6.5, 7.5, 8.5])
]

ARGS = {
    "centers": centers,
    "data": data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
quad Ran
ran, violated the contract we drafted
txping/AEGD/testfuncs.py
code served (permissive licence) · get_code("b2b4236bed8e9191")
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 float, 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 numpy as np

torch.manual_seed(0)

# The function `quad` takes a parameter `x` and:
# - Gets its length with len(x)
# - Indexes into it with x[i]
# - Performs arithmetic operations on elements
# So x should be a list or array-like of numbers

x = [1.0, 2.0, 3.0, 4.0]

ARGS = {
    "x": x
}
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 float, 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
rosen Ran
ran, violated the contract we drafted
txping/AEGD/testfuncs.py
code served (permissive licence) · get_code("48924d708c94ad1e")
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 float64, ndim 0, dtype family float; 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

torch.manual_seed(0)

# The function rosen takes a single parameter x which is indexed like x[0] and x[1]
# It performs operations on these elements, so x needs to be array-like with at least 2 elements
# A simple numpy array or list works fine

x = np.array([0.5, 0.25])

ARGS = {
    "x": x
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
squeezenet Ran
ran; our contract draft was wrong, not the code
txping/AEGD/models/squeezenet.py
code served (permissive licence) · get_code("08bbda72259c9385")
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 SqueezeNet. 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 torch.nn as nn

torch.manual_seed(0)

# The function squeezenet takes a single parameter: class_num
# which defaults to 100 and is used to initialize SqueezeNet
# The function simply returns a SqueezeNet instance with that class_num

ARGS = {
    "class_num": 10
}
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 SqueezeNet — a SqueezeNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SqueezeNet 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
warmup_constant Ran
ran, honoured the contract we drafted
huggingface/pytorch-openai-transformer-lm/opt.py
code served (permissive licence) · get_code("3e3a777867228513")
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 float, 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 numpy as np

torch.manual_seed(0)

# Analyze the function:
# - x: a numeric value (float) that represents a step/position in training
# - warmup: a float representing the warmup threshold (default 0.002)
# The function computes a learning rate multiplier during warmup phase

# Create valid arguments
x = 0.001  # A value during warmup phase (less than default warmup=0.002)
warmup = 0.002  # Standard warmup value

ARGS = {
    "x": x,
    "warmup": warmup
}
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 float, 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
warmup_cosine Ran
ran, honoured the contract we drafted
huggingface/pytorch-openai-transformer-lm/opt.py
code served (permissive licence) · get_code("88472ac3b24f5c40")
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 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 math
import torch

torch.manual_seed(0)

# The function takes two parameters:
# - x: a numeric value (scalar or tensor) used in comparisons and math operations
# - warmup: a float threshold value (default 0.002)

# Looking at the function body:
# - x is compared with warmup (x <= warmup)
# - x is divided by warmup (x / warmup)
# - x is used in torch.cos with math.pi (torch.cos(math.pi * x))
# This suggests x should be a scalar tensor or float in range [0, 1]

# Create a small scalar tensor for x (representing a point in training schedule)
x = torch.tensor(0.5)

# warmup is a float threshold
warmup = 0.002

ARGS = {
    "x": x,
    "warmup": warmup,
}
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 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
warmup_linear Ran
ran, honoured the contract we drafted
huggingface/pytorch-openai-transformer-lm/opt.py
code served (permissive licence) · get_code("db7025fa144619f4")
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 float, 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 numpy as np

torch.manual_seed(0)

# The function warmup_linear takes two parameters:
# - x: a numeric value representing the current step ratio (0 to 1)
# - warmup: a numeric value representing the warmup ratio (default 0.002)
# The function performs comparisons and arithmetic operations on these values

ARGS = {
    "x": 0.5,
    "warmup": 0.002,
}
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 float, 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
Adam Not yet run
unverified (harvested, no recorded run)
JakobHavtorn/nn/optim/adam.py
code served (permissive licence) · get_code("ba570ad7fc7fc941")
How it ran

no invocation recorded.

Optimizer Not yet run
unverified (harvested, no recorded run)
JakobHavtorn/nn/optim/adam.py
code served (permissive licence) · get_code("921eeee14c254068")
How it ran

no invocation recorded.

build_dataset Not yet run
unverified (harvested, no recorded run)
txping/AEGD/cifar.py
code served (permissive licence) · get_code("4a2deb333c7b2ffc")
How it ran

no invocation recorded.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
txping/AEGD/cifar.py
code served (permissive licence) · get_code("c43443043827f5d7")
How it ran

no invocation recorded.

sample_bernoulli Not yet run
unverified (harvested, no recorded run)
ethancaballero/Restricted_Boltzmann_Machine__RBM/dist_util.py
code served (permissive licence) · get_code("9187f52a3b57c15e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 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 23 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-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

L 2 regularization and weight decay regularization are equivalent for standard stochastic gradient descent (when rescaled by the learning rate), but as we demonstrate this is not the case for adaptive gradient algorithms, such as Adam. While common implementations of these algorithms employ L 2 regularization (often calling it "weight decay" in what may be misleading due to the inequivalence we expose), we propose a simple modification to recover the original formulation of weight decay regularization by decoupling the weight decay from the optimization steps taken w.r.t. the loss function. We provide empirical evidence that our proposed modification (i) decouples the optimal choice of weight decay factor from the setting of the learning rate for both standard SGD and Adam and (ii) substantially improves Adam's generalization performance, allowing it to compete with SGD with momentum on image classification datasets (on which it was previously typically outperformed by the latter). Our proposed decoupled weight decay has already been adopted by many researchers, and the community has implemented it in TensorFlow and PyTorch; the complete source code for our experiments is

For agents

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

get_harvested_code_for_paper("1711.05101")
get_code_for_paper("1711.05101")
have("1711.05101")

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

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

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

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

Connect an agent — have() is free.