{"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/ncrf-an-open-source-neural-sequence-labeling","title":"NCRF++: An Open-source Neural Sequence Labeling Toolkit","arxiv_id":"1806.05626","date":"2018-06-14","proceeding":"ACL 2018 7","authors":["Jie Yang","Yue Zhang"],"abstract":"This paper describes NCRF++, a toolkit for neural sequence labeling. NCRF++\nis designed for quick implementation of different neural sequence labeling\nmodels with a CRF inference layer. It provides users with an inference for\nbuilding the custom model structure through configuration file with flexible\nneural feature design and utilization. Built on PyTorch, the core operations\nare calculated in batch, making the toolkit efficient with the acceleration of\nGPU. It also includes the implementations of most state-of-the-art neural\nsequence labeling models such as LSTM-CRF, facilitating reproducing and\nrefinement on those methods.","url_abs":"http://arxiv.org/abs/1806.05626v2","url_pdf":"http://arxiv.org/pdf/1806.05626v2.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":"ncrf-an-open-source-neural-sequence-labeling","repo_url":"https://github.com/jiesutd/NCRFpp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"ncrf-an-open-source-neural-sequence-labeling","repo_url":"https://github.com/jiesutd/PyTorchSeqLabel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"ncrf-an-open-source-neural-sequence-labeling","repo_url":"https://github.com/jiesutd/Text-Attention-Heatmap-Visualization","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"chunking","task_name":"Chunking"},{"task_slug":null,"task_name":"GPU"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"},{"task_slug":"part-of-speech-tagging","task_name":"Part-Of-Speech Tagging"}],"methods":[{"method_slug":"crf","method_name":"CRF"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/chunking-on-penn-treebank","task":"Chunking","dataset":"Penn Treebank","model":"NCRF++","rank_in_archive_order":7,"of":8,"metrics":{"F1 score":"95.06"},"uses_additional_data":false},{"leaderboard":"/sota/named-entity-recognition-ner-on-conll-2003","task":"Named Entity Recognition (NER)","dataset":"CoNLL 2003 (English)","model":"NCRF++","rank_in_archive_order":64,"of":73,"metrics":{"F1":"91.35"},"uses_additional_data":false},{"leaderboard":"/sota/part-of-speech-tagging-on-penn-treebank","task":"Part-Of-Speech Tagging","dataset":"Penn Treebank","model":"NCRF++","rank_in_archive_order":14,"of":20,"metrics":{"Accuracy":"97.49"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1806.05626","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1806.05626"}},"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/jiesutd/Text-Attention-Heatmap-Visualization","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jiesutd/NCRFpp","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jiesutd/PyTorchSeqLabel","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"unverified":8},"by_repo_kind":{"listed":{"samples":9,"ran":1,"repositories":1}},"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":"8e960fbb64668568","entry":"log_sum_exp","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"model/crf.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/model/crf.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8e960fbb64668568"}},{"code_sha256_prefix":"73cae25332218360","entry":"build_pretrain_embedding","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"utils/functions.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/utils/functions.py","link_basis":"harvester_set","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":"73cae25332218360"}},{"code_sha256_prefix":"fa74990a86a30699","entry":"config_file_to_dict","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"utils/data.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/utils/data.py","link_basis":"harvester_set","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":"fa74990a86a30699"}},{"code_sha256_prefix":"1b6406aa4e398f9e","entry":"normalize_word","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"utils/functions.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/utils/functions.py","link_basis":"harvester_set","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":"1b6406aa4e398f9e"}},{"code_sha256_prefix":"aaa3111ce53d90b2","entry":"predict_check","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"main_parse.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/main_parse.py","link_basis":"harvester_set","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":"aaa3111ce53d90b2"}},{"code_sha256_prefix":"d3f2fbee57872af8","entry":"read_instance","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"utils/functions.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/utils/functions.py","link_basis":"harvester_set","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":"d3f2fbee57872af8"}},{"code_sha256_prefix":"32ca37a4d4b774d3","entry":"recover_label","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"main_parse.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/main_parse.py","link_basis":"harvester_set","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":"32ca37a4d4b774d3"}},{"code_sha256_prefix":"d063cd5337b072b7","entry":"recover_nbest_label","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"main_parse.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/main_parse.py","link_basis":"harvester_set","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":"d063cd5337b072b7"}},{"code_sha256_prefix":"89bc3ed968d941b8","entry":"str2bool","repo":"jiesutd/PyTorchSeqLabel","repo_kind":"listed","path":"utils/data.py","file_url":"https://github.com/jiesutd/PyTorchSeqLabel/blob/HEAD/utils/data.py","link_basis":"harvester_set","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":"89bc3ed968d941b8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}