{"id":16101493,"url":"https://github.com/mendhak/gpt2-custom-model-tutorial","last_synced_at":"2025-10-05T17:15:26.082Z","repository":{"id":232571380,"uuid":"625611619","full_name":"mendhak/GPT2-Custom-Model-Tutorial","owner":"mendhak","description":"Supporting setup and scripts for training your own custom model for GPT2","archived":false,"fork":false,"pushed_at":"2023-04-10T16:50:35.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T15:46:01.088Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendhak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-09T16:42:47.000Z","updated_at":"2023-09-08T18:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f002128-b554-4db0-8fa1-26c58b316b9e","html_url":"https://github.com/mendhak/GPT2-Custom-Model-Tutorial","commit_stats":null,"previous_names":["mendhak/gpt2-custom-model-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendhak/GPT2-Custom-Model-Tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FGPT2-Custom-Model-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FGPT2-Custom-Model-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FGPT2-Custom-Model-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FGPT2-Custom-Model-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/GPT2-Custom-Model-Tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2FGPT2-Custom-Model-Tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278486308,"owners_count":25994945,"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-10-05T02:00:06.059Z","response_time":54,"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"}},"keywords":[],"created_at":"2024-10-09T18:50:05.065Z","updated_at":"2025-10-05T17:15:26.058Z","avatar_url":"https://github.com/mendhak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Repository to support [a tutorial](https://towardsdatascience.com/train-gpt-2-in-your-own-language-fc6ad4d60171) on using GPT-2 to train your own model. Tested on Ubuntu 22.04 with NVidia RTX 2080 Ti. \n\n## Setup\n\n[Set up TensorFlow](https://www.tensorflow.org/install/pip#linux) by following the Step-by-step instructions, not the quick ones. Include steps to test the NVIDIA GPU and the fix for Ubuntu 22.04. \n\n\nRepeated instructions:\n\n```\nconda env create -f environment.conda.yml python=3.9\nconda activate tf\npip install -r requirements.txt\n\n```\n\n\n## Disk Usage\n\nA lot of files get downloaded and consume disk space. \n\nTransformers cache: ~/.cache/huggingface/  \nAnaconda: ~/anaconda3  \nMiniconda: ~/miniconda3  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fgpt2-custom-model-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Fgpt2-custom-model-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fgpt2-custom-model-tutorial/lists"}