{"id":19595874,"url":"https://github.com/innovativeinventor/trumptweet","last_synced_at":"2026-06-10T02:31:30.009Z","repository":{"id":135192643,"uuid":"115739662","full_name":"InnovativeInventor/TrumpTweet","owner":"InnovativeInventor","description":"Machine generated trump-like tweets","archived":false,"fork":false,"pushed_at":"2018-01-13T01:51:49.000Z","size":265922,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-26T14:45:22.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/InnovativeInventor.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":"2017-12-29T17:00:42.000Z","updated_at":"2020-08-04T01:53:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"50b8083e-2e2c-4574-afff-bbb6e870dda5","html_url":"https://github.com/InnovativeInventor/TrumpTweet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InnovativeInventor/TrumpTweet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2FTrumpTweet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2FTrumpTweet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2FTrumpTweet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2FTrumpTweet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InnovativeInventor","download_url":"https://codeload.github.com/InnovativeInventor/TrumpTweet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2FTrumpTweet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34134633,"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-10T02:00:07.152Z","response_time":89,"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-11T08:49:11.312Z","updated_at":"2026-06-10T02:31:29.987Z","avatar_url":"https://github.com/InnovativeInventor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TrumpTweet\nMachine generated trump-like tweets using Torch-rnn in a Docker container\n\n## Training\nTo train type in:\n`bash train.sh`\n\n```\nUsage: train.sh \u003coptions\u003e\n    -h --help                   Show help\n    -u --update                 Update tweets and process data (clone recursively for this)\n    -e --epochs \u003camount\u003e        Specify the amount of checkpoints/epochs you want\n```\nTip: If you want to get your computer to run the training script in the background, type `screen bash train.sh \u003coptions\u003e` and `CTL-A` `CTL-D`. To reattach the screen, type: `screen -r`.\n\nThings you need to have preinstalled:\n- numpy\n- h5py\n- six\n\n## Generating text\nThen, to generate text, type in:\n`docker exec -it trumptweet th sample.lua -checkpoint cv/checkpoint_10000.t7 -length 140`\n\nModels are saved in `cv`\n\nTo generate sample tweets on your computer, type:\n`th sample.lua -checkpoint cv/checkpoint_10000.t7 -length 180`\n\nFeel free to change the length and checkpoint to whatever you prefer.\n\n## Credits\nMy docker images are based off of: https://github.com/crisbal/docker-torch-rnn\n\nSubmodules used:\n\n- [Torch-rnn](https://github.com/jcjohnson/torch-rnn)\n- [Trump-tweets](https://github.com/bpb27/trump_tweet_data_archive)\n\n## TODOs:\n- Combine docker-generate and docker-train into one folder named docker\n- Create own docker image on Docker Hub\n- Maybe combine generate.sh and train.sh\n- Separate models trained on Trump's speeches and Trump's tweets\n- Update and optimize `train.lua` and `sample.lua`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Ftrumptweet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnovativeinventor%2Ftrumptweet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Ftrumptweet/lists"}