Yuhuai Wu, Piotr Miłoś, Henryk Michalewski, Szymon Tworkowski, Konrad Staniszewski, Mikołaj Pacek
9 of 14 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, 2 violated it and 0 have no contract verdict; 7 failures of our instrument; 5 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/2307.03170.json · badge: /api/ran/2307.03170.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 |
|---|---|---|
| CStanKonrad/long_llama | canonical (classifier label) classifier basis: census |
7 ran · 5 no recorded run |
| cstankonrad/long_llama | canonical (classifier label) classifier basis: classifier_2025 |
2 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| match_keywords | Ran ran, violated the contract we drafted |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/convert_easylm_to_hf.py code served (permissive licence) · get_code("cc2ba1b1b0c83f6c") 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 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.
|
| mem_apply_update | Ran ran; our contract draft was wrong, not the code |
CStanKonrad/long_llama/src/longllama_utils.py code served (permissive licence) · get_code("43de84e441595b25") 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 LongLlamaMemCache. 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.
|
| metrics_assign_group | Ran ran; our contract draft was wrong, not the code |
CStanKonrad/long_llama/instruction_fine_tuning/utils.py code served (permissive licence) · get_code("3544c0f9d7c6110f") 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.
|
| non_numeric_to_str | Ran ran; our contract draft was wrong, not the code |
CStanKonrad/long_llama/instruction_fine_tuning/utils.py code served (permissive licence) · get_code("5a004e0660382250") 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.
|
| precompute_freqs_cis | Ran ran, violated the contract we drafted |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/llama_model.py code served (permissive licence) · get_code("1d636c739a91d422") 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 ArrayImpl, ndim 2, dtype family float, shape (4, 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.
|
| read_json | Ran ran; our contract draft was wrong, not the code |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/convert_easylm_to_hf.py code served (permissive licence) · get_code("c5bcf01d18bba63d") 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 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.
|
| rotate_as_if_first | Ran ran; our contract draft was wrong, not the code |
cstankonrad/long_llama/src/modeling_longllama.py code served (permissive licence) · get_code("a13c903093d13c1f") 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 4, dtype family float, shape (2, 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.
|
| rotate_half | Ran ran; our contract draft was wrong, not the code |
CStanKonrad/long_llama/src/modeling_longllama.py code served (permissive licence) · get_code("b99eea6376d1e212") 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.
|
| rotate_one | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
cstankonrad/long_llama/src/modeling_longllama.py code served (permissive licence) · get_code("feba6513abb9fb9c") 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 4, dtype family float, shape (2, 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.
|
| apply_rotary_emb | Not yet run unverified (harvested, no recorded run) |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/llama_model.py code served (permissive licence) · get_code("a305ca669a9cacf3") How it ranno invocation recorded. |
| apply_rotary_emb_as_fst | Not yet run unverified (harvested, no recorded run) |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/llama_model.py code served (permissive licence) · get_code("fd8c57f88ddcfa62") How it ranno invocation recorded. |
| get_padding_token | Not yet run unverified (harvested, no recorded run) |
CStanKonrad/long_llama/instruction_fine_tuning/data_processing.py code served (permissive licence) · get_code("21a812da7fd6cdd2") How it ranno invocation recorded. |
| inverse_permute | Not yet run unverified (harvested, no recorded run) |
CStanKonrad/long_llama/fot_continued_pretraining/EasyLM/models/llama/convert_hf_to_easylm.py code served (permissive licence) · get_code("c2234099a81ca2e6") How it ranno invocation recorded. |
| tokenize_text_no_special_tokens | Not yet run unverified (harvested, no recorded run) |
CStanKonrad/long_llama/instruction_fine_tuning/data_processing.py code served (permissive licence) · get_code("630a45cda4fbc26b") How it ranno invocation recorded. |
Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 2 the same month, 4 later) and 6 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 |
|---|---|---|---|
| rotate_half | 360 other papers 10 dated earlier, 5 the same month, 342 later, 3 undated · 30 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 2302.13971 (2023-02) LLaMA: Open and Efficient Foundation Language Models and 357 more not named here |
| read_json | 21 other papers 5 dated earlier, 1 the same month, 15 later |
2210.07316 (2022-10) MTEB: Massive Text Embedding Benchmark |
2304.08177 (2023-04) Efficient and Effective Text Encoding for Chinese LLaMA and Alpaca 2304.14454 (2023-04) PMC-LLaMA: Towards Building Open-source Language Models for Medicine and 18 more not named here |
| apply_rotary_emb | 2 other papers 1 dated earlier, 1 later |
2302.02676 (2023-02) Chain of Hindsight Aligns Language Models with Feedback |
2402.08268 (2024-02) World Model on Million-Length Video And Language With Blockwise RingAttention |
| match_keywords | 1 other paper 1 later |
2406.09279 (2024-06) Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback |
|
| mem_apply_update | 1 other paper 1 dated earlier |
2305.16300 (2023-05) Random-Access Infinite Context Length for Transformers |
|
| precompute_freqs_cis | 1 other paper 1 dated earlier |
2302.02676 (2023-02) Chain of Hindsight Aligns Language Models with Feedback |
|
| rotate_as_if_first | 1 other paper 1 dated earlier |
2305.16300 (2023-05) Random-Access Infinite Context Length for Transformers |
|
| rotate_one | 1 other paper 1 dated earlier |
2305.16300 (2023-05) Random-Access Infinite Context Length for Transformers |
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.
Large language models have an exceptional capability to incorporate new information in a contextual manner. However, the full potential of such an approach is often restrained due to a limitation in the effective context length. One solution to this issue is to endow an attention layer with access to an additional context, which comprises of (key, value) pairs. Yet, as the number of documents increases, the proportion of relevant keys to irrelevant ones decreases, leading the model to focus more on the irrelevant keys. We identify a significant challenge, dubbed the distraction issue, where keys linked to different semantic values might overlap, making them hard to distinguish. To tackle this problem, we introduce the Focused Transformer (FOT), a technique that employs a training process inspired by contrastive learning. This novel approach enhances the structure of the (key, value) space, enabling an extension of the context length. Our method allows for fine-tuning pre-existing, large-scale models to lengthen their effective context. This is demonstrated by our fine-tuning of 3B and 7B OpenLLaMA checkpoints. The resulting models, which we name LONGLLAMA 2 , exhibit advancements in tasks requiring a long context. We further illustrate that our LONGLLAMA models adeptly manage a 256k context length for passkey retrieval. * Equal contribution † Work done while at Google Research. 2 We release the checkpoints and source code of LONGLLAMA , see also our colabs. 37th Conference on Neural Information Processing Systems (NeurIPS 2023).
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2307.03170")
get_code_for_paper("2307.03170")
have("2307.03170")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2307.03170.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2307.03170)
Connect an agent — have() is free.