{"id":22381848,"url":"https://github.com/googleinterns/localizing-paragraph-memorization","last_synced_at":"2025-07-31T02:32:59.926Z","repository":{"id":229892334,"uuid":"751947106","full_name":"googleinterns/localizing-paragraph-memorization","owner":"googleinterns","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-21T22:30:53.000Z","size":1875,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-29T13:50:13.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/googleinterns.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":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-02T17:14:49.000Z","updated_at":"2024-11-20T22:47:37.000Z","dependencies_parsed_at":"2024-03-26T20:30:22.527Z","dependency_job_id":"50d9ca6e-a1fe-462a-9f7b-f9d400e15705","html_url":"https://github.com/googleinterns/localizing-paragraph-memorization","commit_stats":null,"previous_names":["googleinterns/localizing-paragraph-memorization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Flocalizing-paragraph-memorization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Flocalizing-paragraph-memorization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Flocalizing-paragraph-memorization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Flocalizing-paragraph-memorization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleinterns","download_url":"https://codeload.github.com/googleinterns/localizing-paragraph-memorization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228209947,"owners_count":17885595,"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-12-05T00:10:39.605Z","updated_at":"2024-12-05T00:10:40.238Z","avatar_url":"https://github.com/googleinterns.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Localizing and Controlling Paragraph Level Recitation\n\nExplores how small open source LMs like GPT-Neo implement paragraph level recitation from the training data. Includes helper scripts and exploratory Jupyter notebooks. Work done by [Niklas Stoehr](https://niklas-stoehr.com/) during his winter 2023 research internship.\n\n**Not an official google project**\n## Project Structure\n\n### utils\n__________________________________________________\nhelper scripts with basic functionality that is used in different notebooks\n\n- patching\n- evaluation\n- dataLoaders\n- gradient\n- intervening\n- localizing\n- modelHandlers\n\n\n### notebooks\n__________________________________________________\nnotebooks to reproduce the main experiments\n\n#### 1 descriptive\n        - explorative\n        - token pertubation \n#### 2 localizing\n        - activation patching\n        - gradient-based attribution\n                - parameter gradients\n                - activation gradients\n        - attention head analysis\n#### 3 editing\n    \n    \n## paragraphs\n__________________________________________________\nCSV file of some paragraphs that are memorized  by GPT-neo-125M\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleinterns%2Flocalizing-paragraph-memorization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleinterns%2Flocalizing-paragraph-memorization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleinterns%2Flocalizing-paragraph-memorization/lists"}