{"id":19839819,"url":"https://github.com/qdata/mncover","last_synced_at":"2025-08-22T00:35:07.640Z","repository":{"id":83652168,"uuid":"488213124","full_name":"QData/MNCOVER","owner":"QData","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-11T03:27:49.000Z","size":2295,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T11:26:31.912Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QData.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-03T13:04:40.000Z","updated_at":"2023-04-14T12:47:00.000Z","dependencies_parsed_at":"2023-03-12T18:59:26.972Z","dependency_job_id":null,"html_url":"https://github.com/QData/MNCOVER","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QData%2FMNCOVER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QData%2FMNCOVER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QData%2FMNCOVER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QData%2FMNCOVER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QData","download_url":"https://codeload.github.com/QData/MNCOVER/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241209574,"owners_count":19927736,"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","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":"2024-11-12T12:24:29.131Z","updated_at":"2025-02-28T19:17:43.827Z","avatar_url":"https://github.com/QData.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MNCOVER\n\nThis repository contains code for white box testing of NLP models as described in the following paper:  \n\u003e[White-box Testing of NLP models with Mask Neuron Coverage](https://arxiv.org/abs/2004.11494)  \n\u003e https://arxiv.org/abs/2205.05050\n\u003e Findings of Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2022\n\n## Trained Masks and Initialization Files\nAll trained masks and initialization files can be found [here](https://drive.google.com/drive/folders/1u1a4gsUU4KGPQfUv_d1-MoaeL1UFEqo5?usp=sharing). \n\n## Initializing Coverage \n```\npython initialize_coverage.py --seed 1 --bins-word 10 --bins-attention 10   --max-seq-len 128 --batch-size 128 --alpha 1.0 --test-name \"change names\"  --suite sentiment --subset 1500 --base-model roberta-base --save-dir results/\n```\n\n## Filtering and Calculating Failure Rates \n```\npython calculate_coverage.py --seed 1 --bins-word 10 --bins-attention 10   --max-seq-len 128 --batch-size 128 --alpha 1.0 --test-name \"change names\"  --suite sentiment --subset 1500 --base-model roberta-base --save-dir results/\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdata%2Fmncover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqdata%2Fmncover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdata%2Fmncover/lists"}