Matthew Peters, Arman Cohan, Iz Beltagy
22 of 35 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 12 have no contract verdict; 8 failures of our instrument; 13 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/2004.05150.json · badge: /api/ran/2004.05150.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 |
|---|---|---|
| allenai/longformer | marked official in Papers with Code Papers with Code archive |
9 ran · 2 no recorded run |
| jaketae/pytorch-malware-detection | community (classifier label) classifier basis not recorded on the link |
4 ran · 3 no recorded run |
| AIResearchHub/transformergallery | community Papers with Code archive |
4 ran · 2 no recorded run |
| a-rios/ats-models | community (classifier label) classifier basis not recorded on the link |
3 ran · 1 no recorded run |
| facebookresearch/xformers | community Papers with Code archive |
1 ran · 3 no recorded run |
| amazon-science/efficient-longdoc-classification | community Papers with Code archive |
1 ran · 1 no recorded run |
| schenliu/longformer-chinese | community Papers with Code archive |
0 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| FeedForward | Ran ran on a synthesized input · constructed an object; no result was computed |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("2893a3bddf619d82") 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, FeedForward: 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.
|
| LongformerClassificationHead | Ran ran on a synthesized input |
amazon-science/efficient-longdoc-classification/src/models.py code served (permissive licence) · get_code("e71d9c8a8cff7aa3") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) 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. 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.
|
| PositionalEncoding | Ran ran on a synthesized input · constructed an object; no result was computed |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("6c89fcd0771cd674") 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, PositionalEncoding: 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.
|
| TokenEmbedding | Ran ran on a synthesized input · constructed an object; no result was computed |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("0840d53a3e87bbd0") 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, TokenEmbedding: 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.
|
| TransformerEmbedding | Ran ran on a synthesized input · constructed an object; no result was computed |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("4d2255c33fd872a1") 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, TransformerEmbedding: 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.
|
| _chunk | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("b3689e24866300ad") 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 4, dtype family float, shape (2, 3, 4, 3) 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_invalid_locations_mask | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("215ac6dd58d2d468") 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. 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.
|
| _get_invalid_locations_mask_fixed_dilation | Ran ran, honoured the contract we drafted |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("1a6f3f01a17a0b4c") 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 int, shape (8, 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.
|
| _skew | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("54c6929644249d31") 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 4, dtype family float, shape (2, 4, 7, 3) 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.
|
| _skew2 | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("755bf82d9fe23d4b") 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 4, dtype family float, shape (2, 4, 3, 7) 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.
|
| average_tensors | Ran ran on a synthesized input |
a-rios/ats-models/ats_models/average.py code served (permissive licence) · get_code("62964c608dfd3d2c") 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.
|
| construct_href | Ran ran on a synthesized input |
jaketae/pytorch-malware-detection/src/bin/malshare.py code served (permissive licence) · get_code("1d6037ddb5464048") 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 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.
|
| count_params | Ran ran on a synthesized input |
jaketae/pytorch-malware-detection/src/deep_malware_detection/utils.py code served (permissive licence) · get_code("4f4f44d30b573fa8") 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 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.
|
| label_smoothed_nll_loss | Ran ran on a synthesized input |
a-rios/ats-models/ats_models/metrics.py code served (permissive licence) · get_code("9c78ceb4210479cf") 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.
|
| local_1d_pattern | Ran ran, violated the contract we drafted |
facebookresearch/xformers/xformers/components/attention/attention_patterns.py pointer only (licence: NOASSERTION) · get_code("ca468da77bd87495") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/xformers (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. A run is recorded. |
| predict | Ran ran on a synthesized input |
jaketae/pytorch-malware-detection/src/deep_malware_detection/utils.py code served (permissive licence) · get_code("e566c3f105753aa6") 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 3, dtype family int; 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.
|
| remove_special_tokens | Ran ran on a synthesized input |
a-rios/ats-models/ats_models/finetune_mbart.py code served (permissive licence) · get_code("bce6838014c76d1e") 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 MockTokenizer. 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.
|
| sliding_chunks_matmul_pv | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("4261f70837b75c76") 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 4, dtype family float, shape (2, 8, 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.
|
| sliding_chunks_matmul_qk | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("1b7525edcd068b10") 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 4, dtype family float, shape (2, 16, 3, 9) 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.
|
| sliding_chunks_no_overlap_matmul_pv | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("1273524f034ce151") 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 4, dtype family float, shape (2, 8, 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.
|
| sliding_chunks_no_overlap_matmul_qk | Ran ran; our contract draft was wrong, not the code |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("3d4e46172b26669c") 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 4, dtype family float, shape (2, 8, 3, 12) 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.
|
| train_val_test_split | Ran ran on a synthesized input |
jaketae/pytorch-malware-detection/src/deep_malware_detection/dataset.py code served (permissive licence) · get_code("e71dea05795c03bf") 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. 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.
|
| Longformer | Not yet run unverified (harvested, no recorded run) |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("e23d4d61b776fd56") How it ranno invocation recorded. |
| LongformerClass | Not yet run unverified (harvested, no recorded run) |
amazon-science/efficient-longdoc-classification/src/models.py code served (permissive licence) · get_code("083425b2586f0566") How it ranno invocation recorded. |
| LongformerLayer | Not yet run unverified (harvested, no recorded run) |
AIResearchHub/transformergallery/transformer/longformer.py code served (permissive licence) · get_code("56f78e8f5e291c8d") How it ranno invocation recorded. |
| LongformerSelfAttention | Not yet run unverified (harvested, no recorded run) |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("c1eb691dab111921") How it ranno invocation recorded. |
| LongformerSelfAttention | Not yet run unverified (harvested, no recorded run) |
schenliu/longformer-chinese/longformer/longformer.py pointer only (licence: NONE) · get_code("3b707d0823eee4d2") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, schenliu/longformer-chinese 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. |
| _generate_nd_grid | Not yet run unverified (harvested, no recorded run) |
facebookresearch/xformers/xformers/components/attention/attention_patterns.py pointer only (licence: NOASSERTION) · get_code("cc7b7bd19f2134ba") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/xformers (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. |
| collate_fn | Not yet run unverified (harvested, no recorded run) |
jaketae/pytorch-malware-detection/src/deep_malware_detection/dataset.py code served (permissive licence) · get_code("be39561477eedbab") How it ranno invocation recorded. |
| create_long_model | Not yet run unverified (harvested, no recorded run) |
a-rios/ats-models/ats_models/convert_bart2long.py code served (permissive licence) · get_code("8a1120aa9e015927") How it ranno invocation recorded. |
| get_accuracy | Not yet run unverified (harvested, no recorded run) |
jaketae/pytorch-malware-detection/src/deep_malware_detection/utils.py code served (permissive licence) · get_code("e910798b9dfc1967") How it ranno invocation recorded. |
| local_nd_distance | Not yet run unverified (harvested, no recorded run) |
facebookresearch/xformers/xformers/components/attention/attention_patterns.py pointer only (licence: NOASSERTION) · get_code("69ca0d84582f00bd") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/xformers (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. |
| local_nd_pattern | Not yet run unverified (harvested, no recorded run) |
facebookresearch/xformers/xformers/components/attention/attention_patterns.py pointer only (licence: NOASSERTION) · get_code("2a87d1deca0f2b1a") How it ranThe body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/xformers (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. |
| mask_invalid_locations | Not yet run unverified (harvested, no recorded run) |
allenai/longformer/longformer/longformer.py code served (permissive licence) · get_code("bec22b3675334717") How it ranno invocation recorded. |
| pad_sequence | Not yet run unverified (harvested, no recorded run) |
jaketae/pytorch-malware-detection/src/deep_malware_detection/dataset.py code served (permissive licence) · get_code("337700a5796189df") How it ranno invocation recorded. |
Of 35 samples lifted from this paper's linked repositories, 35 carry a function identity and 0 do not. Of the 35 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 4 later) and 24 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 |
|---|---|---|---|
| FeedForward brick of this paper's assembly: helper |
2 other papers 1 dated earlier, 1 later · 2 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers |
| PositionalEncoding brick of this paper's assembly: helper |
2 other papers 1 dated earlier, 1 later · 1 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers |
| TokenEmbedding brick of this paper's assembly: helper |
2 other papers 1 dated earlier, 1 later · 2 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers |
| TransformerEmbedding brick of this paper's assembly: helper |
2 other papers 1 dated earlier, 1 later · 1 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers |
| collate_fn | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| construct_href | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| count_params | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| get_accuracy | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| pad_sequence | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| predict | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
|
| train_val_test_split | 1 other paper 1 dated earlier |
1710.09435 (2017-10) Malware Detection by Eating a Whole EXE |
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.
Transformer-based models are unable to process long sequences due to their self-attention operation, which scales quadratically with the sequence length. To address this limitation, we introduce the Longformer with an attention mechanism that scales linearly with sequence length, making it easy to process documents of thousands of tokens or longer. Longformer's attention mechanism is a drop-in replacement for the standard self-attention and combines a local windowed attention with a task motivated global attention. Following prior work on long-sequence transformers, we evaluate Longformer on character-level language modeling and achieve state-of-the-art results on text8 and enwik8. In contrast to most prior work, we also pretrain Longformer and finetune it on a variety of downstream tasks. Our pretrained Longformer consistently outperforms RoBERTa on long document tasks and sets new state-of-the-art results on Wiki-Hop and TriviaQA. We finally introduce the Longformer-Encoder-Decoder (LED), a Longformer variant for supporting long document generative sequence-to-sequence tasks, and demonstrate its effectiveness on the arXiv summarization dataset. 1 * Equal contribution. 1 https://github.com/allenai/longformer Model attention char-LM other pretrain matrix tasks Transformer-XL (2019) ltr yes no no Adaptive Span (2019) ltr yes no no Compressive (2020) ltr yes no no Reformer (2020) sparse yes no no Sparse (2019) sparse yes no no Routing (2020) sparse yes no no BP-Transformer (2019) sparse yes MT no Blockwise (2019) sparse no QA yes Our Longformer sparse yes multiple yes
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2004.05150")
get_code_for_paper("2004.05150")
have("2004.05150")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2004.05150.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2004.05150)
Connect an agent — have() is free.