{"id":18096639,"url":"https://github.com/andreaschandra/code-gen-extended","last_synced_at":"2025-04-06T03:26:52.074Z","repository":{"id":237422065,"uuid":"667915583","full_name":"andreaschandra/code-gen-extended","owner":"andreaschandra","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-18T15:35:19.000Z","size":8011,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T09:49:49.770Z","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/andreaschandra.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-07-18T15:31:12.000Z","updated_at":"2023-07-18T15:36:52.000Z","dependencies_parsed_at":"2024-05-01T16:40:43.697Z","dependency_job_id":"3fca9d8c-b877-491f-b88b-5cbe207a4427","html_url":"https://github.com/andreaschandra/code-gen-extended","commit_stats":null,"previous_names":["andreaschandra/code-gen-extended"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaschandra%2Fcode-gen-extended","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaschandra%2Fcode-gen-extended/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaschandra%2Fcode-gen-extended/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaschandra%2Fcode-gen-extended/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreaschandra","download_url":"https://codeload.github.com/andreaschandra/code-gen-extended/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430080,"owners_count":20937802,"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-10-31T19:14:59.845Z","updated_at":"2025-04-06T03:26:52.046Z","avatar_url":"https://github.com/andreaschandra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Steps for Reproducing Milestone 2 Results \n### Fine-tuning GPT-2 on CodeSearchNet for Code Generation\n\n## Setup\n\nFrom /cs230/gpt-2-csn:\n\n$ pip install -r path/to/requirements.txt\n\n$ python download_model.py 117M\n\n## Data\n\n- Note that CodeSearchNet python training data is stored in /cs230/gpt-2-csn/src/pythonTrain/python_train_all.txt and git lfs tracked for space efficiency.\n\n- This dataset has been encoded and stored in /cs230/gpt-2-csn/src/pythonTrainPreprocessed/python_train_all.npz for space efficiency.\n\n- To encode your own data, the following script is compatible with a minimum python 3.7.x: $ python encode.py trainingData.txt trainingData.npz\n\n## Training\n\n$ python /src/train.py --dataset /src/pythonTrainPreprocessed/python_train_all.npz --model_name 117M\n\n- Samples will automatically be generated every 100 steps. \n\n- Additional parameters such as learning rate and batch size can be specified on the commandline.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaschandra%2Fcode-gen-extended","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreaschandra%2Fcode-gen-extended","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaschandra%2Fcode-gen-extended/lists"}