{"id":24349,"name":"hf-trim","description":"Reduce the size of pretrained Hugging Face models via vocabulary trimming.","url":"https://github.com/iamadisri/hf-trim","last_synced_at":"2025-09-05T02:19:23.382Z","repository":{"id":55191555,"uuid":"473748286","full_name":"IamAdiSri/hf-trim","owner":"IamAdiSri","description":"Reduce the size of pretrained Hugging Face models via vocabulary trimming.","archived":false,"fork":false,"pushed_at":"2022-12-28T03:42:33.000Z","size":54,"stargazers_count":45,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-17T11:13:42.809Z","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":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IamAdiSri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-03-24T19:35:44.000Z","updated_at":"2025-06-11T03:38:25.000Z","dependencies_parsed_at":"2023-01-31T05:45:36.467Z","dependency_job_id":null,"html_url":"https://github.com/IamAdiSri/hf-trim","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/IamAdiSri/hf-trim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699926,"owners_count":25152330,"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-05T02:00:09.113Z","response_time":402,"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":"IamAdiSri","name":"Aditya Srivastava","uuid":"9818842","kind":"user","description":"Graduate Student at CU Boulder | Ex NLProc and ML Engineer at SentiSum | Ex NLProc Researcher at LTRC IIIT-H | Ex ML Research Intern at ICAR-CNR Italy","email":"","website":"https://www.linkedin.com/in/IamAdiSri","location":"United States","twitter":"IamAdiSri","company":"University of Colorado, Boulder","icon_url":"https://avatars.githubusercontent.com/u/9818842?u=d23c314bcb3cddb5743e66c50335843d87ea8aeb\u0026v=4","repositories_count":12,"last_synced_at":"2023-03-01T21:20:21.521Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/IamAdiSri","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-12T16:51:45.149Z","updated_at":"2023-03-01T21:20:21.526Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri/repositories"},"packages":[{"id":4464864,"name":"hf-trim","ecosystem":"pypi","description":"A tool to reduce the size of Hugging Face models via vocabulary trimming.","homepage":"https://github.com/IamAdiSri/hf-trim","licenses":"MPL","normalized_licenses":["Other"],"repository_url":"https://github.com/IamAdiSri/hf-trim","keywords_array":[],"namespace":null,"versions_count":4,"first_release_published_at":"2022-06-06T19:20:19.000Z","latest_release_published_at":"2022-08-15T14:14:40.000Z","latest_release_number":"3.0.1","last_synced_at":"2025-07-16T02:33:43.987Z","created_at":"2022-06-06T19:32:39.066Z","updated_at":"2025-07-16T10:38:06.991Z","registry_url":"https://pypi.org/project/hf-trim/","install_command":"pip install hf-trim --index-url https://pypi.org/simple","documentation_url":"https://hf-trim.readthedocs.io/","metadata":{"funding":null,"documentation":null,"classifiers":["Development Status :: 4 - Beta","Intended Audience :: Developers","Intended Audience :: Science/Research","License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)","Operating System :: OS Independent","Programming Language :: Python :: 3","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Topic :: Scientific/Engineering :: Artificial Intelligence"],"normalized_name":"hf-trim"},"repo_metadata":{"id":55191555,"uuid":"473748286","full_name":"IamAdiSri/hf-trim","owner":"IamAdiSri","description":"Reduce the size of pretrained Hugging Face models via vocabulary trimming.","archived":false,"fork":false,"pushed_at":"2022-12-28T03:42:33.000Z","size":54,"stargazers_count":45,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-15T20:14:48.535Z","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":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IamAdiSri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-03-24T19:35:44.000Z","updated_at":"2025-06-11T03:38:25.000Z","dependencies_parsed_at":"2023-01-31T05:45:36.467Z","dependency_job_id":null,"html_url":"https://github.com/IamAdiSri/hf-trim","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/IamAdiSri/hf-trim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265503489,"owners_count":23778096,"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"},"owner_record":{"login":"IamAdiSri","name":"Aditya Srivastava","uuid":"9818842","kind":"user","description":"Graduate Student at CU Boulder | Ex NLProc and ML Engineer at SentiSum | Ex NLProc Researcher at LTRC IIIT-H | Ex ML Research Intern at ICAR-CNR Italy","email":"","website":"https://www.linkedin.com/in/IamAdiSri","location":"United States","twitter":"IamAdiSri","company":"University of Colorado, Boulder","icon_url":"https://avatars.githubusercontent.com/u/9818842?u=d23c314bcb3cddb5743e66c50335843d87ea8aeb\u0026v=4","repositories_count":12,"last_synced_at":"2023-03-01T21:20:21.521Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/IamAdiSri","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-12T16:51:45.149Z","updated_at":"2023-03-01T21:20:21.526Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamAdiSri/repositories"},"tags":[{"name":"v3.0.1-beta","sha":"2f2ffd1ab3fbfd9c993d86c11f64e0a80c849f63","kind":"commit","published_at":"2022-08-15T14:08:49.000Z","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/v3.0.1-beta","html_url":"https://github.com/IamAdiSri/hf-trim/releases/tag/v3.0.1-beta","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/IamAdiSri/hf-trim@v3.0.1-beta","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v3.0.1-beta","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v3.0.1-beta/manifests"},{"name":"v3.0.0-beta","sha":"0f00f2bca8b5a4f8c8be14090aa978d84b0fe73a","kind":"commit","published_at":"2022-08-09T19:58:00.000Z","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/v3.0.0-beta","html_url":"https://github.com/IamAdiSri/hf-trim/releases/tag/v3.0.0-beta","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/IamAdiSri/hf-trim@v3.0.0-beta","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v3.0.0-beta","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v3.0.0-beta/manifests"},{"name":"v2.3.2-beta","sha":"34b936836fd96983b955ce24f648c5d7da8d5c35","kind":"commit","published_at":"2022-08-09T13:29:05.000Z","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/v2.3.2-beta","html_url":"https://github.com/IamAdiSri/hf-trim/releases/tag/v2.3.2-beta","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/IamAdiSri/hf-trim@v2.3.2-beta","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v2.3.2-beta","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v2.3.2-beta/manifests"},{"name":"v2.3.1-beta","sha":"05652f900ece92ed2ecad63f1614ed3992bd561a","kind":"commit","published_at":"2022-06-06T08:35:38.000Z","download_url":"https://codeload.github.com/IamAdiSri/hf-trim/tar.gz/v2.3.1-beta","html_url":"https://github.com/IamAdiSri/hf-trim/releases/tag/v2.3.1-beta","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/IamAdiSri/hf-trim@v2.3.1-beta","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v2.3.1-beta","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/tags/v2.3.1-beta/manifests"}]},"repo_metadata_updated_at":"2025-07-16T10:38:06.990Z","dependent_packages_count":0,"downloads":21,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":19.13921798583167,"dependent_repos_count":21.534861440080295,"dependent_packages_count":10.125576461732065,"stargazers_count":11.592517204613745,"forks_count":29.785838786996365,"docker_downloads_count":null,"average":18.435602375850827},"purl":"pkg:pypi/hf-trim","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/hf-trim","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pypi/hf-trim","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/hf-trim/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-05-11T09:31:50.746Z","issues_count":5,"pull_requests_count":0,"avg_time_to_close_issue":897646.0,"avg_time_to_close_pull_request":null,"issues_closed_count":3,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":4,"avg_comments_per_issue":5.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"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":1,"past_year_avg_comments_per_issue":4.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,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/issues","maintainers":[{"login":"IamAdiSri","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/IamAdiSri"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/hf-trim/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/hf-trim/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/hf-trim/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/hf-trim/related_packages","maintainers":[{"uuid":"IamAdiSri","login":"IamAdiSri","name":null,"email":null,"url":null,"packages_count":1,"html_url":"https://pypi.org/user/IamAdiSri/","role":null,"created_at":"2023-02-25T23:11:43.121Z","updated_at":"2023-02-25T23:11:43.121Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/IamAdiSri/packages"}],"registry":{"name":"pypi.org","url":"https://pypi.org","ecosystem":"pypi","default":true,"packages_count":724957,"maintainers_count":308274,"namespaces_count":0,"keywords_count":237984,"github":"pypi","metadata":{"funded_packages_count":50481},"icon_url":"https://github.com/pypi.png","created_at":"2022-04-04T15:19:23.364Z","updated_at":"2025-09-04T05:23:51.177Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/namespaces"}}],"commits":{"message":"Repository syncing started."},"issues_stats":{"full_name":"IamAdiSri/hf-trim","html_url":"https://github.com/IamAdiSri/hf-trim","last_synced_at":"2025-06-15T19:45:55.181Z","status":null,"issues_count":6,"pull_requests_count":0,"avg_time_to_close_issue":897646.0,"avg_time_to_close_pull_request":null,"issues_closed_count":3,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":5,"avg_comments_per_issue":4.166666666666667,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"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":1,"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":"2023-05-15T03:49:48.294Z","updated_at":"2025-09-01T18:07:47.856Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamAdiSri%2Fhf-trim/issues","issue_labels_count":{"bug":2},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":4,"OWNER":2},"pull_request_author_associations_count":{},"issue_authors":{"IamAdiSri":2,"tatiana-iazykova":1,"SoshyHayami":1,"silver-seashell":1,"BakingBrains":1},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-03T00:00:08.273Z","repositories_count":10064235,"issues_count":31125951,"pull_requests_count":94623210,"authors_count":10686933,"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":{"NONE":1},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"silver-seashell":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"IamAdiSri","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/IamAdiSri"}],"active_maintainers":[]},"events":{"total":{"WatchEvent":3},"last_year":{"WatchEvent":3}},"keywords":[],"dependencies":[{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2022-08-14T15:33:23.728Z","updated_at":"2022-08-14T15:33:23.728Z","repository_link":"https://github.com/IamAdiSri/hf-trim/blob/main/setup.py","dependencies":[{"id":1579809633,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.22.3","direct":true,"kind":"runtime","optional":false},{"id":1579809634,"package_name":"protobuf","ecosystem":"pypi","requirements":"\u003e=3.19.4","direct":true,"kind":"runtime","optional":false},{"id":1579809635,"package_name":"tokenizers","ecosystem":"pypi","requirements":"\u003e=0.11.6","direct":true,"kind":"runtime","optional":false},{"id":1579809636,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=1.11.0","direct":true,"kind":"runtime","optional":false},{"id":1579809637,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.63.1","direct":true,"kind":"runtime","optional":false},{"id":1579809638,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.17.0","direct":true,"kind":"runtime","optional":false},{"id":1579809639,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"\u003e=0.1.96","direct":true,"kind":"runtime","optional":false}]}],"score":null,"created_at":"2025-09-04T15:50:56.182Z","updated_at":"2025-10-07T08:11:14.511Z","avatar_url":"https://github.com/IamAdiSri.png","language":"Python","category":null,"sub_category":null,"monthly_downloads":21,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/24349","html_url":"https://science.ecosyste.ms/projects/24349","bibtex_url":"https://science.ecosyste.ms/projects/24349/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/24349/export.apalike"}