6 of 11 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 0 have no contract verdict; 5 failures of our instrument; 5 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/2009.06367.json · badge: /api/ran/2009.06367.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 |
|---|---|---|
| salesforce/GeDi | canonical (classifier label) classifier basis: census |
4 ran · 4 no recorded run |
| johnr0/TaleBrush-backend | extension (classifier label) classifier basis: classifier_2025 |
2 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| SharedDropout2 | Ran ran; our contract draft was wrong, not the code |
salesforce/GeDi/modeling_gpt2.py code served (permissive licence) · get_code("464d483ca9073ea6") 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 Dropout. 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.
|
| acc_and_f1 | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
johnr0/TaleBrush-backend/train_GeDi.py code served (permissive licence) · get_code("bf3d9775c3335f07") 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 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.
|
| adjust_length_to_model | Ran ran, honoured the contract we drafted |
johnr0/TaleBrush-backend/generate_GeDi.py code served (permissive licence) · get_code("12a1b5beef451d92") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.
|
| gelu | Ran ran; our contract draft was wrong, not the code |
salesforce/GeDi/modeling_gpt2.py code served (permissive licence) · get_code("8d23fbe2b99b840b") How it ranRan 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.
|
| prune_linear_layer | Ran ran; our contract draft was wrong, not the code |
salesforce/GeDi/modeling_utils.py code served (permissive licence) · get_code("d30d6c3098df2c42") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Linear. 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.
|
| top_k_top_p_filtering | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
salesforce/GeDi/modeling_utils.py code served (permissive licence) · get_code("49f3df5f44c69b6f") 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 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.
|
| add_sep | Not yet run unverified (harvested, no recorded run) |
johnr0/TaleBrush-backend/train_GeDi.py code served (permissive licence) · get_code("d53311eeea4a6085") How it ranno invocation recorded. |
| calc_banned_ngram_tokens | Not yet run unverified (harvested, no recorded run) |
salesforce/GeDi/modeling_utils.py code served (permissive licence) · get_code("35214bf3a3709500") How it ranno invocation recorded. |
| load_tf_weights_in_gpt2 | Not yet run unverified (harvested, no recorded run) |
salesforce/GeDi/modeling_gpt2.py code served (permissive licence) · get_code("c4bac98236c1fc2c") How it ranno invocation recorded. |
| proc_and_binarize | Not yet run unverified (harvested, no recorded run) |
salesforce/GeDi/proc_data.py code served (permissive licence) · get_code("95a0d8f647e7e5f3") How it ranno invocation recorded. |
| simple_accuracy | Not yet run unverified (harvested, no recorded run) |
salesforce/GeDi/train_GeDi.py code served (permissive licence) · get_code("3c241ecfe3749a6d") How it ranno invocation recorded. |
Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 8 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 |
|---|---|---|---|
| simple_accuracy | 59 other papers 18 dated earlier, 40 later, 1 same year, order not determinable |
1506.05865 (2015-06) LCSTS: A Large Scale Chinese Short Text Summarization Dataset |
1509.01626 (2015-09) Character-level Convolutional Networks for Text Classification * 1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding and 56 more not named here |
| gelu | 51 other papers 20 dated earlier, 1 the same month, 30 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 |
| prune_linear_layer | 29 other papers 13 dated earlier, 15 later, 1 same year, order not determinable |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding |
1906.08230 (2019-06) Evaluating Protein Transfer Learning with TAPE 1906.08237 (2019-06) XLNet: Generalized Autoregressive Pretraining for Language Understanding and 26 more not named here |
| top_k_top_p_filtering | 21 other papers 2 dated earlier, 19 later |
1909.11942 (2019-09) ALBERT: A Lite BERT for Self-supervised Learning of Language Representations |
2005.00796 (2020-05) A Simple Language Model for Task-Oriented Dialogue 2104.04039 (2021-04) Plug-and-Blend: A Framework for Controllable Story Generation with Blended Control Codes and 18 more not named here |
| load_tf_weights_in_gpt2 | 5 other papers 1 dated earlier, 1 the same month, 3 later |
2005.00796 (2020-05) A Simple Language Model for Task-Oriented Dialogue |
2009.12719 (2020-09) Stylized Dialogue Response Generation Using Stylized Unpaired Texts 2104.04039 (2021-04) Plug-and-Blend: A Framework for Controllable Story Generation with Blended Control Codes and 2 more not named here |
| adjust_length_to_model | 3 other papers 3 later |
2010.12850 (2020-10) CoCo: Controllable Counterfactuals for Evaluating Dialogue State Trackers |
2023.emnlp-industry.17 (2023 (year only)) Investigating Table-to-Text Generation Capabilities of LLMs in Real-World Information Seeking Scenarios 2306.14870 (2023-06) Composing Parameter-Efficient Modules with Arithmetic Operations |
| SharedDropout2 | 1 other paper 1 later |
2104.04039 (2021-04) Plug-and-Blend: A Framework for Controllable Story Generation with Blended Control Codes |
|
| calc_banned_ngram_tokens | 1 other paper 1 later |
2104.04039 (2021-04) Plug-and-Blend: A Framework for Controllable Story Generation with Blended Control Codes |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
While large-scale language models (LMs) are able to imitate the distribution of natural language well enough to generate realistic text, it is difficult to control which regions of the distribution they generate. This is especially problematic because datasets used for training large LMs usually contain significant toxicity, hate, bias, and negativity. We propose GeDi as an efficient method for using smaller LMs as generative discriminators to guide generation from large LMs to make them safer and more controllable. GeDi guides generation at each step by computing classification probabilities for all possible next tokens via Bayes rule by normalizing over two class-conditional distributions; one conditioned on the desired attribute, or control code, and another conditioned on the undesired attribute, or anti control code. We find that GeDi gives stronger controllability than the state of the art method while also achieving generation speeds more than 30 times faster. Additionally, training GeDi on only four topics allows us to controllably generate new topics zero-shot from just a keyword, unlocking a new capability that previous controllable generation methods do not have. Lastly, we show that GeDi can make GPT-2 (1.5B parameters) significantly less toxic without sacrificing linguistic quality, making it by far the most practical existing method for detoxifying large language models while maintaining a fast generation speed.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2009.06367")
get_code_for_paper("2009.06367")
have("2009.06367")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2009.06367.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2009.06367)
Connect an agent — have() is free.