{"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/zs4ie-a-toolkit-for-zero-shot-information","title":"ZS4IE: A toolkit for Zero-Shot Information Extraction with simple Verbalizations","arxiv_id":"2203.13602","date":"2022-03-25","proceeding":"NAACL (ACL) 2022 7","authors":["Oscar Sainz","Haoling Qiu","Oier Lopez de Lacalle","Eneko Agirre","Bonan Min"],"abstract":"The current workflow for Information Extraction (IE) analysts involves the definition of the entities/relations of interest and a training corpus with annotated examples. In this demonstration we introduce a new workflow where the analyst directly verbalizes the entities/relations, which are then used by a Textual Entailment model to perform zero-shot IE. We present the design and implementation of a toolkit with a user interface, as well as experiments on four IE tasks that show that the system achieves very good performance at zero-shot learning using only 5--15 minutes per type of a user's effort. Our demonstration system is open-sourced at https://github.com/BBN-E/ZS4IE . A demonstration video is available at https://vimeo.com/676138340 .","url_abs":"https://arxiv.org/abs/2203.13602v3","url_pdf":"https://arxiv.org/pdf/2203.13602v3.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":"zs4ie-a-toolkit-for-zero-shot-information","repo_url":"https://github.com/bbn-e/zs4ie","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"zs4ie-a-toolkit-for-zero-shot-information","repo_url":"https://github.com/osainz59/Ask2Transformers","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"natural-language-inference","task_name":"Natural Language Inference"},{"task_slug":"zero-shot-learning","task_name":"Zero-Shot Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2203.13602","atlas_url":"https://app.syntology.ai/?focus=2203.13602","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.13602"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/osainz59/Ask2Transformers","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bbn-e/zs4ie","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/BBN-E/ZS4IE","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":2,"ran":4,"unverified":5},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1},"listed":{"samples":8,"ran":3,"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":"cf39fb09b4f7e706","entry":"apply_threshold","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cf39fb09b4f7e706"}},{"code_sha256_prefix":"2d43ff1db5ca20c8","entry":"f1_score_","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2d43ff1db5ca20c8"}},{"code_sha256_prefix":"134e416b45e3ce29","entry":"find_optimal_threshold","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"134e416b45e3ce29"}},{"code_sha256_prefix":"7d5e6da0f3787e3a","entry":"generate_entity_relation_key","repo":"BBN-E/ZS4IE","repo_kind":"official","path":"backend/a2t_service_backend.py","file_url":"https://github.com/BBN-E/ZS4IE/blob/HEAD/backend/a2t_service_backend.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7d5e6da0f3787e3a"}},{"code_sha256_prefix":"9f22a50bbb4a17d1","entry":"generate_mention_key","repo":"BBN-E/ZS4IE","repo_kind":"official","path":"backend/a2t_service_backend.py","file_url":"https://github.com/BBN-E/ZS4IE/blob/HEAD/backend/a2t_service_backend.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9f22a50bbb4a17d1"}},{"code_sha256_prefix":"7be655036a05fb30","entry":"serifxml_to_string","repo":"BBN-E/ZS4IE","repo_kind":"official","path":"backend/a2t_service_backend.py","file_url":"https://github.com/BBN-E/ZS4IE/blob/HEAD/backend/a2t_service_backend.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7be655036a05fb30"}},{"code_sha256_prefix":"a590d62785c3fa33","entry":"sigmoid","repo":"BBN-E/ZS4IE","repo_kind":"official","path":"serif/model/entity_linker.py","file_url":"https://github.com/BBN-E/ZS4IE/blob/HEAD/serif/model/entity_linker.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a590d62785c3fa33"}},{"code_sha256_prefix":"b7800bf465c4ead0","entry":"BinaryFeatures","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.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":"b7800bf465c4ead0"}},{"code_sha256_prefix":"e26beb437c1b9eca","entry":"BinaryTask","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.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":"e26beb437c1b9eca"}},{"code_sha256_prefix":"ac45f0bf994e8aaf","entry":"Features","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.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":"ac45f0bf994e8aaf"}},{"code_sha256_prefix":"0d3c1b57b3dc81b1","entry":"IncorrectFeatureTypeError","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.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":"0d3c1b57b3dc81b1"}},{"code_sha256_prefix":"c9033c25890f4270","entry":"Task","repo":"osainz59/Ask2Transformers","repo_kind":"listed","path":"a2t/tasks/base.py","file_url":"https://github.com/osainz59/Ask2Transformers/blob/HEAD/a2t/tasks/base.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":"c9033c25890f4270"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}