Home › Code › calculate_perplexity

calculate_perplexity

Syntologyentry name in harvested code

Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record.

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). Of the 9 papers, 6 with a sample that ran: 5 with a run with no instrument failure, 1 where every run was a failure of Syntology's instrument. 1 of the code bodies carries 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; get_code(code_sha256="…") returns this sample's fingerprint on the shared battery, with the battery's shuffled null and lift; not shown on this site (how to connect). "Ran" means executed on a synthesized fixture, not that the code is correct or reproduces a paper.

Samples Syntology

The 9 distinct code bodies named calculate_perplexity: 6 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 1 honoured, 0 violated, 4 with no contract checked; 1 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. 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; the contract check could not run
4ran
3unverified
1fingerprinted

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 “the contract check could not run” (RAISES, DEP_MISSING or TIMEOUT; hover a row's label for which) 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; “with no instrument failure” is honoured, violated and ran with no contract checked. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

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 their id only (arXiv: for an arXiv id; an id from another venue, such as ACL Anthology or AAAI, is named as that venue's id, never as an arXiv id). 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. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 ran MIT (permissive)
Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon 25 Jun 2024 eleutherai/semantic-memorization/inference.py f6beaa0ccde5ca7b ran fingerprinted 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)
ACL Anthology id 2023.findings-emnlp.139 TrustedLLM/LLMDet/llmdet/truth_perplexity.py 23f93efbe9cb73dd ran 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is under a permissive licence, but the stored copy of the same code that Syntology serves is not cleared for its text. 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