{"id":12372,"name":"belief-localization","description":"This repository includes code for the paper \"Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Can Be Injected in Language Models.\"","url":"https://github.com/google/belief-localization","last_synced_at":"2025-09-04T21:40:57.187Z","repository":{"id":65237883,"uuid":"579841680","full_name":"google/belief-localization","owner":"google","description":"This repository includes code for the paper \"Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Can Be Injected in Language Models.\"","archived":false,"fork":false,"pushed_at":"2023-05-09T21:19:53.000Z","size":534,"stargazers_count":61,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-03T09:37:59.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-19T04:07:47.000Z","updated_at":"2025-05-03T10:02:39.000Z","dependencies_parsed_at":"2025-04-11T22:57:49.785Z","dependency_job_id":"08465844-426e-493c-9c62-5880f6a6f06f","html_url":"https://github.com/google/belief-localization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/google/belief-localization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/belief-localization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273590247,"owners_count":25133056,"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-09-04T02:00:08.968Z","response_time":61,"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"}},"owner":{"login":"google","name":"Google","uuid":"1342004","kind":"organization","description":"Google ❤️ Open Source","email":"opensource@google.com","website":"https://opensource.google/","location":"United States of America","twitter":"GoogleOSS","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1342004?v=4","repositories_count":2773,"last_synced_at":"2025-08-12T15:55:14.931Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/google","funding_links":[],"total_stars":1967885,"followers":58475,"following":0,"created_at":"2022-11-02T16:20:58.973Z","updated_at":"2025-08-12T15:55:14.931Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google/repositories"},"packages":[],"commits":{"id":10757199,"full_name":"google/belief-localization","default_branch":"main","committers":[{"name":"peterhase","email":"peterhase@google.com","login":null,"count":379},{"name":"Asma","email":"aghandeharioun@google.com","login":"asmadotgh","count":16},{"name":"Peter Hase","email":"peterbhase@gmail.com","login":"peterbhase","count":8},{"name":"Ikko Eltociear Ashimine","email":"eltociear@gmail.com","login":"eltociear","count":1},{"name":"Michael","email":"michaelwilliamtang@gmail.com","login":"michaelwilliamtang","count":1}],"total_commits":405,"total_committers":5,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":81.0,"dds":0.06419753086419755,"past_year_committers":[],"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2025-09-02T10:21:46.680Z","last_synced_commit":"0886d8d6b99905a23e0d726b730f68fa4eca519e","created_at":"2025-08-12T15:39:34.417Z","updated_at":"2025-09-02T10:21:46.680Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-03T00:00:08.276Z","repositories_count":5480019,"commits_count":853389012,"contributors_count":31098138,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"google/belief-localization","html_url":"https://github.com/google/belief-localization","last_synced_at":"2025-09-01T07:21:36.138Z","status":"error","issues_count":5,"pull_requests_count":2,"avg_time_to_close_issue":997500.5,"avg_time_to_close_pull_request":1493352.5,"issues_closed_count":2,"pull_requests_closed_count":2,"pull_request_authors_count":2,"issue_authors_count":5,"avg_comments_per_issue":0.4,"avg_comments_per_pull_request":0.5,"merged_pull_requests_count":2,"bot_issues_count":1,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2024-05-01T18:17:15.076Z","updated_at":"2025-09-01T12:19:13.595Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbelief-localization/issues","issue_labels_count":{"allstar":1},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":4,"CONTRIBUTOR":1},"pull_request_author_associations_count":{"CONTRIBUTOR":2},"issue_authors":{"WLYangICT":1,"neo-9981":1,"google-allstar-prod[bot]":1,"michaelwilliamtang":1,"josejhlee":1},"pull_request_authors":{"eltociear":1,"michaelwilliamtang":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-02T00:00:07.986Z","repositories_count":10003568,"issues_count":30046829,"pull_requests_count":88401965,"authors_count":10056865,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"WatchEvent":6,"ForkEvent":1},"last_year":{"WatchEvent":6,"ForkEvent":1}},"keywords":[],"dependencies":[{"ecosystem":"pypi","filepath":"third_party/baselines/kn/knowledge_neurons/requirements.txt","sha":null,"kind":"manifest","created_at":"2023-01-15T19:15:50.585Z","updated_at":"2023-01-15T19:15:50.585Z","repository_link":"https://github.com/google/belief-localization/blob/main/third_party/baselines/kn/knowledge_neurons/requirements.txt","dependencies":[{"id":6932244211,"package_name":"transformers","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932244213,"package_name":"einops","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932244214,"package_name":"numpy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932244215,"package_name":"torch","ecosystem":"pypi","requirements":"==1.13.1","direct":true,"kind":"runtime","optional":false},{"id":6932244216,"package_name":"seaborn","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"third_party/baselines/kn/knowledge_neurons/setup.py","sha":null,"kind":"manifest","created_at":"2023-01-15T19:15:50.655Z","updated_at":"2023-01-15T19:15:50.655Z","repository_link":"https://github.com/google/belief-localization/blob/main/third_party/baselines/kn/knowledge_neurons/setup.py","dependencies":[{"id":6932244550,"package_name":"transformers","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"third_party/baselines/mend/requirements.txt","sha":null,"kind":"manifest","created_at":"2023-01-15T19:15:50.834Z","updated_at":"2023-01-15T19:15:50.834Z","repository_link":"https://github.com/google/belief-localization/blob/main/third_party/baselines/mend/requirements.txt","dependencies":[{"id":6932248807,"package_name":"hydra-core","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248810,"package_name":"numpy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248812,"package_name":"torch","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248814,"package_name":"click","ecosystem":"pypi","requirements":"==7.1.2","direct":true,"kind":"runtime","optional":false},{"id":6932248816,"package_name":"spacy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248818,"package_name":"allennlp","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248834,"package_name":"datasets","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248835,"package_name":"jsonlines","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932248836,"package_name":"wandb","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"third_party/requirements.txt","sha":null,"kind":"manifest","created_at":"2023-01-15T19:15:51.070Z","updated_at":"2023-01-15T19:15:51.070Z","repository_link":"https://github.com/google/belief-localization/blob/main/third_party/requirements.txt","dependencies":[{"id":6932250328,"package_name":"datasets","ecosystem":"pypi","requirements":"==1.18.3","direct":true,"kind":"runtime","optional":false},{"id":6932250329,"package_name":"python-dotenv","ecosystem":"pypi","requirements":"==0.19.2","direct":true,"kind":"runtime","optional":false},{"id":6932250330,"package_name":"accelerate","ecosystem":"pypi","requirements":"==0.10.0","direct":true,"kind":"runtime","optional":false},{"id":6932250331,"package_name":"unidecode","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932250332,"package_name":"hydra-core","ecosystem":"pypi","requirements":"==1.1.1","direct":true,"kind":"runtime","optional":false},{"id":6932250333,"package_name":"higher","ecosystem":"pypi","requirements":"==0.2.1","direct":true,"kind":"runtime","optional":false},{"id":6932250334,"package_name":"allennlp","ecosystem":"pypi","requirements":"==2.9.2","direct":true,"kind":"runtime","optional":false},{"id":6932250335,"package_name":"einops","ecosystem":"pypi","requirements":"==0.4.0","direct":true,"kind":"runtime","optional":false},{"id":6932250336,"package_name":"click","ecosystem":"pypi","requirements":"==8.0.3","direct":true,"kind":"runtime","optional":false},{"id":6932250337,"package_name":"tensorboard","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":6932250338,"package_name":"transformers","ecosystem":"pypi","requirements":"==4.21.0","direct":true,"kind":"runtime","optional":false},{"id":6932250339,"package_name":"tokenizers","ecosystem":"pypi","requirements":"==0.11.2","direct":true,"kind":"runtime","optional":false},{"id":6932250340,"package_name":"matplotlib","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]}],"score":5.768320995793772,"created_at":"2025-09-04T15:50:41.385Z","updated_at":"2025-10-07T08:07:27.508Z","avatar_url":"https://github.com/google.png","language":null,"category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/12372","html_url":"https://science.ecosyste.ms/projects/12372","bibtex_url":"https://science.ecosyste.ms/projects/12372/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/12372/export.apalike"}