{"id":19700223,"url":"https://github.com/dbeley/text_generator","last_synced_at":"2026-06-17T14:32:26.368Z","repository":{"id":44200598,"uuid":"183707807","full_name":"dbeley/text_generator","owner":"dbeley","description":"Generate text with the help of textgenrnn and gpt-2-simple.","archived":false,"fork":false,"pushed_at":"2022-09-30T19:49:46.000Z","size":108,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-22T14:20:21.907Z","etag":null,"topics":[],"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/dbeley.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}},"created_at":"2019-04-26T23:57:49.000Z","updated_at":"2020-04-15T09:51:35.000Z","dependencies_parsed_at":"2023-01-18T16:32:53.340Z","dependency_job_id":null,"html_url":"https://github.com/dbeley/text_generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbeley/text_generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Ftext_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Ftext_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Ftext_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Ftext_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbeley","download_url":"https://codeload.github.com/dbeley/text_generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Ftext_generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34453431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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-11-11T21:04:49.746Z","updated_at":"2026-06-17T14:32:26.348Z","avatar_url":"https://github.com/dbeley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# text_generator\n\n## Requirements\n\n- gpt-2-simple\n- numpy\n- pandas\n- requests\n- scikit-learn\n- textgenrnn\n- tqdm\n- markovify\n- xlrd\n- tensorflow\n\n## Installation of the virtualenv (recommended)\n\n```\npipenv install\n```\n\n## gpt2_generate\n\n### Help\n\n```\npython gpt2_generate.py -h\n```\n\n```\nusage: gpt2_generate.py [-h] [--debug] [-f FILE] [-i ITERATION]\n                        [-t TEMPERATURE]\n\nGenerate text with gpt2_simple\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --debug               Display debugging information\n  -f FILE, --file FILE  Text file to train the model from\n  -i ITERATION, --iteration ITERATION\n                        Number of iteration for the training. Default = 1\n  -t TEMPERATURE, --temperature TEMPERATURE\n                        Temperature. Default = 0.5\n```\n\n## markovify_generate\n\n### Help\n\n```\npython markovify_generate.py -h\n```\n\n```\nusage: markovify_generate.py [-h] [--debug] [-f FILE]\n\nGenerate text with markovify\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --debug               Display debugging information\n  -f FILE, --file FILE  Text file to train the model from\n```\n\n## textgenrnn_generate\n\n### Help\n\n```\npython textgenrnn_generate.py -h\n```\n\n```\nusage: textgenrnn_generate.py [-h] [--debug] [-f FILE] [-i ITERATION]\n                              [-n NUMBER] [-t TEMPERATURE]\n\nGenerate text with textgenrnn\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --debug               Display debugging information\n  -f FILE, --file FILE  Text file to train the model from\n  -i ITERATION, --iteration ITERATION\n                        Number of iteration for the training. Default = 1\n  -n NUMBER, --number NUMBER\n                        Number of string to generate (~3/seconds). Default =\n                        10\n  -t TEMPERATURE, --temperature TEMPERATURE\n                        Temperature. Default = 0.5\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Ftext_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbeley%2Ftext_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Ftext_generator/lists"}