{"id":25658696,"url":"https://github.com/avinava/my-gpt","last_synced_at":"2025-07-11T15:17:24.562Z","repository":{"id":163886213,"uuid":"639326512","full_name":"Avinava/my-gpt","owner":"Avinava","description":"code demonstrates how to run nomic-ai gpt4all locally without internet connection","archived":false,"fork":false,"pushed_at":"2023-05-11T18:12:10.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T00:30:56.048Z","etag":null,"topics":["ai","chatbot","gpt4all","local-gpt","python"],"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/Avinava.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":"2023-05-11T08:40:30.000Z","updated_at":"2024-09-27T22:52:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0efb05f-b461-4e1f-a85b-23008f4eceb4","html_url":"https://github.com/Avinava/my-gpt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Avinava/my-gpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fmy-gpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fmy-gpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fmy-gpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fmy-gpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avinava","download_url":"https://codeload.github.com/Avinava/my-gpt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fmy-gpt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264837929,"owners_count":23671120,"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":["ai","chatbot","gpt4all","local-gpt","python"],"created_at":"2025-02-24T00:28:12.631Z","updated_at":"2025-07-11T15:17:24.546Z","avatar_url":"https://github.com/Avinava.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# my-gpt\ncode demonstrates how to run nomic-ai gpt4all locally\n\n## Introduction\nThis code demonstrates how to use the nomic-ai/gpt4all-j model from the Hugging Face transformers library to generate text-based responses to user input in a conversational manner. The program takes user input, passes it to the model, generates a response, and returns it to the user. This process is repeated until the user inputs \"bye\" or \"exit\" to end the conversation.\n\n## Installation and Setup\nTo run this code using Poetry, you will need to have Poetry installed on your system along with Python 3. You can install Poetry by following the instructions in the official [Poetry documentation](https://python-poetry.org/docs/).\n\n- Clone this repository: `git clone git@github.com:Avinava/my-gpt.git`\n- Navigate to the project directory: `cd my-gpt`\n- Install the required packages using Poetry: `poetry install`\n  - Note: When you run for the first time, it might take a while to start, since it's going to download the models locally. The models used in this code are quite large, around 12GB in total, so the download time will depend on the speed of your internet connection.\n  - Note: The performance of the code also depends on the machine you are running it on. Running it on a machine with better CPU and more RAM will result in faster response times.\n\n## Running the Program\nTo run the program, simply execute the following command in a terminal or command prompt from the project directory:\n```bash\npoetry run python index.py\n```\n\nOnce the program is running, it will prompt you to enter a message:\n```bash\nWelcome to 🤖 my-gpt-bot\nYou can exit the chatbot at any time by typing 'bye' or 'exit'\n\n🤖 ask my-gpt-bot:\n```\nYou can type your message and press enter to see the chatbot's response. To end the conversation, simply type \"bye\" or \"exit\".\n\n\n\u003cimg width=\"858\" alt=\"Screenshot 2023-05-11 at 7 24 58 PM\" src=\"https://github.com/Avinava/my-gpt/assets/1398711/51255bc3-f4cb-4082-8b5f-cc3299fe5bc4\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinava%2Fmy-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinava%2Fmy-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinava%2Fmy-gpt/lists"}