{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/code/get-next-token","entry":"get_next_token","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":5,"n_papers_ran":3,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":5,"n_samples_ran":3,"n_samples_fingerprinted":0,"n_places":5,"n_places_pointer_only":3,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":1,"ran_fixture":0,"ran":2,"unverified":2},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2409.03621","paper":"/paper/attend-first-consolidate-later-on-the","title":"Attend First, Consolidate Later: On the Importance of Attention in Different LLM Layers","date":"2024-09-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"schwartz-lab-NLP/Attend-First-Consolidate-Later","path":"information_injection_demo.py","file_url":"https://github.com/schwartz-lab-NLP/Attend-First-Consolidate-Later/blob/HEAD/information_injection_demo.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"25fec94220fb4524","mcp_get_code":{"code_sha256":"25fec94220fb4524"}},{"arxiv_id":"2312.14183","paper":"/paper/on-early-detection-of-hallucinations-in","title":"On Early Detection of Hallucinations in Factual Question Answering","date":"2023-12-19","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"amazon-science/llm-hallucinations-factual-qa","path":"result_collector.py","file_url":"https://github.com/amazon-science/llm-hallucinations-factual-qa/blob/HEAD/result_collector.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"68b60a9367249cc7","mcp_get_code":{"code_sha256":"68b60a9367249cc7"}},{"arxiv_id":"2312.02073","paper":"/paper/a-glitch-in-the-matrix-locating-and-detecting","title":"A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepedia","date":"2023-12-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"epfl-dlab/llm-grounding-analysis","path":"src/model.py","file_url":"https://github.com/epfl-dlab/llm-grounding-analysis/blob/HEAD/src/model.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"5c049e9aa7881e58","mcp_get_code":{"code_sha256":"5c049e9aa7881e58"}},{"arxiv_id":"2205.01068","paper":"/paper/opt-open-pre-trained-transformer-language","title":"OPT: Open Pre-trained Transformer Language Models","date":"2022-05-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"facebookresearch/metaseq","path":"metaseq/hub_utils.py","file_url":"https://github.com/facebookresearch/metaseq/blob/HEAD/metaseq/hub_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"code_sha256_prefix":"70652fe4ded4564b","mcp_get_code":{"code_sha256":"70652fe4ded4564b"}},{"arxiv_id":"2001.09977","paper":"/paper/towards-a-human-like-open-domain-chatbot","title":"Towards a Human-like Open-Domain Chatbot","date":"2020-01-27","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"nawnoes/pytorch-meena","path":"example/chat.py","file_url":"https://github.com/nawnoes/pytorch-meena/blob/HEAD/example/chat.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"26027384e1ebde19","mcp_get_code":{"code_sha256":"26027384e1ebde19"}}]}