SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1908.08345 · 2019

Text Summarization with Pretrained Encoders

arXiv · PDF · Open in the Atlas

Code that ran

13 of 21 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 6 have no contract verdict; 6 failures of our instrument; 8 no recorded run), measured 2026-11-21; 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/1908.08345.json · badge: /api/ran/1908.08345.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
aikawasho/BertSum community (classifier label)
classifier basis: plan_row
7 ran · 1 no recorded run
nachotp/BertCommentSum community (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
buschmo/Simple-German-Corpus community (classifier label)
classifier basis not recorded on the link
1 ran · 6 no recorded run
raqoon886/KoBertSum community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
abs_batch_size_fn Ran
ran on a synthesized input
nachotp/BertCommentSum/src/models/data_loader.py
code served (permissive licence) · get_code("cb2c65cc6a650510")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function expects:
# - new: a list/tuple where new[0] is src and new[1] is tgt
# - count: an integer representing the batch count
# 
# The function uses:
# - len(tgt) to get the number of sentences in the target
# - Performs arithmetic operations on counts and sizes

# Create simple tensor data for src and tgt
# tgt needs to support len(), so it should be a list or tensor
src = torch.randn(2, 4)  # Small source tensor
tgt = [torch.randn(3, 4) for _ in range(5)]  # List of 5 target sequences (simulating sentences)

# new should be a tuple/list containing src and tgt
new = (src, tgt)

# count should be an integer representing batch position
count = 1

ARGS = {
    "new": new,
    "count": count
}
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 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
all_gather_list Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
aikawasho/BertSum/src/distributed.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from gb-kgp/MEDVOC, is pointer only (licence: NONE) · get_code("66575e439195e14f")
How it ran

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

ext_batch_size_fn Ran
ran on a synthesized input
nachotp/BertCommentSum/src/models/data_loader.py
code served (permissive licence) · get_code("4edda4f9c7e44864")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function expects `new` to be a list/tuple with at least 5 elements
# It accesses new[0] and new[4]
# new[0] is used as `src` and len(src) is called on it, so it should be a sequence
# new[4] is used as `labels` but not actually used in the function body

# Create a sample batch item where:
# - new[0] (src) is a sequence (list of sentences or tokens)
# - new[4] (labels) can be any value since it's not used

src = [1, 2, 3, 4, 5]  # A sequence of 5 elements (representing sentences or tokens)
labels = torch.tensor([0, 1])  # Labels tensor (not used in function but accessed)

# new should be a list/tuple with at least 5 elements
new = [src, None, None, None, labels]

# count is the second parameter - an integer representing batch count
count = 1

ARGS = {
    "new": new,
    "count": count
}
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 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
filter_block Ran
ran on a synthesized input
buschmo/Simple-German-Corpus/crawler/lebenshilfe-main-taunus.py
code served (permissive licence) · get_code("df8c172aa741302c")
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.

from unittest.mock import Mock

# Create a mock tag object that satisfies the filter_block function requirements
tag = Mock()
tag.name = 'div'
tag.has_attr = Mock(return_value=True)
tag.__getitem__ = Mock(return_value=['artikel_details', 'some_other_class'])

ARGS = {
    'tag': tag
}
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 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
gelu Ran
ran; our contract draft was wrong, not the code
aikawasho/BertSum/src/models/neural.py
code served (permissive licence) · get_code("8d23fbe2b99b840b")
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 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
import math

torch.manual_seed(0)

# Create a small tensor for testing
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
has_repeat Ran
ran; our contract draft was wrong, not the code
nachotp/BertCommentSum/src/post_stats.py
pointer only (licence: MIT); the stored copy get_code serves, from gb-kgp/MEDVOC, is pointer only (licence: NONE) · get_code("7b7669755eae20fe")
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 gb-kgp/MEDVOC, 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.

init_logger Ran
ran on a synthesized input
aikawasho/BertSum/src/others/logging.py
code served (permissive licence) · get_code("e317b188410c9032")
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 RootLogger. 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 logging
import tempfile
import os

def init_logger(log_file=None, log_file_level=logging.NOTSET):
    log_format = logging.Formatter('[%(asctime)s %(levelname)s] %(message)s')
    logger = logging.getLogger()
    logger.setLevel(logging.INFO)
    console_handler = logging.StreamHandler()
    console_handler.setFormatter(log_format)
    logger.handlers = [console_handler]
    if log_file and log_file != '':
        file_handler = logging.FileHandler(log_file)
        file_handler.setLevel(log_file_level)
        file_handler.setFormatter(log_format)
        logger.addHandler(file_handler)
    return logger

# Create a temporary file for logging
temp_log_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.log').name

ARGS = {
    'log_file': temp_log_file,
    'log_file_level': logging.DEBUG
}
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 RootLogger — a RootLogger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RootLogger 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
is_master Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
aikawasho/BertSum/src/distributed.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from gb-kgp/MEDVOC, is pointer only (licence: NONE) · get_code("b80220994c939e73")
How it ran

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

n_grams Ran
ran; our contract draft was wrong, not the code
nachotp/BertCommentSum/src/post_stats.py
pointer only (licence: MIT); the stored copy get_code serves, from gb-kgp/MEDVOC, is pointer only (licence: NONE) · get_code("c3fcc4e906d8ecbd")
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 gb-kgp/MEDVOC, 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.

rouge_results_to_str Ran
ran; our contract draft was wrong, not the code
nachotp/BertCommentSum/src/cal_rouge.py
pointer only (licence: MIT); the stored copy get_code serves, from gb-kgp/MEDVOC, is pointer only (licence: NONE) · get_code("14b39c4dc7a42e40")
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 gb-kgp/MEDVOC, 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.

simple_batch_size_fn Ran
ran on a synthesized input
aikawasho/BertSum/src/models/data_loader.py
code served (permissive licence) · get_code("ab84694a81d67283")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - Takes 'new' and 'count' as parameters
# - 'new' is indexed with [0] and [1], so it's a tuple/list with at least 2 elements
# - new[0] is assigned to 'src', which is used with len() so it should be a sequence
# - new[1] is assigned to 'labels' (not used in the function body)
# - 'count' is an integer used in comparison and multiplication

# Create a small batch item
# src should be a sequence (list of sentences or tokens)
src = ["token1", "token2", "token3"]  # A list representing source tokens
labels = torch.tensor([1, 0])  # Labels can be a tensor

# The 'new' parameter should be a tuple/list containing (src, labels)
new = (src, labels)

# 'count' should be an integer representing the position in the batch
count = 1

ARGS = {
    "new": new,
    "count": count
}
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 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
str2bool Ran
ran, violated the contract we drafted
aikawasho/BertSum/src/preprocess.py
code served (permissive licence) · get_code("f017532fc389cbfe")
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 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 argparse

def str2bool(v):
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Setup code to construct valid arguments
ARGS = {
    'v': 'true'
}
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 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
use_gpu Ran
ran on a synthesized input
aikawasho/BertSum/src/models/optimizers.py
code served (permissive licence) · get_code("9f20e41fbfe40651")
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
import numpy as np

# Create a simple options object with gpu_ranks attribute
class Options:
    def __init__(self, gpu_ranks=None, gpu=None):
        if gpu_ranks is not None:
            self.gpu_ranks = gpu_ranks
        if gpu is not None:
            self.gpu = gpu

# Test case 1: opt with gpu_ranks list (non-empty)
opt1 = Options(gpu_ranks=[0, 1])

# Test case 2: opt with gpu attribute > -1
opt2 = Options(gpu=0)

# Test case 3: opt with both attributes
opt3 = Options(gpu_ranks=[0], gpu=0)

# Use the first option as the main argument
ARGS = {
    'opt': opt1
}
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 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
build_optim Not yet run
unverified (harvested, no recorded run)
aikawasho/BertSum/src/models/optimizers.py
code served (permissive licence) · get_code("89e1b4954fded05b")
How it ran

no invocation recorded.

do_lang Not yet run
unverified (harvested, no recorded run)
raqoon886/KoBertSum/etri_api_scraper.py
code served (permissive licence) · get_code("fb387cc02110edc9")
How it ran

no invocation recorded.

filter_block Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/behindertenbeauftragter.py
code served (permissive licence) · get_code("6bc82fffb9e77ab0")
How it ran

no invocation recorded.

filter_block Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/mdr.py
code served (permissive licence) · get_code("e74356a89322313d")
How it ran

no invocation recorded.

filter_tags Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/apotheken-umschau.py
code served (permissive licence) · get_code("a6651b36de04cfe7")
How it ran

no invocation recorded.

filter_tags Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/behindertenbeauftragter.py
code served (permissive licence) · get_code("b963a35f0560927f")
How it ran

no invocation recorded.

filter_tags Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/lebenshilfe-main-taunus.py
code served (permissive licence) · get_code("2a94402defe535b8")
How it ran

no invocation recorded.

filter_tags Not yet run
unverified (harvested, no recorded run)
buschmo/Simple-German-Corpus/crawler/mdr.py
code served (permissive licence) · get_code("b2aea9aceaec6cbf")
How it ran

no invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 13 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 13 later) and 8 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
str2bool 82 other papers
19 dated earlier, 3 the same month, 60 later
1510.03055 (2015-10)
A Diversity-Promoting Objective Function for Neural Conversation Models
1703.06490 (2017-03)
Generating Multi-label Discrete Patient Records using Generative Adversarial Networks
1710.10467 (2017-10)
Generalized End-to-End Loss for Speaker Verification
and 79 more not named here
gelu 51 other papers
7 dated earlier, 1 the same month, 43 later · 8 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
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
and 48 more not named here
all_gather_list 5 other papers
5 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
2109.04084 (2021-09)
Thinking Clearly, Talking Fast: Concept-Guided Non-Autoregressive Generation for Open-Domain Dialogue Systems
and 2 more not named here
is_master 5 other papers
5 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
2109.04084 (2021-09)
Thinking Clearly, Talking Fast: Concept-Guided Non-Autoregressive Generation for Open-Domain Dialogue Systems
and 2 more not named here
rouge_results_to_str 5 other papers
1 dated earlier, 4 later
1905.13164 (2019-05)
Hierarchical Transformers for Multi-Document Summarization
1910.14142 (2019-10)
Discourse-Aware Neural Extractive Text Summarization
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
and 2 more not named here
has_repeat 3 other papers
3 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
2405.04163 (2024-05)
MEDVOC: Vocabulary Adaptation for Fine-tuning Pre-trained Language Models on Medical Text Summarization
n_grams 3 other papers
3 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
2405.04163 (2024-05)
MEDVOC: Vocabulary Adaptation for Fine-tuning Pre-trained Language Models on Medical Text Summarization
use_gpu 3 other papers
1 dated earlier, 2 later
1905.13164 (2019-05)
Hierarchical Transformers for Multi-Document Summarization
2004.09424 (2020-04)
Learning a Fine-Grained Review-based Transformer Model for Personalized Product Search
2211.09892 (2022-11)
Summarizing Community-based Question-Answer Pairs
abs_batch_size_fn 2 other papers
2 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
build_optim 2 other papers
2 later
2004.09424 (2020-04)
Learning a Fine-Grained Review-based Transformer Model for Personalized Product Search
2211.09892 (2022-11)
Summarizing Community-based Question-Answer Pairs
ext_batch_size_fn 2 other papers
2 later
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
init_logger 2 other papers
2 later
2004.09424 (2020-04)
Learning a Fine-Grained Review-based Transformer Model for Personalized Product Search
2211.09892 (2022-11)
Summarizing Community-based Question-Answer Pairs
simple_batch_size_fn 1 other paper
1 later
2211.09892 (2022-11)
Summarizing Community-based Question-Answer Pairs

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

Repositories linked to this paper

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

Abstract

Bidirectional Encoder Representations from Transformers (BERT) represents the latest incarnation of pretrained language models which have recently advanced a wide range of natural language processing tasks. In this paper, we showcase how BERT can be usefully applied in text summarization and propose a general framework for both extractive and abstractive models. We introduce a novel document-level encoder based on BERT which is able to express the semantics of a document and obtain representations for its sentences. Our extractive model is built on top of this encoder by stacking several inter-sentence Transformer layers. For abstractive summarization, we propose a new fine-tuning schedule which adopts different optimizers for the encoder and the decoder as a means of alleviating the mismatch between the two (the former is pretrained while the latter is not). We also demonstrate that a two-staged fine-tuning approach can further boost the quality of the generated summaries. Experiments on three datasets show that our model achieves state-of-the-art results across the board in both extractive and abstractive settings. Our code is available at https://github.com/nlpyang/PreSumm

For agents

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

get_harvested_code_for_paper("1908.08345")
get_code_for_paper("1908.08345")
have("1908.08345")

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

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

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

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

Connect an agent — have() is free.