{"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/bidirectional-lstm-crf-models-for-sequence","title":"Bidirectional LSTM-CRF Models for Sequence Tagging","arxiv_id":"1508.01991","date":"2015-08-09","proceeding":null,"authors":["Zhiheng Huang","Wei Xu","Kai Yu"],"abstract":"In this paper, we propose a variety of Long Short-Term Memory (LSTM) based\nmodels for sequence tagging. These models include LSTM networks, bidirectional\nLSTM (BI-LSTM) networks, LSTM with a Conditional Random Field (CRF) layer\n(LSTM-CRF) and bidirectional LSTM with a CRF layer (BI-LSTM-CRF). Our work is\nthe first to apply a bidirectional LSTM CRF (denoted as BI-LSTM-CRF) model to\nNLP benchmark sequence tagging data sets. We show that the BI-LSTM-CRF model\ncan efficiently use both past and future input features thanks to a\nbidirectional LSTM component. It can also use sentence level tag information\nthanks to a CRF layer. The BI-LSTM-CRF model can produce state of the art (or\nclose to) accuracy on POS, chunking and NER data sets. In addition, it is\nrobust and has less dependence on word embedding as compared to previous\nobservations.","url_abs":"http://arxiv.org/abs/1508.01991v1","url_pdf":"http://arxiv.org/pdf/1508.01991v1.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":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/Akshayanti/supersense-sequence-labelling","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/DimasDMM/diseases-ner","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/GlassyWing/bi-lstm-crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/HassanAzzam/Arabic-NER","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/JZ-LIANG/CRF-LSTM-NER","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/UcasLzz/CWS","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/UcasLzz/ChineseWordSeg-POS","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/akshay-gupta123/BI-LSTM-CRF_Tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/aonotas/deep-crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/baiyang2464/chatbot-base-on-Knowledge-Graph","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/determined22/zh-ner-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/epwalsh/pytorch-crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/guillaumegenthial/tf_ner","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/gxzzz/bilstm-crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/hazelnutsgz/Naive-LSTM-CRF","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/jidasheng/bi-lstm-crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/kyzhouhzau/CCLNER","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/moejoe95/crf-vs-rnn-ner","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/sarveshsparab/BiLSTMCRFSeqTag","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/sumehta/bilstm_crf_extract","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/zysite/post","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/2023-MindSpore-1/ms-code-5/tree/main/lstm_crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/MindSpore-paper-code-3/code9/tree/main/lstm_crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"bidirectional-lstm-crf-models-for-sequence","repo_url":"https://github.com/mindspore-ai/models/tree/master/research/nlp/lstm_crf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"chunking","task_name":"Chunking"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"},{"task_slug":"pos","task_name":"POS"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":"tag","task_name":"TAG"}],"methods":[{"method_slug":"crf","method_name":"CRF"},{"method_slug":"lstm","method_name":"LSTM"},{"method_slug":"sigmoid-activation","method_name":"Sigmoid Activation"},{"method_slug":"tanh-activation","method_name":"Tanh Activation"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/chunking-on-penn-treebank","task":"Chunking","dataset":"Penn Treebank","model":"BI-LSTM-CRF (Senna) (ours)","rank_in_archive_order":8,"of":8,"metrics":{"F1 score":"94.46"},"uses_additional_data":false},{"leaderboard":"/sota/named-entity-recognition-on-findvehicle","task":"Named Entity Recognition (NER)","dataset":"FindVehicle","model":"BiLSTM-CRF","rank_in_archive_order":1,"of":3,"metrics":{"F1 Score":"49.5"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1508.01991","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1508.01991"}},"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/JZ-LIANG/CRF-LSTM-NER","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/akshay-gupta123/BI-LSTM-CRF_Tensorflow","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MindSpore-paper-code-3/code9/tree/main/lstm_crf","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/determined22/zh-ner-tf","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aonotas/deep-crf","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UcasLzz/ChineseWordSeg-POS","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sumehta/bilstm_crf_extract","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/baiyang2464/chatbot-base-on-Knowledge-Graph","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/DimasDMM/diseases-ner","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kyzhouhzau/CCLNER","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/2023-MindSpore-1/ms-code-5/tree/main/lstm_crf","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/guillaumegenthial/tf_ner","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sarveshsparab/BiLSTMCRFSeqTag","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zysite/post","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UcasLzz/CWS","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gxzzz/bilstm-crf","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/GlassyWing/bi-lstm-crf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jidasheng/bi-lstm-crf","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/HassanAzzam/Arabic-NER","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/epwalsh/pytorch-crf","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hazelnutsgz/Naive-LSTM-CRF","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/moejoe95/crf-vs-rnn-ner","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mindspore-ai/models/tree/master/research/nlp/lstm_crf","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Akshayanti/supersense-sequence-labelling","reach":{"status":"ok"}}],"summary":{"unverified":8},"by_repo_kind":{"listed":{"samples":8,"ran":0,"repositories":2}},"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":0,"samples":[{"code_sha256_prefix":"37cca9481c5cf8bc","entry":"arguments_filepath","repo":"jidasheng/bi-lstm-crf","repo_kind":"listed","path":"bi_lstm_crf/app/utils.py","file_url":"https://github.com/jidasheng/bi-lstm-crf/blob/HEAD/bi_lstm_crf/app/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":true,"mcp_get_code":{"code_sha256":"37cca9481c5cf8bc"}},{"code_sha256_prefix":"fb8b6b45dbfda514","entry":"build_vocab","repo":"ngoquanghuy99/POS-Tagging-BiLSTM-CRF","repo_kind":"listed","path":"build_vocabulary.py","file_url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF/blob/HEAD/build_vocabulary.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":true,"mcp_get_code":{"code_sha256":"fb8b6b45dbfda514"}},{"code_sha256_prefix":"04343636ba9e4577","entry":"get_word_tag","repo":"ngoquanghuy99/POS-Tagging-BiLSTM-CRF","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF/blob/HEAD/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":true,"mcp_get_code":{"code_sha256":"04343636ba9e4577"}},{"code_sha256_prefix":"4224c7914f484bfc","entry":"load_json_file","repo":"jidasheng/bi-lstm-crf","repo_kind":"listed","path":"bi_lstm_crf/app/preprocessing/utils.py","file_url":"https://github.com/jidasheng/bi-lstm-crf/blob/HEAD/bi_lstm_crf/app/preprocessing/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":true,"mcp_get_code":{"code_sha256":"4224c7914f484bfc"}},{"code_sha256_prefix":"270d6bd48a51f2ae","entry":"log_sum_exp","repo":"jidasheng/bi-lstm-crf","repo_kind":"listed","path":"bi_lstm_crf/model/crf.py","file_url":"https://github.com/jidasheng/bi-lstm-crf/blob/HEAD/bi_lstm_crf/model/crf.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":true,"mcp_get_code":{"code_sha256":"270d6bd48a51f2ae"}},{"code_sha256_prefix":"2b53a6f0ec5f47e8","entry":"model_filepath","repo":"jidasheng/bi-lstm-crf","repo_kind":"listed","path":"bi_lstm_crf/app/utils.py","file_url":"https://github.com/jidasheng/bi-lstm-crf/blob/HEAD/bi_lstm_crf/app/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":true,"mcp_get_code":{"code_sha256":"2b53a6f0ec5f47e8"}},{"code_sha256_prefix":"763097a5a92e92d6","entry":"preprocess","repo":"ngoquanghuy99/POS-Tagging-BiLSTM-CRF","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF/blob/HEAD/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":true,"mcp_get_code":{"code_sha256":"763097a5a92e92d6"}},{"code_sha256_prefix":"112daf6361c8290f","entry":"processing","repo":"ngoquanghuy99/POS-Tagging-BiLSTM-CRF","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/ngoquanghuy99/POS-Tagging-BiLSTM-CRF/blob/HEAD/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":true,"mcp_get_code":{"code_sha256":"112daf6361c8290f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}