SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2021.acl-long.164 · ACL · 2021

BERTAC: Enhancing Transformer-based Language Models with Adversarially Pretrained Convolutional Neural Networks

Jong-Hoon Oh, Ryu Iida, Julien Kloetzer, Kentaro Torisawa

Open in the Atlas

Code that ran

11 of 16 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 7 have no contract verdict; 3 failures of our instrument; 5 no recorded run), measured 2026-11-24; 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/2021.acl-long.164.json · badge: /api/ran/2021.acl-long.164.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
thunlp/OpenQA canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
get_model_args Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/config.py
code served (permissive licence) · get_code("e750e48bd95460f8")
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 Namespace. 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 argparse
import torch

torch.manual_seed(0)

ARGS = {
    'args': argparse.Namespace(
        # MODEL_ARCHITECTURE parameters
        model_type='rnn',
        embedding_dim=64,
        hidden_size=128,
        doc_layers=2,
        question_layers=2,
        rnn_type='lstm',
        concat_rnn_layers=True,
        question_merge='self_attn',
        use_qemb=True,
        use_in_question=True,
        use_pos=True,
        use_ner=True,
        use_lemma=True,
        use_tf=True,
        # MODEL_OPTIMIZER parameters
        fix_embeddings=False,
        optimizer='adamax',
        learning_rate=0.001,
        momentum=0.9,
        weight_decay=0.0,
        rnn_padding=False,
        dropout_rnn=0.3,
        dropout_rnn_output=0.3,
        dropout_emb=0.3,
        max_len=400,
        grad_clipping=10.0,
        tune_partial=0,
        # Additional fields that might be in args but not in MODEL_ARCHITECTURE | MODEL_OPTIMIZER
        batch_size=32,
        epochs=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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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_answer Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/data.py
code served (permissive licence) · get_code("5f91544fd355416e")
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

# Analyze the function: has_answer(answer, text)
# - answer: iterable of strings to search for
# - text: string to search in
# - The function does substring matching

# Create test data
answer = ["hello", "world"]
text = "hello there"

ARGS = {
    "answer": answer,
    "text": text
}
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
hash Ran
ran on a synthesized input
thunlp/OpenQA/src/retriever/utils.py
code served (permissive licence) · get_code("fe524a16685ba8c3")
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.

from sklearn.utils import murmurhash3_32

def hash(token, num_buckets):
    """Unsigned 32 bit murmurhash for feature hashing."""
    return murmurhash3_32(token, positive=True) % num_buckets

ARGS = {
    "token": "example_token",
    "num_buckets": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — 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
load_text Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/utils.py
code served (permissive licence) · get_code("f1de8c9fa8026481")
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 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 json
import tempfile
import os

# Create a temporary SQuAD-format JSON file
squad_data = {
    "data": [
        {
            "paragraphs": [
                {
                    "context": "This is the first paragraph context.",
                    "qas": [
                        {"id": "q1", "question": "What is this?", "answers": []},
                        {"id": "q2", "question": "Where?", "answers": []}
                    ]
                },
                {
                    "context": "This is the second paragraph context.",
                    "qas": [
                        {"id": "q3", "question": "Who?", "answers": []}
                    ]
                }
            ]
        },
        {
            "paragraphs": [
                {
                    "context": "This is the third paragraph context.",
                    "qas": [
                        {"id": "q4", "question": "Why?", "answers": []}
                    ]
                }
            ]
        }
    ]
}

# Write to temporary file
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.json')
json.dump(squad_data, temp_file)
temp_file.close()

ARGS = {
    "filename": temp_file.name
}
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 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
normalize Ran
ran; our contract draft was wrong, not the code
thunlp/OpenQA/src/retriever/utils.py
code served (permissive licence) · get_code("b1c91c9e3a3b88e4")
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

# The normalize function takes a single parameter 'text' which should be a string
# The function uses unicodedata.normalize('NFD', text) to resolve unicode encodings

ARGS = {
    'text': 'café'  # A simple string with unicode characters that can be normalized
}
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
override_model_args Ran
ran; our contract draft was wrong, not the code
thunlp/OpenQA/src/reader/config.py
code served (permissive licence) · get_code("c3746236cf8ac034")
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 Namespace. 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 argparse
import logging

logging.basicConfig(level=logging.INFO)

# Create two argparse.Namespace objects to pass to override_model_args
old_args = argparse.Namespace(
    fix_embeddings=True,
    optimizer='adam',
    learning_rate=0.001,
    momentum=0.9,
    weight_decay=1e-5,
    rnn_padding=True,
    dropout_rnn=0.3,
    dropout_rnn_output=0.2,
    dropout_emb=0.1,
    max_len=100,
    grad_clipping=5.0,
    tune_partial=10,
    model_name='rnn_qa',
    hidden_size=128,
    num_layers=2
)

new_args = argparse.Namespace(
    fix_embeddings=False,
    optimizer='sgd',
    learning_rate=0.01,
    momentum=0.95,
    weight_decay=1e-4,
    rnn_padding=False,
    dropout_rnn=0.4,
    dropout_rnn_output=0.25,
    dropout_emb=0.15,
    max_len=200,
    grad_clipping=10.0,
    tune_partial=20,
    model_name='different_model',
    hidden_size=256,
    num_layers=3
)

ARGS = {
    'old_args': old_args,
    'new_args': new_args
}
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
str2bool Ran
ran, violated the contract we drafted
thunlp/OpenQA/src/reader/config.py
code served (permissive licence) · get_code("8c0dec327bfce0f2")
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

ARGS = {
    'v': 'true'
}
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
uniform_weights Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/layers.py
code served (permissive licence) · get_code("724fc0467cff298f")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.autograd import Variable

torch.manual_seed(0)

# x: batch * len * hdim
# batch=2, len=3, hdim=4
x = torch.randn(2, 3, 4)

# x_mask: batch * len (1 for padding, 0 for true)
# batch=2, len=3
x_mask = torch.tensor([[0, 0, 1], [0, 1, 1]])

ARGS = {
    "x": x,
    "x_mask": x_mask,
}
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
vectorize Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/vector.py
code served (permissive licence) · get_code("e97ebe192b89aa12")
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 tuple. 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 collections import Counter

torch.manual_seed(0)

class MockArgs:
    def __init__(self):
        self.use_in_question = True
        self.use_lemma = True
        self.use_pos = True
        self.use_ner = True
        self.use_tf = True

class MockModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.args = MockArgs()
        self.word_dict = {
            'the': 0,
            'cat': 1,
            'sat': 2,
            'on': 3,
            'mat': 4,
            'where': 5,
            'is': 6,
            'The': 0,
            'Cat': 1,
        }
        self.feature_dict = {
            'in_question': 0,
            'in_question_uncased': 1,
            'in_question_lemma': 2,
            'pos=NN': 3,
            'pos=VB': 4,
            'ner=PERSON': 5,
            'ner=LOC': 6,
            'tf': 7,
        }

mock_model = MockModel()

example_with_answers = {
    'document': ['the', 'cat', 'sat', 'on', 'mat'],
    'question': ['where', 'is', 'the', 'cat'],
    'qlemma': ['where', 'be', 'the', 'cat'],
    'lemma': ['the', 'cat', 'sit', 'on', 'mat'],
    'pos': ['DT', 'NN', 'VB', 'IN', 'NN'],
    'ner': ['O', 'PERSON', 'O', 'LOC', 'O'],
    'answers': [[1, 2], [3, 4]],
    'id': 'example_1',
}

example_without_answers = {
    'document': ['the', 'cat', 'sat', 'on', 'mat'],
    'question': ['where', 'is', 'the', 'cat'],
    'qlemma': ['where', 'be', 'the', 'cat'],
    'lemma': ['the', 'cat', 'sit', 'on', 'mat'],
    'pos': ['DT', 'NN', 'VB', 'IN', 'NN'],
    'ner': ['O', 'PERSON', 'O', 'LOC', 'O'],
    'id': 'example_2',
}

ARGS = {
    'ex': example_with_answers,
    'model': mock_model,
    'single_answer': 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 tuple — a tuple output has no array shape of its own; none is 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
vectorize1 Ran
ran on a synthesized input
thunlp/OpenQA/src/reader/vector.py
code served (permissive licence) · get_code("b2571600afa9b149")
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 tuple. 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 collections import Counter

torch.manual_seed(0)

class MockModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.args = MockArgs()
        self.word_dict = {
            'the': 0, 'cat': 1, 'sat': 2, 'on': 3, 'mat': 4,
            'where': 5, 'did': 6, 'sit': 7
        }
        self.feature_dict = {
            'in_question': 0,
            'in_question_uncased': 1,
            'in_question_lemma': 2,
            'pos=NN': 3,
            'pos=VB': 4,
            'ner=PERSON': 5,
            'tf': 6
        }

class MockArgs:
    def __init__(self):
        self.use_in_question = True
        self.use_lemma = True
        self.use_pos = True
        self.use_ner = True
        self.use_tf = True

example = {
    'id': 'ex1',
    'document': ['the', 'cat', 'sat', 'on', 'the', 'mat'],
    'question': ['where', 'did', 'the', 'cat', 'sit'],
    'qlemma': ['where', 'do', 'the', 'cat', 'sit'],
    'lemma': ['the', 'cat', 'sit', 'on', 'the', 'mat'],
    'pos': ['DT', 'NN', 'VB', 'IN', 'DT', 'NN'],
    'ner': ['O', 'PERSON', 'O', 'O', 'O', 'O']
}

model = MockModel()

ARGS = {
    'ex': example,
    'model': model,
    'single_answer': 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 tuple — a tuple output has no array shape of its own; none is 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
weighted_avg Ran
ran; our contract draft was wrong, not the code
thunlp/OpenQA/src/reader/layers.py
code served (permissive licence) · get_code("880a4e01d58b0591")
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: batch * len * hdim
batch_size = 2
seq_len = 3
hdim = 4

x = torch.randn(batch_size, seq_len, hdim)

# weights: batch * len, sum(dim=1) = 1
weights = torch.softmax(torch.randn(batch_size, seq_len), dim=1)

ARGS = {
    "x": x,
    "weights": weights,
}
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
load_data Not yet run
unverified (harvested, no recorded run)
thunlp/OpenQA/src/reader/utils.py
code served (permissive licence) · get_code("0b57d4fdfdc4dbb9")
How it ran

no invocation recorded.

load_data_with_doc Not yet run
unverified (harvested, no recorded run)
thunlp/OpenQA/src/reader/utils.py
code served (permissive licence) · get_code("4c071e41d6492ec9")
How it ran

no invocation recorded.

load_sparse_csr Not yet run
unverified (harvested, no recorded run)
thunlp/OpenQA/src/retriever/utils.py
code served (permissive licence) · get_code("0646052a59a8246e")
How it ran

no invocation recorded.

tokenize Not yet run
unverified (harvested, no recorded run)
thunlp/OpenQA/src/reader/predictor.py
pointer only (licence: MIT); the stored copy get_code serves, from yairf11/MUPPET, is pointer only (licence: NOASSERTION) · get_code("77535ec3fc559506")
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 yairf11/MUPPET, 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. No invocation recorded.

vectorize_with_doc Not yet run
unverified (harvested, no recorded run)
thunlp/OpenQA/src/reader/vector.py
code served (permissive licence) · get_code("0f9d1854248bfa8c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 4 later) and 9 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
normalize 6 other papers
1 dated earlier, 3 later, 2 same year, order not determinable
1909.08041 (2019-09)
Revealing the Importance of Semantic Retrieval for Machine Reading at Scale
2106.05707 (2021-06)
FEVEROUS: Fact Extraction and VERification Over Unstructured and Structured information
2109.08535 (2021-09)
Simple Entity-Centric Questions Challenge Dense Retrievers
and 3 more not named here
str2bool 5 other papers
3 dated earlier, 2 same year, order not determinable
1905.05733 (2019-05)
Multi-step Retriever-Reader Interaction for Scalable Open-domain Question Answering
2006.03511 (2020-06)
Unsupervised Translation of Programming Languages
2010.03009 (2020-10)
GATE: Graph Attention Transformer Encoder for Cross-lingual Relation and Event Extraction
and 2 more not named here
tokenize 4 other papers
2 dated earlier, 1 later, 1 same year, order not determinable
1906.06606 (2019-06)
Multi-Hop Paragraph Retrieval for Open-Domain Question Answering
1911.02896 (2019-11)
Contextualized Sparse Representations for Real-Time Open-Domain Question Answering
2102.08633 (2021-02)
Open-Retrieval Conversational Machine Reading
and 1 more not named here
hash 3 other papers
2 later, 1 same year, order not determinable
2106.05707 (2021-06)
FEVEROUS: Fact Extraction and VERification Over Unstructured and Structured information
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning
2505.22993 (2025-05)
Verify-in-the-Graph: Entity Disambiguation Enhancement for Complex Claim Verification with Interactive Graph Representation
weighted_avg 3 other papers
2 dated earlier, 1 later
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1905.05733 (2019-05)
Multi-step Retriever-Reader Interaction for Scalable Open-domain Question Answering
2205.09665 (2022-05)
Automated Crossword Solving
override_model_args 2 other papers
1 dated earlier, 1 same year, order not determinable
2006.03511 (2020-06)
Unsupervised Translation of Programming Languages
2105.14220 (2021-05)
CoDesc: A Large Code-Description Parallel Dataset
get_model_args 1 other paper
1 dated earlier
1905.05733 (2019-05)
Multi-step Retriever-Reader Interaction for Scalable Open-domain Question Answering

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

Repositories linked to this paper

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

Abstract

Transformer-based language models (TLMs), such as BERT, ALBERT and GPT-3, have shown strong performance in a wide range of NLP tasks and currently dominate the field of NLP. However, many researchers wonder whether these models can maintain their dominance forever. Of course, we do not have answers now, but, as an attempt to find better neural architectures and training schemes, we pretrain a simple CNN using a GAN-style learning scheme and Wikipedia data, and then integrate it with standard TLMs. We show that on the GLUE tasks, the combination of our pretrained CNN with ALBERT outperforms the original ALBERT and achieves a similar performance to that of SOTA. Furthermore, on open-domain QA (Quasar-T and SearchQA), the combination of the CNN with ALBERT or RoBERTa achieved stronger performance than SOTA and the original TLMs. We hope that this work provides a hint for developing a novel strong network architecture along with its training scheme. Our source code and models are available at https://github.com/nict-wisdom/bertac. !"#$%"&"'()*% ! !" +')"),-&(#.+/0#+')+'$+0 #10+')"), 2%+(340*%025(.+4 6+(3-+')"),-%+7%+#+')()"*'0 8+'+%()*%0" 9(.+-+')"),-%+7%+#+')()"*'0 8+'+%()*%0# "!$"#$%+(30%+7%+#+')()"*'0 *50):+0+')"),0! #!%"#$5(.+0%+7%+#+')()"*'0 *50):+0+')"),0! !$%&'()'*+%!,-.,(/0(1" ![EM] ,2-3+',4')562-!',)-,)1#()'1,0)'4-',(-+%*7"

For agents

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

get_harvested_code_for_paper("2021.acl-long.164")
get_code_for_paper("2021.acl-long.164")
have("2021.acl-long.164")

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

curl https://syntology.ai/api/ran/2021.acl-long.164.json

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

[![Syntology run record](https://syntology.ai/api/ran/2021.acl-long.164.svg)](https://syntology.ai/paper/2021.acl-long.164)

Connect an agent — have() is free.