{"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":"/paper/fairseq-a-fast-extensible-toolkit-for","title":"fairseq: A Fast, Extensible Toolkit for Sequence Modeling","arxiv_id":"1904.01038","date":"2019-04-01","proceeding":"NAACL 2019 6","authors":["Myle Ott","Sergey Edunov","Alexei Baevski","Angela Fan","Sam Gross","Nathan Ng","David Grangier","Michael Auli"],"abstract":"fairseq is an open-source sequence modeling toolkit that allows researchers\nand developers to train custom models for translation, summarization, language\nmodeling, and other text generation tasks. The toolkit is based on PyTorch and\nsupports distributed training across multiple GPUs and machines. We also\nsupport fast mixed-precision training and inference on modern GPUs. A demo\nvideo can be found at https://www.youtube.com/watch?v=OtgDdWtHvto","url_abs":"http://arxiv.org/abs/1904.01038v1","url_pdf":"http://arxiv.org/pdf/1904.01038v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/pytorch/fairseq","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/facebookresearch/fairseq","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/guxm2021/MM_ALT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/lucylow/En_francais_si_vous_plait-","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/shamanez/BERT-like-is-All-You-Need","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fairseq-a-fast-extensible-toolkit-for","repo_url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"text-generation","task_name":"Text Generation"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1904.01038","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1904.01038"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pytorch/fairseq","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/fairseq","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucylow/En_francais_si_vous_plait-","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shamanez/BERT-like-is-All-You-Need","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/guxm2021/MM_ALT","reach":null}],"summary":{"ran":1,"unverified":10},"by_repo_kind":{"listed":{"samples":11,"ran":1,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"82bdf940665aeeb4","entry":"safe_readline","repo":"lucylow/En_francais_si_vous_plait-","repo_kind":"listed","path":"fairseq/binarizer.py","file_url":"https://github.com/lucylow/En_francais_si_vous_plait-/blob/HEAD/fairseq/binarizer.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"82bdf940665aeeb4"}},{"code_sha256_prefix":"643aaa360b67507d","entry":"BaseFairseqModel","repo":"shamanez/Self-Supervised-Embedding-Fusion-Transformer","repo_kind":"listed","path":"fairseq/models/fairseq_model.py","file_url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer/blob/HEAD/fairseq/models/fairseq_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"643aaa360b67507d"}},{"code_sha256_prefix":"6246029f336abedb","entry":"FairseqDecoder","repo":"shamanez/Self-Supervised-Embedding-Fusion-Transformer","repo_kind":"listed","path":"fairseq/models/fairseq_model.py","file_url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer/blob/HEAD/fairseq/models/fairseq_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6246029f336abedb"}},{"code_sha256_prefix":"d59c837267d50f3e","entry":"FairseqEncoder","repo":"shamanez/Self-Supervised-Embedding-Fusion-Transformer","repo_kind":"listed","path":"fairseq/models/fairseq_model.py","file_url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer/blob/HEAD/fairseq/models/fairseq_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d59c837267d50f3e"}},{"code_sha256_prefix":"b9953d0a0c506a94","entry":"FairseqEncoderDecoderModel","repo":"shamanez/Self-Supervised-Embedding-Fusion-Transformer","repo_kind":"listed","path":"fairseq/models/fairseq_model.py","file_url":"https://github.com/shamanez/Self-Supervised-Embedding-Fusion-Transformer/blob/HEAD/fairseq/models/fairseq_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b9953d0a0c506a94"}},{"code_sha256_prefix":"298c9f17837dca68","entry":"FairseqWav2Vec2","repo":"guxm2021/MM_ALT","repo_kind":"listed","path":"speechbrain/lobes/models/fairseq_wav2vec.py","file_url":"https://github.com/guxm2021/MM_ALT/blob/HEAD/speechbrain/lobes/models/fairseq_wav2vec.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"298c9f17837dca68"}},{"code_sha256_prefix":"9eda7f80331d658c","entry":"dataset_dest_prefix","repo":"lucylow/En_francais_si_vous_plait-","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/lucylow/En_francais_si_vous_plait-/blob/HEAD/preprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"9eda7f80331d658c"}},{"code_sha256_prefix":"8cc369a929f16e9a","entry":"download_file","repo":"guxm2021/MM_ALT","repo_kind":"listed","path":"speechbrain/lobes/models/fairseq_wav2vec.py","file_url":"https://github.com/guxm2021/MM_ALT/blob/HEAD/speechbrain/lobes/models/fairseq_wav2vec.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8cc369a929f16e9a"}},{"code_sha256_prefix":"c5ea9d48b6fc2167","entry":"load_checkpoint","repo":"lucylow/En_francais_si_vous_plait-","repo_kind":"listed","path":"fairseq/checkpoint_utils.py","file_url":"https://github.com/lucylow/En_francais_si_vous_plait-/blob/HEAD/fairseq/checkpoint_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"c5ea9d48b6fc2167"}},{"code_sha256_prefix":"df40d96cc20e7f57","entry":"load_checkpoint_to_cpu","repo":"lucylow/En_francais_si_vous_plait-","repo_kind":"listed","path":"fairseq/checkpoint_utils.py","file_url":"https://github.com/lucylow/En_francais_si_vous_plait-/blob/HEAD/fairseq/checkpoint_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"df40d96cc20e7f57"}},{"code_sha256_prefix":"b3616a62387703cb","entry":"save_checkpoint","repo":"lucylow/En_francais_si_vous_plait-","repo_kind":"listed","path":"fairseq/checkpoint_utils.py","file_url":"https://github.com/lucylow/En_francais_si_vous_plait-/blob/HEAD/fairseq/checkpoint_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"b3616a62387703cb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}