Home › Code › top_k

top_k

Syntologyentry name in harvested coderead from the graph 2026-09-24

top_k appears in the code Syntology harvested for 17 papers, as 9 distinct code bodies found in 17 places (a place is one code body under one paper). At least one of them ran in 17 of the papers; 8 of the code bodies carry a behaviour fingerprint.

What this page is not. Routines are grouped here by the exact string of their function or class name. Nothing asserts that two samples named top_k do the same thing, share code, or are comparable; the name is a string, not an identity. Behaviour outputs (what a fingerprinted sample returned on the shared battery) are not in this export and are not shown here; the graph at syntology.ai holds them. "Ran" means executed on a synthesized fixture, not that the code is correct or reproduces a paper.

Samples Syntology

Syntology ran 9 of the 9 distinct code bodies named top_k; 0 are unverified. One tile per status, in the site's fixed vocabulary, each code body counted once:

0ran · honoured contract
0ran · violated contract
6ran · our draft was wrong
1ran · fixture could not drive it
2ran
0unverified
8fingerprinted

Licence is a property of each copy, so it is counted per place: 5 of the 17 places are pointer only (Syntology does not serve that copy's text). This site shows no code text for any sample; every row below links to the file in its repository where the record names one.

“Ran” means the sample executed on a synthesized input; it does not mean the output is correct. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code, and those samples did run. The ran count above is every status except unverified, the same rule as each paper page.

Papers

17 papers shown of 17, newest first; 17 places in the table. A paper with no recorded date is placed by the month its arXiv id encodes, shown in the Date column as YYYY-MM (from id). One row per place: a paper whose repository defines the name more than once appears more than once, and the same code body held for several papers appears once under each, with the same status. Titles and dates are the archive's archive 2025-07-28 for papers in the archive; 1 papers have no page here and are shown by arXiv id only. Status and fingerprint are Syntology's record of each code body; licence is recorded for each place. The File cell ends with the code body's code_sha256, Syntology's identity for that exact code: an agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

PaperDateFileStatus SyntologyLicence
Music Proofreading with RefinPaint: Where and How to Modify Compositions given Context 12 Jul 2024 ta603/refinpaint/InpaintingModel.py 39f3cec3c6be459f ran · our draft was wrong fingerprinted no licence file found · pointer only
ViT-1.58b: Mobile Vision Transformers in the 1-bit Era 26 Jun 2024 dlyuangod/vit-1.58b/BitNet/bitnet/at.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted no licence file found · pointer only
When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models 11 Jun 2024 gatech-eic/linearized-llm/autoregressive_wrapper.py 5d77a7df8b8103e4 ran · our draft was wrong fingerprinted Apache-2.0 (permissive)
CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibration 14 Sep 2023 ukplab/catfood/src/shortcuts/eval_metrics.py 7eabcc356bd276af ran MIT (permissive)
Single-cell RNA-seq data imputation using Feature Propagation 2023-07 (from id) Junseok0207/scFP/misc/graph_construction.py 62ada701da1eed6d ran fingerprinted no licence file found · pointer only
Generating music with sentiment using Transformer-GANs 21 Dec 2022 pneves1051/transformers_sentiment/utils/generate.py 72827010274936db ran · our draft was wrong fingerprinted no licence file found · pointer only
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras 20 Dec 2022 tum-vision/mem/mem/modeling_discrete_vae.py fc2efb619b6ee2c4 ran · our draft was wrong fingerprinted Apache-2.0 (permissive)
Fast Inference from Transformers via Speculative Decoding 30 Nov 2022 lucidrains/speculative-decoding/speculative_decoding/speculative_decoding.py 3c61d89a5e42a3d3 ran · our draft was wrong fingerprinted MIT (permissive)
A Systematic Survey of Chemical Pre-trained Models 29 Oct 2022 junxia97/mole-bert/vqvae.py fc2efb619b6ee2c4 ran · our draft was wrong fingerprinted no licence file found · pointer only
Block-Recurrent Transformers 11 Mar 2022 lucidrains/block-recurrent-transformer-pytorch/block_recurrent_transformer_pytorch/block_recurrent_transformer_pytorch.py 39f3cec3c6be459f ran · our draft was wrong fingerprinted MIT (permissive)
LaMDA: Language Models for Dialog Applications 20 Jan 2022 conceptofmind/lamda-rlhf-pytorch/lamda_pytorch/utils/utils.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted MIT (permissive)
Self-attention Does Not Need $O(n^2)$ Memory 10 Dec 2021 lucidrains/memory-efficient-attention-pytorch/memory_efficient_attention_pytorch/autoregressive_wrapper.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted MIT (permissive)
H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequences 25 Jul 2021 lucidrains/h-transformer-1d/h_transformer_1d/autoregressive_wrapper.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted MIT (permissive)
Pre-training via Paraphrasing 26 Jun 2020 lucidrains/marge-pytorch/marge_pytorch/marge_pytorch.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted MIT (permissive)
Efficient Attention: Attention with Linear Complexities 4 Dec 2018 lucidrains/memory-transformer-xl/memory_transformer_xl/autoregressive_wrapper.py 3b65d5d77510c964 ran · our draft was wrong fingerprinted MIT (permissive)
Realistic Evaluation of Deep Semi-Supervised Learning Algorithms 24 Apr 2018 brain-research/realistic-ssl-evaluation/evaluate_model.py 4c46154099e4d408 ran · fixture could not drive it fingerprinted Apache-2.0 (permissive)
arXiv:aaai_25604 xcyao00/PMAD/dall_e/tokenizer.py fc2efb619b6ee2c4 ran · our draft was wrong fingerprinted MIT (permissive)

This site shows no code text; each File cell links to the file on GitHub at the repository's current default branch, which may have changed since the harvest. "Pointer only" means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence cell for the reason. Per-sample records for a paper are on its paper page under "Code Syntology ran".

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections