{"id":22283224,"url":"https://github.com/guntas-13/nextcharacterpredictor","last_synced_at":"2025-03-25T19:48:43.052Z","repository":{"id":227364080,"uuid":"771212611","full_name":"guntas-13/NextCharacterPredictor","owner":"guntas-13","description":"An MLP based next character prediction model trained on several famous corpora with varying embedding dimensions and model architecture size","archived":false,"fork":false,"pushed_at":"2024-05-05T18:05:49.000Z","size":61432,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T17:39:08.636Z","etag":null,"topics":["large-language-models","mlp-networks","token-generator"],"latest_commit_sha":null,"homepage":"https://tensionflowcharpredict.streamlit.app/","language":"Python","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/guntas-13.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":"2024-03-12T22:18:56.000Z","updated_at":"2024-05-05T18:07:33.000Z","dependencies_parsed_at":"2024-03-22T23:51:00.111Z","dependency_job_id":null,"html_url":"https://github.com/guntas-13/NextCharacterPredictor","commit_stats":null,"previous_names":["guntas-13/nextcharacterpredictor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guntas-13%2FNextCharacterPredictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guntas-13%2FNextCharacterPredictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guntas-13%2FNextCharacterPredictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guntas-13%2FNextCharacterPredictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guntas-13","download_url":"https://codeload.github.com/guntas-13/NextCharacterPredictor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245535274,"owners_count":20631292,"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":["large-language-models","mlp-networks","token-generator"],"created_at":"2024-12-03T16:39:22.581Z","updated_at":"2025-03-25T19:48:43.016Z","avatar_url":"https://github.com/guntas-13.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Character Predictor\n## Find the app hosted at [Link](https://tensionflowcharpredict.streamlit.app/)\n**Datasets: [Link](https://cs.stanford.edu/people/karpathy/char-rnn/)**\n\n## **App Homepage**\n![](https://github.com/guntas-13/NextCharacterPredictor/blob/main/1.png)\n## **Generated Text for Gulliver's Travels**\n![](https://github.com/guntas-13/NextCharacterPredictor/blob/main/2.png)\n## **Generated Text for Wikipedia Corpus**\n![](https://github.com/guntas-13/NextCharacterPredictor/blob/main/3.png)\n\n### **Embedding the characters as a Vector $\\in \\mathbb{R}^N$**\n![](https://github.com/guntas-13/NextCharacterPredictor/blob/main/Embed.svg)\n\n### **Input layer of the model and creating the training examples**\n![](https://github.com/guntas-13/NextCharacterPredictor/blob/main/MLPToken.svg)\n\nTo make inference from the model trained on ```tolstoy.txt``` run the script:\n```bash\npython3 predictT.py\n```\n\nTo make inference from the model trained on ```wonderland.txt``` run the script:\n```bash\npython3 predictW.py\n```\n\nTo run the StreamLit App, run the script:\n```bash\nstreamlit run app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguntas-13%2Fnextcharacterpredictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguntas-13%2Fnextcharacterpredictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguntas-13%2Fnextcharacterpredictor/lists"}