{"id":32639568,"url":"https://github.com/cogcomp/pabi","last_synced_at":"2025-10-31T02:13:28.062Z","repository":{"id":70579347,"uuid":"404903103","full_name":"CogComp/PABI","owner":"CogComp","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-13T22:10:52.000Z","size":40,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2023-09-29T20:32:38.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CogComp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-10T00:01:07.000Z","updated_at":"2023-10-20T18:59:52.141Z","dependencies_parsed_at":null,"dependency_job_id":"c32bbfa7-7306-43b5-bb5a-49024e7970a2","html_url":"https://github.com/CogComp/PABI","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/CogComp/PABI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2FPABI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2FPABI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2FPABI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2FPABI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CogComp","download_url":"https://codeload.github.com/CogComp/PABI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CogComp%2FPABI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281914595,"owners_count":26583089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-31T02:13:23.789Z","updated_at":"2025-10-31T02:13:28.055Z","avatar_url":"https://github.com/CogComp.png","language":"Python","readme":"# PABI\nThis is the code repository for the EMNLP paper [Foreseeing the Benefits of Incidental Supervision](https://cogcomp.seas.upenn.edu/page/publication_view/959).\nIf you use this code for your work, please cite\n```\n@inproceedings{HZNR21,\n    author = {Hangfeng He and Mingyuan Zhang and Qiang Ning and Dan Roth},\n    title = {{Foreseeing the Benefits of Incidental Supervision}},\n    booktitle = {Proc. of the Conference on Empirical Methods in Natural Language Processing (EMNLP)},\n    year = {2021},\n    url = \"https://cogcomp.seas.upenn.edu/papers/HZNR21.pdf\",\n    funding = {LwLL, MURI, CwC},\n}\n```\n\n\n## Installing Dependencies\nUse virtual environment tools (e.g miniconda) to install packages and run experiments\\\npython\u003e=3.6\\\npip install -r requirements.txt\n\n## Code Organization\n\nThe code is organized as follows:\n- bpp.py (CWBPP algorithm for learning with various inductive signals)\n- run_ner.py (BERT for NER)\n- run_squad.py (BERT for QA)\n\n\n## Reproducing experiments\nTo reproduce the experiments for learning with various inductive signals:\n```\nsh run_experiments.sh\n```\n\nTo reproduce the experiments for cross-domain signals:\n```\nsh run_xdomain_ner_experiments.sh\nsh run_xdomain_qa_experiments.sh\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogcomp%2Fpabi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcogcomp%2Fpabi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcogcomp%2Fpabi/lists"}