Home › Code › num_tokens_from_string

num_tokens_from_string

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

num_tokens_from_string appears in the code Syntology harvested for 17 papers, as 15 distinct code bodies found in 17 places (a place is one code body under one paper). At least one of them ran in 1 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 num_tokens_from_string 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 1 of the 15 distinct code bodies named num_tokens_from_string; 14 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
1ran
14unverified
0fingerprinted

Licence is a property of each copy, so it is counted per place: 9 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; 3 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
Cross-Lingual Pitfalls: Automatic Probing Cross-Lingual Weakness of Multilingual Large Language Models 24 May 2025 xzx34/Cross-Lingual-Pitfalls/utils/tools.py 1ab2a84c0b4c9b0a unverified MIT (permissive)
AgentSociety Challenge: Designing LLM Agents for User Modeling and Recommendation on Web Platforms 26 Feb 2025 tsinghua-fib-lab/agentsocietychallenge/GTsimulation/RecGTAgent.py 24ed49c54abe8af9 unverified MIT (permissive)
Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learning 20 Feb 2025 Unakar/Logic-RL/eval_kk/kk_processor.py 26b075196c1c10bf unverified Apache-2.0 (permissive)
HourVideo: 1-Hour Video-Language Understanding 7 Nov 2024 keshik6/HourVideo/hourvideo/llm_utils.py dfc109b0a442de2e unverified Apache-2.0 (permissive)
Paths-over-Graph: Knowledge Graph Empowered Large Language Model Reasoning 18 Oct 2024 SteveTANTAN/PoG/PoG/PoG_multi.py 51dbd68f4d5aba9e unverified Apache-2.0 (permissive)
CiteME: Can Language Models Accurately Cite Scientific Claims? 10 Jul 2024 bethgelab/CiteME/src/utils/tokens.py 0600b1d3da30c23a unverified licence not identified · pointer only
RATT: A Thought Structure for Coherent and Correct LLM Reasoning 4 Jun 2024 jinghanzhang1998/ratt/example_creative_writing.py e670e93bbcabe5da unverified no licence file found · pointer only
PairAug: What Can Augmented Image-Text Pairs Do for Radiology? 7 Apr 2024 YtongXie/PairAug/InterAug_Step1.py 4511b96bc04402fb unverified no licence file found · pointer only
JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMs 8 Feb 2024 TrustAIRLab/Comprehensive_Jailbreak_Assessment/scripts_label/label.py 51dbd68f4d5aba9e unverified no licence file found · pointer only
Embodied Multi-Modal Agent trained by an LLM from a Parallel TextWorld 28 Nov 2023 stevenyangyj/emma-alfworld/LAVIS/emma_utils.py 918526f0d411a7aa unverified no licence file found · pointer only
Event Causality Is Key to Computational Story Understanding 16 Nov 2023 insundaycathy/event-causality-extraction/story_eval/OpenAI_API_score.py 22d60148a6f4dbcb unverified no licence file found · pointer only
Leveraging Word Guessing Games to Assess the Intelligence of Large Language Models 31 Oct 2023 skytliang/spygame/utils/openai_utils.py 0600b1d3da30c23a unverified GPL-3.0 (copyleft) · pointer only
CRoW: Benchmarking Commonsense Reasoning in Real-World Tasks 23 Oct 2023 mismayil/crow/utils.py c8b4564640ec9706 unverified no licence file found · pointer only
S3Eval: A Synthetic, Scalable, Systematic Evaluation Suite for Large Language Models 23 Oct 2023 lfy79001/sqleval/eval/llama2.py 5ee9501ae032577a ran no licence file found · pointer only
arXiv:openreview_8ppVmLtA2V yanweiyue/Mem-T/llm_stats.py baba60077ac5b966 unverified Apache-2.0 (permissive)
arXiv:2024.findings-emnlp.253 WilliamZR/ProTrix/evaluation/sql_tool.py 336dce91b100570d unverified MIT (permissive)
arXiv:2024.findings-acl.326 dscc-admin-ch/statbot.swiss/src/generation.py 674d436096c536c0 unverified Unlicense (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