{"id":15898407,"url":"https://github.com/pppw/fortune-cookie-ai","last_synced_at":"2025-04-02T19:12:39.842Z","repository":{"id":93596741,"uuid":"170231504","full_name":"PPPW/fortune-cookie-ai","owner":"PPPW","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-15T01:14:28.000Z","size":1500,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T09:37:38.280Z","etag":null,"topics":["artificial-intelligence","awd-lstm","fastai","webapp"],"latest_commit_sha":null,"homepage":null,"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/PPPW.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":"2019-02-12T01:34:01.000Z","updated_at":"2019-02-15T01:14:30.000Z","dependencies_parsed_at":"2023-08-26T20:31:18.020Z","dependency_job_id":null,"html_url":"https://github.com/PPPW/fortune-cookie-ai","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"f82456a9d186bb0926d19cb451dedb82fdd0a956"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PPPW%2Ffortune-cookie-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PPPW%2Ffortune-cookie-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PPPW%2Ffortune-cookie-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PPPW%2Ffortune-cookie-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PPPW","download_url":"https://codeload.github.com/PPPW/fortune-cookie-ai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875909,"owners_count":20848048,"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":["artificial-intelligence","awd-lstm","fastai","webapp"],"created_at":"2024-10-06T10:03:21.843Z","updated_at":"2025-04-02T19:12:39.824Z","avatar_url":"https://github.com/PPPW.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI that Generates Fortune Cookie Messages\n\n![](images/cookie.gif)\n\nPlay with it here:   \nhttps://fortune-cookie.onrender.com\n\n\n## Introduction\n\nA [ULMFiT](https://arxiv.org/abs/1801.06146) model is trained to generate fortune cookie messages. The dataset is scraped from \"[Fortune Cookie Message Archive](http://www.fortunecookiemessage.com/archive.php)\". This dataset is pretty small due to the limited the online sources for fortune cookie messages. However, with the power of transfer learning and UMLFit, the model is able to generate fortune cookie style messages after only a few epochs of training. \n\n`/model/get_data.ipynb`: web scraping code.   \n`/model/model.ipynb`: model training code. \n\n## Usage\n\nThe app is deployed on:   \nhttps://fortune-cookie.onrender.com\n\nTo play with it on local server, install the requirements: \n\n```\npip install -r requirements.txt\n```\n\nUnder the `/cookie/` folder, start the server: \n\n```\npython app/server.py serve\n```\n\nOpen your browser and visit the website: \n\n`http://localhost:5042`\n\n\n# Other\n\nImage courtesy:   \nhttps://www.glueckskekse.de/   \nhttp://www.beyondmenu.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpppw%2Ffortune-cookie-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpppw%2Ffortune-cookie-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpppw%2Ffortune-cookie-ai/lists"}