Junxian He, Graham Neubig, Taylor Berg-Kirkpatrick
8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2006.16336.json · badge: /api/ran/2006.16336.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 |
|---|---|---|
| jxhe/sparse-text-prototype | canonical (classifier label) classifier basis: census |
8 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Embedding | Ran ran; our contract draft was wrong, not the code · constructed an object; no result was computed |
jxhe/sparse-text-prototype/sparse_prototype/retriever/cnn_text.py code served (permissive licence) · get_code("93f6e2cb46ccec10") 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 an instance of its own class, Embedding: 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.
|
| LSTM | Ran ran; our contract draft was wrong, not the code · constructed an object; no result was computed |
jxhe/sparse-text-prototype/sparse_prototype/sp_model.py code served (permissive licence) · get_code("718c5ada347d1b35") 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 an instance of its own class, LSTM: 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.
|
| LSTMCell | Ran ran on a synthesized input · constructed an object; no result was computed |
jxhe/sparse-text-prototype/sparse_prototype/sp_model.py code served (permissive licence) · get_code("7339bbc858af2c47") 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 an instance of its own class, LSTMCell: 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.
|
| apply_to_sample | Ran ran; our contract draft was wrong, not the code |
jxhe/sparse-text-prototype/sparse_prototype/sp_criterion.py code served (permissive licence) · get_code("992489a59b9e08d0") 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.
|
| label_smoothed_nll_loss | Ran ran on a synthesized input |
jxhe/sparse-text-prototype/sparse_prototype/guu_criterion.py code served (permissive licence) · get_code("2c3cce785199ac95") 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 tuple, 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.
|
| label_smoothed_nll_loss | Ran ran on a synthesized input |
jxhe/sparse-text-prototype/sparse_prototype/lm_criterion.py code served (permissive licence) · get_code("33456d398c6c40ab") 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 tuple, 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.
|
| move_to_cpu | Ran ran on a synthesized input |
jxhe/sparse-text-prototype/sparse_prototype/sp_criterion.py code served (permissive licence) · get_code("31234bde077b0786") 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.
|
| parse_lambda_config | Ran ran on a synthesized input |
jxhe/sparse-text-prototype/sparse_prototype/sp_task.py code served (permissive licence) · get_code("dd2b25b511012165") 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 tuple, ndim 1, 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.
|
| get_confirm_token | Not yet run unverified (harvested, no recorded run) |
jxhe/sparse-text-prototype/sparse_prototype/prepare_data.py pointer only (licence: MIT); the stored copy get_code serves, from med-air/FedBN, is pointer only (licence: NONE) · get_code("135b3dc835ffe6ad") 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 med-air/FedBN, 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. No invocation recorded. |
Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 5 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_confirm_token | 38 other papers 23 dated earlier, 15 later |
1409.8230 (2014-09) RENOIR - A Dataset for Real Low-Light Image Noise Reduction |
1503.03832 (2015-03) FaceNet: A Unified Embedding for Face Recognition and Clustering 1506.03134 (2015-06) Pointer Networks and 35 more not named here |
| apply_to_sample | 2 other papers 2 later |
2402.07197 (2024-02) GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Tasks |
2409.03643 (2024-09) Image Over Text: Transforming Formula Recognition Evaluation with Character Detection Matching |
| Embedding | 1 other paper 1 later |
2022.acl-long.35 (2022 (year only)) KaFSP: Knowledge-Aware Fuzzy Semantic Parsing for Conversational Question Answering over a Large-Scale Knowledge Base |
|
| LSTM | 1 other paper 1 later |
2022.acl-long.35 (2022 (year only)) KaFSP: Knowledge-Aware Fuzzy Semantic Parsing for Conversational Question Answering over a Large-Scale Knowledge Base |
|
| parse_lambda_config | 1 other paper 1 later |
2304.10216 (2023-04) Exploring Paracrawl for Document-level Neural Machine Translation |
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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Prototype-driven text generation uses non-parametric models that first choose from a library of sentence "prototypes" and then modify the prototype to generate the output text. While effective, these methods are inefficient at test time as a result of needing to store and index the entire training corpus. Further, existing methods often require heuristics to identify which prototypes to reference at training time. In this paper, we propose a novel generative model that automatically learns a sparse prototype support set that, nonetheless, achieves strong language modeling performance. This is achieved by (1) imposing a sparsity-inducing prior on the prototype selection distribution, and (2) utilizing amortized variational inference to learn a prototype retrieval function. In experiments, our model outperforms previous prototype-driven language models while achieving up to a 1000x memory reduction, as well as a 1000x speed-up at test time. More interestingly, we show that the learned prototypes are able to capture semantics and syntax at different granularity as we vary the sparsity of prototype selection, and that certain sentence attributes can be controlled by specifying the prototype for generation. 1
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2006.16336")
get_code_for_paper("2006.16336")
have("2006.16336")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2006.16336.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2006.16336)
Connect an agent — have() is free.