{"id":19428948,"url":"https://github.com/eleutherai/pile-cc-filtering","last_synced_at":"2025-04-14T16:43:55.167Z","repository":{"id":105114331,"uuid":"305167684","full_name":"EleutherAI/pile-cc-filtering","owner":"EleutherAI","description":"The code used to filter CC data for The Pile","archived":false,"fork":false,"pushed_at":"2020-10-22T16:26:49.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T05:25:01.821Z","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/EleutherAI.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":"2020-10-18T18:19:23.000Z","updated_at":"2024-04-05T21:28:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"32bdde82-cace-4dda-b88f-32fa18f2746e","html_url":"https://github.com/EleutherAI/pile-cc-filtering","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/EleutherAI%2Fpile-cc-filtering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EleutherAI%2Fpile-cc-filtering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EleutherAI%2Fpile-cc-filtering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EleutherAI%2Fpile-cc-filtering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EleutherAI","download_url":"https://codeload.github.com/EleutherAI/pile-cc-filtering/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248918344,"owners_count":21183171,"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-10T14:17:18.455Z","updated_at":"2025-04-14T16:43:55.150Z","avatar_url":"https://github.com/EleutherAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pile-cc-filtering\n\nThis repository is used for filtering CC for Pile v1. \n\n\nThis procedure is largely based on the filtering detailed in the GPT3 paper; we train a fasttext classifier to classify between Pile data and CC data. \n\n## Usage\n\n1. Get fasttext training data from [The Pile](https://github.com/EleutherAI/The-Pile) (see instructions there)\n2. Get fasttext training data from CC (downloaded using [cc_downloader](https://github.com/leogao2/commoncrawl_downloader)) by running:\n```\npython make_cc_fasttext.py path/to/cc_data\n```\n3. Concatenate the training data files from both into a file called `fasttext_training.txt`\n4. Run:\n```\npython train_fasttext.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleutherai%2Fpile-cc-filtering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feleutherai%2Fpile-cc-filtering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleutherai%2Fpile-cc-filtering/lists"}