{"id":17603141,"url":"https://github.com/yjg30737/python-openai-wandb-tutorial","last_synced_at":"2026-04-16T18:38:51.782Z","repository":{"id":108707161,"uuid":"586391511","full_name":"yjg30737/python-openai-wandb-tutorial","owner":"yjg30737","description":"Use GPT-3 in Python with the OpenAI and WanDB","archived":false,"fork":false,"pushed_at":"2023-02-05T01:01:28.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T08:42:11.241Z","etag":null,"topics":["gpt","gpt-3","openai","openai-wandb","python-ai","wandb"],"latest_commit_sha":null,"homepage":"","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/yjg30737.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":"2023-01-08T00:35:38.000Z","updated_at":"2023-01-08T00:57:06.000Z","dependencies_parsed_at":"2023-04-11T16:46:10.290Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/python-openai-wandb-tutorial","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/yjg30737%2Fpython-openai-wandb-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-openai-wandb-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-openai-wandb-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-openai-wandb-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/python-openai-wandb-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680985,"owners_count":19679509,"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":["gpt","gpt-3","openai","openai-wandb","python-ai","wandb"],"created_at":"2024-10-22T13:41:09.475Z","updated_at":"2025-12-14T04:30:16.456Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-openai-wandb-tutorial\nUse GPT-3 in Python with the OpenAI and WanDB\n\n## How to Use\n1. `git clone ~`\n2. `python -m pip install openai wandb==0.13.4` - i'll explain below why i installed the certain version of wandb\n3. get openai api from \u003ca href=\"https://beta.openai.com/account/api-keys\"\u003ehere\u003c/a\u003e after sign up or login\n4. paste it to [MY_OPENAPI_API_KEY] in main.py\n5. get wandb api, read \u003ca href=\"https://docs.wandb.ai/quickstart\"\u003ethis tutorial provided by wandb\u003c/a\u003e to figure it out\n6. type `wandb login` and paste your wandb api when they demand it\n7. type `python main.py` to run\n8. wait till the end\n\n※ If you can't install it then see the Note below\n\n## Result\n\nThe answer generated by GPT-3 will be printed.\n\nThe question in this script is\n\n`Correct this to standard English:\\n\\nShe no went to the market.`\n\nThe answer is\n\n`She didn't go to the market.`\n\nWanDB makes a bunch of files such as log in the project directory.\n\nYou can see the tables and graph of the statistics of this in your wandb profile page as well.\n\n## Note\nThis is using the \u003ca href=\"https://beta.openai.com/docs/models/gpt-3\"\u003etext-davinci-003\u003c/a\u003e model at GPT-3 which is latest one at this moment(2023-01-08).\n\nThis is the most accurate one, and also the slowest.\n\nYou have to install certain version of wandb(0.13.4) since \u003ca href=\"https://github.com/wandb/wandb/issues/4583\"\u003ethis error\u003c/a\u003e occurs.\n\nIf you can't install openai because of subprocess-exited-with-error, just \u003ca href=\"https://pypi.org/project/openai/#files\"\u003edownload\u003c/a\u003e this, extract it, type\n```\npython setup.py install\n```\nIt might install this darn thing\n\nThis project is based on this \u003ca href=\"https://wandb.ai/ivangoncharov/GPT-3%20in%20Python/reports/Use-GPT-3-in-Python-with-the-OpenAI-API-and-W-B-Tables--VmlldzoxOTg4NTMz\"\u003earticle\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpython-openai-wandb-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpython-openai-wandb-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpython-openai-wandb-tutorial/lists"}