{"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/multihead-attention","entry":"multihead_attention","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":0,"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":7,"n_samples_ran":0,"n_samples_fingerprinted":0,"n_places":8,"n_places_pointer_only":2,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":7},"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":"2205.01286","paper":"/paper/when-multi-level-meets-multi-interest-a-multi","title":"When Multi-Level Meets Multi-Interest: A Multi-Grained Neural Model for Sequential Recommendation","date":"2022-05-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"whuir/mgnm","path":"code/util_se.py","file_url":"https://github.com/whuir/mgnm/blob/HEAD/code/util_se.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"51d13e3110b0e6d3","mcp_get_code":{"code_sha256":"51d13e3110b0e6d3"}},{"arxiv_id":"2005.04732","paper":"/paper/towards-robustifying-nli-models-against","title":"Towards Robustifying NLI Models Against Lexical Dataset Biases","date":"2020-05-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"owenzx/LexicalDebias-ACL2020","path":"models/hex.py","file_url":"https://github.com/owenzx/LexicalDebias-ACL2020/blob/HEAD/models/hex.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"0e1b744dc6c987e3","mcp_get_code":{"code_sha256":"0e1b744dc6c987e3"}},{"arxiv_id":"1902.09362","paper":"/paper/session-based-social-recommendation-via","title":"Session-based Social Recommendation via Dynamic Graph Attention Networks","date":"2019-02-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"DeepGraphLearning/RecommenderSystems","path":"featureRec/autoint/model.py","file_url":"https://github.com/DeepGraphLearning/RecommenderSystems/blob/HEAD/featureRec/autoint/model.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"35a991d0d6aff6ae","mcp_get_code":{"code_sha256":"35a991d0d6aff6ae"}},{"arxiv_id":"1902.09362","paper":"/paper/session-based-social-recommendation-via","title":"Session-based Social Recommendation via Dynamic Graph Attention Networks","date":"2019-02-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"DeepGraphLearning/RecommenderSystems","path":"sequentialRec/neural/base.py","file_url":"https://github.com/DeepGraphLearning/RecommenderSystems/blob/HEAD/sequentialRec/neural/base.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"fc2966a3b96caec2","mcp_get_code":{"code_sha256":"fc2966a3b96caec2"}},{"arxiv_id":"1810.11921","paper":"/paper/autoint-automatic-feature-interaction","title":"AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks","date":"2018-10-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"shichence/AutoInt","path":"model.py","file_url":"https://github.com/shichence/AutoInt/blob/HEAD/model.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"35a991d0d6aff6ae","mcp_get_code":{"code_sha256":"35a991d0d6aff6ae"}},{"arxiv_id":"1706.03762","paper":"/paper/attention-is-all-you-need","title":"Attention Is All You Need","date":"2017-06-12","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"StevenLai1994/AM_and_LM","path":"model_language/transformer.py","file_url":"https://github.com/StevenLai1994/AM_and_LM/blob/HEAD/model_language/transformer.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"f993d95378c194be","mcp_get_code":{"code_sha256":"f993d95378c194be"}},{"arxiv_id":"1706.03762","paper":"/paper/attention-is-all-you-need","title":"Attention Is All You Need","date":"2017-06-12","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Kyubyong/transformer","path":"model.py","file_url":"https://github.com/Kyubyong/transformer/blob/HEAD/model.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"079b0637c9bc4cf5","mcp_get_code":{"code_sha256":"079b0637c9bc4cf5"}},{"arxiv_id":"1706.03762","paper":"/paper/attention-is-all-you-need","title":"Attention Is All You Need","date":"2017-06-12","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"majing2019/transformer","path":"model.py","file_url":"https://github.com/majing2019/transformer/blob/HEAD/model.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"f7ed5d8fcbf89706","mcp_get_code":{"code_sha256":"f7ed5d8fcbf89706"}}]}