Home › Code › calculate_perplexity

calculate_perplexity

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

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

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

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

9 papers shown of 9, newest first; 9 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 3 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
Beyond Perplexity: UTF-8 Validity in Byte-aware Language Models added by Syntology 2026-06 (from id) cynthia/bytecanary/src/bytecanary/evaluate.py 5c1f2418ee44b141 ran · our draft was wrong no licence file found · pointer only
Zero-shot Large Language Models for Automatic Readability Assessment added by Syntology 2026-04 (from id) kinimod23/GRANT/unsupervised/BERT/apply.py ac0d85fa1d5b36df unverified no licence file found · pointer only
Can SAEs reveal and mitigate racial biases of LLMs in healthcare? added by Syntology 2025-11 (from id) hibaahsan/sae_bias/src/steer_bhcs.py d120118971ebf2cb unverified no licence file found · pointer only
Guiding Generative Protein Language Models with Reinforcement Learning 17 Dec 2024 ai4pdlab/dpo_plm/seq_gen.py 7eb95b024fabf1cc unverified MIT (permissive)
Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon 25 Jun 2024 eleutherai/semantic-memorization/inference.py f6beaa0ccde5ca7b ran no licence file found · pointer only
Superposed Decoding: Multiple Generations from a Single Autoregressive Inference Pass 28 May 2024 RAIVNLab/SuperposedDecoding/superposed/llama/metrics.py 9844eb34712feeb4 ran licence not identified · pointer only
Long-form evaluation of model editing 14 Feb 2024 domenicrosati/longform-evaluation-model-editing/src/automatic_metrics.py 6be6c7d3f948ef58 ran · honoured contract MIT (permissive)
Extracting Training Data from Large Language Models 14 Dec 2020 shreyansh26/Extracting-Training-Data-from-Large-Langauge-Models/extraction_top_n.py c59c1720bffdb7a5 unverified MIT (permissive)
arXiv:2023.findings-emnlp.139 TrustedLLM/LLMDet/llmdet/truth_perplexity.py 23f93efbe9cb73dd 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