Home › Code › calc_banned_ngram_tokens

calc_banned_ngram_tokens

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

calc_banned_ngram_tokens appears in the code Syntology harvested for 14 papers, as 7 distinct code bodies found in 15 places (a place is one code body under one paper). At least one of them ran in 7 of the papers; 0 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 calc_banned_ngram_tokens 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 3 of the 7 distinct code bodies named calc_banned_ngram_tokens; 4 are unverified. One tile per status, in the site's fixed vocabulary, each code body counted once:

0ran · honoured contract
0ran · violated contract
0ran · our draft was wrong
0ran · fixture could not drive it
3ran
4unverified
0fingerprinted

Licence is a property of each copy, so it is counted per place: 3 of the 15 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

14 papers shown of 14, newest first; 15 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, and the graph's for 1 papers added by Syntology; 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
Identity-Robust Language Model Generation via Content Integrity Preservation added by Syntology 2026-01 (from id) shmsw25/AmbigQA/codes/models/seq2seq_with_prefix.py 8d77347cfa15b834 ran no licence file found · pointer only
Decoding Game: On Minimax Optimality of Heuristic Text Generation Strategies 4 Oct 2024 omar-hagrass/decoding-game/src/transformers_utils.py 0cd7c4bac19d0a72 ran no licence file found · pointer only
GeReA: Question-Aware Prompt Captions for Knowledge-based Visual Question Answering 4 Feb 2024 upper9527/gerea/src/generation_utils.py 8d77347cfa15b834 ran no licence file found · pointer only
Unlocking Anticipatory Text Generation: A Constrained Approach for Large Language Models Decoding 11 Dec 2023 SalesforceAIResearch/Unlocking-TextGen/FactaulQA/generate.py 8d77347cfa15b834 ran Apache-2.0 (permissive)
Unlocking Anticipatory Text Generation: A Constrained Approach for Large Language Models Decoding 11 Dec 2023 SalesforceAIResearch/Unlocking-TextGen/InstructionFollowing/generate.py 1f5f980fef237c7a ran Apache-2.0 (permissive)
Contrastive Grouping with Transformer for Referring Image Segmentation 2 Sep 2023 toneyaya/cgformer/bert/generation_utils.py 8d77347cfa15b834 ran MIT (permissive)
Knowledge Infused Decoding 6 Apr 2022 microsoft/KID/KID/agent/agent_utils.py 2e5a5db3f5b8e8eb unverified MIT (permissive)
Perspective-taking and Pragmatics for Generating Empathetic Responses Focused on Emotion Causes 18 Sep 2021 skywalker023/focused-empathy/from_epitome/modeling_utils.py f1cff4633a737beb unverified MIT (permissive)
A Three-Stage Learning Framework for Low-Resource Knowledge-Grounded Dialogue Generation 9 Sep 2021 neukg/kat-tslf/kat/gen_utils.py 8d77347cfa15b834 ran MIT (permissive)
Enriching Transformers with Structured Tensor-Product Representations for Abstractive Summarization 2 Jun 2021 jiangycTarheel/TPT-Summ/models/modeling_utils.py f1cff4633a737beb unverified MIT (permissive)
Plug-and-Blend: A Framework for Controllable Story Generation with Blended Control Codes 23 Mar 2021 xxbidiao/plug-and-blend/gedi_helpers/modeling_utils.py 35214bf3a3709500 unverified MIT (permissive)
Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Do 8 Mar 2021 ml-research/MoRT_NMI/MoRT/mcm_textgeneration/mcm_models.py bf60ebe2c2b77444 unverified MIT (permissive)
GeDi: Generative Discriminator Guided Sequence Generation 14 Sep 2020 salesforce/GeDi/modeling_utils.py 35214bf3a3709500 unverified BSD-3-Clause (permissive)
BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension 29 Oct 2019 i2r-simmc/i2r-simmc-2020/src/generation_utils.py 8d77347cfa15b834 ran MIT (permissive)
arXiv:2025.findings-emnlp.70 passing2961/EmpGPT-3/from_epitome/modeling_utils.py f1cff4633a737beb unverified 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