{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/method/swiglu","slug":"swiglu","name":"SwiGLU","full_name":"SwiGLU","full_name_withheld":false,"description_markdown":"**SwiGLU** is an activation function which is a variant of [GLU](https://paperswithcode.com/method/glu). The definition is as follows:\r\n\r\n$$ \\text{SwiGLU}\\left(x, W, V, b, c, \\beta\\right) = \\text{Swish}\\_{\\beta}\\left(xW + b\\right) \\otimes \\left(xV + c\\right) $$","description_state":"present","introduced_year":null,"introduced_by":{"title":"GLU Variants Improve Transformer","paper":"/paper/glu-variants-improve-transformer","first_author":"Noam Shazeer","n_authors":1,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/glu-variants-improve-transformer"},"source":{"url":"https://arxiv.org/abs/2002.05202v1","title":"GLU Variants Improve Transformer","url_on_a_paper_host":true},"code_snippet_url":null,"code_snippet_url_on_a_code_host":false,"categories":[{"area":"General","area_id":"general","collection":"Activation Functions","url":"/methods/category/activation-functions","pwc_aliases":[]}],"n_papers_tagged":13,"archive_num_papers":13,"papers_newest_first":[{"paper":null,"slug":"tokenflex-unified-vlm-training-for-flexible","title":"TokenFLEX: Unified VLM Training for Flexible Visual Tokens Inference","date":"2025-04-04","arxiv_id":"2504.03154","n_code_links":0,"syntology":null},{"paper":"/paper/diffformer-a-differential-spatial-spectral","slug":"diffformer-a-differential-spatial-spectral","title":"DiffFormer: a Differential Spatial-Spectral Transformer for Hyperspectral Image Classification","date":"2024-12-23","arxiv_id":"2412.17350","n_code_links":1,"syntology":null},{"paper":null,"slug":"efficient-llm-inference-using-dynamic-input","title":"Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Masking","date":"2024-12-02","arxiv_id":"2412.01380","n_code_links":0,"syntology":null},{"paper":"/paper/deriving-activation-functions-via-integration","slug":"deriving-activation-functions-via-integration","title":"Deriving Activation Functions Using Integration","date":"2024-11-20","arxiv_id":"2411.13010","n_code_links":1,"syntology":null},{"paper":null,"slug":"scaling-fp8-training-to-trillion-token-llms","title":"Scaling FP8 training to trillion-token LLMs","date":"2024-09-19","arxiv_id":"2409.12517","n_code_links":0,"syntology":null},{"paper":null,"slug":"how-lightweight-can-a-vision-transformer-be","title":"How Lightweight Can A Vision Transformer Be","date":"2024-07-25","arxiv_id":"2407.17783","n_code_links":0,"syntology":null},{"paper":"/paper/turbo-sparse-achieving-llm-sota-performance","slug":"turbo-sparse-achieving-llm-sota-performance","title":"Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameters","date":"2024-06-10","arxiv_id":"2406.05955","n_code_links":1,"syntology":null},{"paper":null,"slug":"relu-2-wins-discovering-efficient-activation","title":"ReLU$^2$ Wins: Discovering Efficient Activation Functions for Sparse LLMs","date":"2024-02-06","arxiv_id":"2402.03804","n_code_links":0,"syntology":null},{"paper":"/paper/btlm-3b-8k-7b-parameter-performance-in-a-3b","slug":"btlm-3b-8k-7b-parameter-performance-in-a-3b","title":"BTLM-3B-8K: 7B Parameter Performance in a 3B Parameter Model","date":"2023-09-20","arxiv_id":"2309.11568","n_code_links":1,"syntology":{"ran":6,"of":8,"n_ran_checked":6,"n_instrument":0,"unverified":2,"pointer_only":0,"phrase":"6 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 0 violated, 6 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified","official":{"repos":["cerebras/modelzoo"],"state":"official (archive's flag): 6 ran","n_ran":6,"n_constructed":0,"n_ran_no_instrument_failure":6,"n_unverified":2,"ran_from_kinds":["official"]}}},{"paper":"/paper/slimpajama-dc-understanding-data-combinations","slug":"slimpajama-dc-understanding-data-combinations","title":"SlimPajama-DC: Understanding Data Combinations for LLM Training","date":"2023-09-19","arxiv_id":"2309.10818","n_code_links":1,"syntology":null},{"paper":"/paper/llama-2-open-foundation-and-fine-tuned-chat","slug":"llama-2-open-foundation-and-fine-tuned-chat","title":"Llama 2: Open Foundation and Fine-Tuned Chat Models","date":"2023-07-18","arxiv_id":"2307.09288","n_code_links":19,"syntology":{"ran":33,"of":52,"n_ran_checked":20,"n_instrument":13,"unverified":19,"pointer_only":20,"phrase":"33 ran (of which 7 constructed an object rather than computing a result; 20 with no instrument failure: 1 honoured, 1 violated, 18 with no contract checked; 13 where Syntology's instrument failed) · 19 unverified","official":{"repos":["facebookresearch/llama"],"state":"community repositories only","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":0,"ran_from_kinds":["listed"]}}},{"paper":"/paper/palm-scaling-language-modeling-with-pathways-1","slug":"palm-scaling-language-modeling-with-pathways-1","title":"PaLM: Scaling Language Modeling with Pathways","date":"2022-04-05","arxiv_id":"2204.02311","n_code_links":7,"syntology":{"ran":32,"of":37,"n_ran_checked":24,"n_instrument":8,"unverified":5,"pointer_only":0,"phrase":"32 ran (of which 16 constructed an object rather than computing a result; 24 with no instrument failure: 2 honoured, 1 violated, 21 with no contract checked; 8 where Syntology's instrument failed) · 5 unverified","official":null}},{"paper":"/paper/glu-variants-improve-transformer","slug":"glu-variants-improve-transformer","title":"GLU Variants Improve Transformer","date":"2020-02-12","arxiv_id":"2002.05202","n_code_links":27,"syntology":{"ran":9,"of":9,"n_ran_checked":7,"n_instrument":2,"unverified":0,"pointer_only":7,"phrase":"9 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 3 honoured, 4 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified","official":null}}],"papers_shown":13,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":13,"with_a_code_link":8,"where_syntology_ran_a_sample":4,"not_listed_spam_title":0,"listed":13,"listed_where_code_ran":4,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":4,"every_run_a_failure_of_syntologys_instrument":0,"listed_with_a_run_with_no_instrument_failure":4,"listed_every_run_a_failure_of_syntologys_instrument":0,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"papers_where_code_ran":4,"papers_where_code_ran_first_page":"/method/swiglu/papers/ran/1","papers_where_code_ran_caption":"We ran code from the paper's repository; we did not isolate this method inside it.","pages":[{"order":"ran","page":1,"of":1,"url":"/method/swiglu/papers/ran/1","json":"/method/swiglu/papers/ran/1.json","rows":4}],"tasks":[{"task":"/task/language-modeling","name":"Language Modeling","papers":3},{"task":"/task/language-modelling","name":"Language Modelling","papers":3},{"task":"/task/code-generation","name":"Code Generation","papers":2},{"task":"/task/large-language-model","name":"Large Language Model","papers":2},{"task":"/task/mixture-of-experts","name":"Mixture-of-Experts","papers":2},{"task":"/task/multi-task-language-understanding","name":"Multi-task Language Understanding","papers":2},{"task":"/task/multiple-choice-qa","name":"Multiple Choice Question Answering (MCQA)","papers":2},{"task":"/task/question-answering","name":"Question Answering","papers":2},{"task":"/task/sentence-completion","name":"Sentence Completion","papers":2},{"task":null,"name":"8k","papers":1},{"task":"/task/arithmetic-reasoning","name":"Arithmetic Reasoning","papers":1},{"task":"/task/auto-debugging","name":"Auto Debugging","papers":1},{"task":"/task/common-sense-reasoning","name":"Common Sense Reasoning","papers":1},{"task":"/task/computational-efficiency","name":"Computational Efficiency","papers":1},{"task":"/task/coreference-resolution","name":"Coreference Resolution","papers":1},{"task":"/task/cross-lingual-question-answering","name":"Cross-Lingual Question Answering","papers":1},{"task":"/task/few-shot-learning","name":"Few-Shot Learning","papers":1},{"task":"/task/hindu-knowledge","name":"Hindu Knowledge","papers":1},{"task":"/task/hyperspectral-image-classification","name":"Hyperspectral Image Classification","papers":1},{"task":"/task/image-classification","name":"Image Classification","papers":1}],"tasks_shown":20,"n_tasks":35,"usage_by_year":[{"year":"2020","papers":1},{"year":"2022","papers":1},{"year":"2023","papers":3},{"year":"2024","papers":7},{"year":"2025","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/swiglu"},"syntology_read_at":"2026-10-05T00:36:11+00:00","syntology":{"source":"Syntology's have check for this name (the free coverage lookup), read from Syntology's graph","have_url":"https://syntology.ai/api/graph/have?x=SwiGLU","read_at":"2026-10-05T01:02:48+00:00","query":"SwiGLU","kind":"method","have":"unknown_name","tier":null,"verified_implementation":null,"level":null,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":null,"resolution":null,"resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":null,"archive_paper_arxiv_id":"2002.05202","repositories":null,"retrieve_with":null,"name_competition":{"verdict":"none","may_be_wrong_sense":false,"bearers_found":0,"served":null,"leading_other_bearer":null,"n_other_bearers_listed":0,"note":"Nothing in this corpus is named 'SwiGLU' -- no method node, no paper announcing it in its title, no expanded form declaring it as an acronym."},"name_competition_text":null,"near_matches":["Confidence-Aware SwiGLU (κ-SwiGLU)"],"code_nearby":[],"code_nearby_caption":null,"origin_paper":null,"line":"name not resolved (unknown_name). The lookup matched no method, paper or venue by this name; that asserts nothing about whether code exists.","level_legend":null},"syntology_have_state":"loaded","record_sha256":"03a229241b9fc2366ddab5f52f97ba0822176b8c043067bf8b5df1dc17b5a586","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}