Wenhu Chen, William Wang, Xifeng Yan, Yu Su
4 of 6 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; 1 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures of our instrument; 2 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/2020.emnlp-main.697.json · badge: /api/ran/2020.emnlp-main.697.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.
| Repository | Role | Ran |
|---|---|---|
| wenhuchen/KGPT | canonical (classifier label) classifier basis: census |
4 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| get_attn_key_pad_mask | Ran ran on a synthesized input |
wenhuchen/KGPT/code/Model.py code served (permissive licence) · get_code("01d7142796d717bd") How it ranRan 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 3, dtype family float, shape (2, 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.
|
| get_non_pad_mask | Ran ran on a synthesized input |
wenhuchen/KGPT/code/Model.py code served (permissive licence) · get_code("20adbfe9d1d7262f") How it ranRan 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 3, dtype family float, shape (2, 4, 1) 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.
|
| get_sinusoid_encoding_table | Ran ran, honoured the contract we drafted |
wenhuchen/KGPT/code/Model.py pointer only (licence: MIT); the stored copy get_code serves, from Matthewdowney18/Transformer_Dialogue, is pointer only (licence: NONE) · get_code("0f8f22937463d3c5") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Matthewdowney18/Transformer_Dialogue, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| process_claims | Ran ran on a synthesized input |
wenhuchen/KGPT/preprocess/create_summarized.py code served (permissive licence) · get_code("26c5349561ff481c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, 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.
|
| split_sent | Not yet run unverified (harvested, no recorded run) |
wenhuchen/KGPT/preprocess/step1.py code served (permissive licence) · get_code("9a73af2835a1fcfa") How it ranno invocation recorded. |
| tokenize | Not yet run unverified (harvested, no recorded run) |
wenhuchen/KGPT/preprocess/step1.py code served (permissive licence) · get_code("ea94455615acb971") How it ranno invocation recorded. |
Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 3 later) and 3 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_sinusoid_encoding_table | 12 other papers 3 dated earlier, 6 later, 3 same year, order not determinable · 2 only as an assembly brick |
1706.03762 (2017-06) Attention Is All You Need |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 1910.02481 (2019-10) Learn to Explain Efficiently via Neural Logic Inductive Learning and 9 more not named here |
| get_attn_key_pad_mask | 1 other paper 1 later |
2023.findings-emnlp.672 (2023 (year only)) FactSpotter: Evaluating the Factual Faithfulness of Graph-to-Text Generation |
|
| get_non_pad_mask | 1 other paper 1 later |
2023.findings-emnlp.672 (2023 (year only)) FactSpotter: Evaluating the Factual Faithfulness of Graph-to-Text Generation |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Data-to-text generation has recently attracted substantial interests due to its wide applications. Existing methods have shown impressive performance on an array of tasks. However, they rely on a significant amount of labeled data for each task, which is costly to acquire and thus limits their application to new tasks and domains. In this paper, we propose to leverage pre-training and transfer learning to address this issue. We propose a knowledge-grounded pre-training (KGPT), which consists of two parts, 1) a general knowledge-grounded generation model to generate knowledge-enriched text. 2) a pretraining paradigm on a massive knowledgegrounded text corpus crawled from the web. The pre-trained model can be fine-tuned on various data-to-text generation tasks to generate task-specific text. We adopt three settings, namely fully-supervised, zero-shot, few-shot to evaluate its effectiveness. Under the fullysupervised setting, our model can achieve remarkable gains over the known baselines. Under zero-shot setting, our model without seeing any examples achieves over 30 ROUGE-L on WebNLG while all other baselines fail. Under the few-shot setting, our model only needs about one-fifteenth as many labeled examples to achieve the same level of performance as baseline models. These experiments consistently prove the strong generalization ability of our proposed framework 1 .
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2020.emnlp-main.697")
get_code_for_paper("2020.emnlp-main.697")
have("2020.emnlp-main.697")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2020.emnlp-main.697.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2020.emnlp-main.697)
Connect an agent — have() is free.