{"id":16629352,"url":"https://github.com/imsanjoykb/text-generation","last_synced_at":"2025-07-04T17:39:19.884Z","repository":{"id":108728487,"uuid":"405157330","full_name":"imsanjoykb/Text-Generation","owner":"imsanjoykb","description":"The goal of this project is to detect the topic of the text and write a proper comment for the text , store the generate comment in database and shows it with rest API.","archived":false,"fork":false,"pushed_at":"2021-09-14T16:02:26.000Z","size":1542,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T06:24:12.772Z","etag":null,"topics":["flask","gpt-2","gradio-interface","huggingface","mysql","nlp"],"latest_commit_sha":null,"homepage":"https://imsanjoykb.github.io/","language":"Jupyter Notebook","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/imsanjoykb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-10T17:12:36.000Z","updated_at":"2024-10-07T18:39:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"fec2ebee-7b3b-41bf-b2de-1a0978d86c61","html_url":"https://github.com/imsanjoykb/Text-Generation","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/imsanjoykb%2FText-Generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsanjoykb%2FText-Generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsanjoykb%2FText-Generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsanjoykb%2FText-Generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imsanjoykb","download_url":"https://codeload.github.com/imsanjoykb/Text-Generation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238930130,"owners_count":19554122,"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":["flask","gpt-2","gradio-interface","huggingface","mysql","nlp"],"created_at":"2024-10-12T04:40:53.453Z","updated_at":"2025-02-15T00:31:35.108Z","avatar_url":"https://github.com/imsanjoykb.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Author](https://img.shields.io/badge/author-SanjoyBiswas-orange)\n[![Stars](https://img.shields.io/github/stars/imsanjoykb/Text-Generation.svg?style=social)](https://github.com/imsanjoykb/Text-Generation/)\n[![MIT](https://img.shields.io/badge/license-MIT-5eba00.svg)](https://github.com/imsanjoykb/Text-Generation/LICENCE.txt)\n![Python](https://img.shields.io/badge/Python-3.8-blueviolet)\n![Framework](https://img.shields.io/badge/Framework-Flask-red)\n![Frontend](https://img.shields.io/badge/Frontend-HTML/CSS/JS-green)\n[![Open Notebook](https://colab.research.google.com/assets/colab-badge.svg)](https://github.com/imsanjoykb/Text-Generation/blob/master/Text_Generation.ipynb)\n\n\n![alt text](Assets/banner.jpg \"Title\")\n\n# Author: Sanjoy Biswas\n\nData Scientist | Machine Learning Engineer \u003c/br\u003e\nWebsite: https://imsanjoykb.github.io/ \u003c/br\u003e\nResearchGate: https://www.researchgate.net/profile/imsanjoykb \u003c/br\u003e\nLinkedin: https://www.linkedin.com/in/imsanjoykb/ \u003c/br\u003e\nEmail: sanjoy.eee32@gmail.com \u003cbr\u003e\n\n\u003chr\u003e\n\n\n## Objective\n\nThe goal of this project is to detect the topic of the text and write a proper comment for the text , store the generate comment in database and shows it with rest API.\n\n\u003chr\u003e\n\n## Background\n\nText generation is an application of language modeling, and a subfield of natural language processing. It utilizes techniques in artificial intelligence to automatically generate natural language text, which fits in a certain communication context.\n\nText generation can be used to write stories, poems, emails, news articles, and more. It is also useful for machine translation.\n\n\u003chr\u003e\n\n## Project Installation\n\n\u003cb\u003eInstall the virtualenv package\u003c/b\u003e\n```\npip install virtualenv  \n```\n\u003cb\u003eCreate the virtual environment\u003c/b\u003e\n```\nvirtualenv venv \n```\n\u003cb\u003eActivate the virtual environment\u003c/b\u003e\n```\nmypthon\\Scripts\\activate\n```\n\u003cb\u003eInstall Dependencies\u003c/b\u003e\n```\npip3 install -r requirements.txt\n```\n\u003cb\u003eRun the text generation code which redirect userinterface of Gradio and the input of the text generate datafile\u003c/b\u003e\n```\npython Text_Generation.py\n```\n\u003cb\u003eAfter this, run main.py file which scale the data and connect with database to store data at DB\u003c/b\u003e\n```\npython main.py\n```\n\u003cb\u003eThen run app.py file which shows all data and also Gradio \u003c/b\u003e\n```\npython app.py\n```\n\n\u003chr\u003e\n\n## Project GUI\nGradio Interface for text generation:\u003cbr\u003e\n\n![alt text](Assets/Interface1.PNG \"Title\")\n\nShows Generated output:\u003cbr\u003e\n\n![alt text](Assets/Interface2.PNG \"Title\")\n\nStore Data at Database:\u003cbr\u003e\n\n![alt text](Assets/database1.PNG \"Title\")\n\nShows generated data with timestamp in GUI:\u003cbr\u003e\n\n![alt text](Assets/data.PNG \"Title\")\n\n\u003chr\u003e\n\n## Citing\n```\n@misc{AI Text Generation,\n  author = {Sanjoy Biswas},\n  title = {Detect the topic of the text and write a proper comment for the text,  store the generate comment in database and shows it with rest API.},\n  year = {2021},\n  publisher = {GitHub},\n  journal = {GitHub repository},\n  url=\"https://github.com/imsanjoykb/Text-Generation\",\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsanjoykb%2Ftext-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimsanjoykb%2Ftext-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsanjoykb%2Ftext-generation/lists"}