{"id":15700373,"url":"https://github.com/soumik12345/gpt","last_synced_at":"2025-04-15T16:43:28.522Z","repository":{"id":56442785,"uuid":"308469179","full_name":"soumik12345/GPT","owner":"soumik12345","description":"A minimal implementation of Generative Pre-Training or GPT","archived":false,"fork":false,"pushed_at":"2020-11-07T18:16:52.000Z","size":150,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T22:35:23.703Z","etag":null,"topics":["deep-learning","gpt-2","keras","nlp","openai","tensorflow"],"latest_commit_sha":null,"homepage":"https://s3-us-west-2.amazonaws.com/openai-assets/research-covers/language-unsupervised/language_understanding_paper.pdf","language":"Jupyter Notebook","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/soumik12345.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}},"created_at":"2020-10-29T22:56:30.000Z","updated_at":"2024-09-06T00:14:58.000Z","dependencies_parsed_at":"2022-08-15T18:50:26.994Z","dependency_job_id":null,"html_url":"https://github.com/soumik12345/GPT","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/soumik12345%2FGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soumik12345%2FGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soumik12345%2FGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soumik12345%2FGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soumik12345","download_url":"https://codeload.github.com/soumik12345/GPT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110687,"owners_count":21214379,"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":["deep-learning","gpt-2","keras","nlp","openai","tensorflow"],"created_at":"2024-10-03T19:48:15.998Z","updated_at":"2025-04-15T16:43:28.501Z","avatar_url":"https://github.com/soumik12345.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPT (Ongoing)\n\nTensorflow implementation of Generative Pre-Training on GPT.\n\n![](./assets/gpt.png)\n\n# Experiments\n\n## Language Model\n\n![](./assets/text_entailment.png)\n\n```python\nfrom gpt.experiments.utils import init_wandb\nfrom gpt.experiments.language_model import IMDBReviewLanguageExperiment\n\nexperiment = IMDBReviewLanguageExperiment()\ninit_wandb(\n    project_name='gpt', experiment_name='imdb_language_model',\n    wandb_api_key='69696969696969696969696969696969696969696'\n)\nexperiment.build_dataset('https://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz')\nexperiment.compile()\nstart_text = 'the actor was'\nstart_tokens = experiment.tokenize(start_text=start_text)\nexperiment.train(\n    epochs=30, start_tokens=start_tokens,\n    max_length=100, max_tokens=40, top_k=10,\n    infer_every=1, log_on_wandb=True\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoumik12345%2Fgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoumik12345%2Fgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoumik12345%2Fgpt/lists"}