{"id":15837822,"url":"https://github.com/muhammad-fiaz/gemgpt","last_synced_at":"2026-01-26T02:02:52.180Z","repository":{"id":229862886,"uuid":"777295456","full_name":"muhammad-fiaz/GemGPT","owner":"muhammad-fiaz","description":"Explore the power of Gemma model with GemGPT, a project leveraging AI for innovative solutions. Join us in shaping the future of AI!","archived":false,"fork":false,"pushed_at":"2024-06-10T12:55:22.000Z","size":75,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T22:44:13.574Z","etag":null,"topics":["fine-tuning","gem-gpt","gemgpt","gemma","gemma-2b","gemma-2b-it","gemma-7b","gemma-7b-it","gpt","gpt-gem","gptgem","large-language-model","large-language-models","llm","llms","openai","python","pytorch"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/muhammadfiaz/GemGPT","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muhammad-fiaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"muhammad-fiaz"}},"created_at":"2024-03-25T15:25:21.000Z","updated_at":"2024-08-11T16:54:16.000Z","dependencies_parsed_at":"2024-04-05T15:49:38.305Z","dependency_job_id":"8d3763e2-b070-4aea-8c33-d67db7a0a1c3","html_url":"https://github.com/muhammad-fiaz/GemGPT","commit_stats":null,"previous_names":["muhammad-fiaz/gemgpt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/muhammad-fiaz/GemGPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-fiaz%2FGemGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-fiaz%2FGemGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-fiaz%2FGemGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-fiaz%2FGemGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhammad-fiaz","download_url":"https://codeload.github.com/muhammad-fiaz/GemGPT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-fiaz%2FGemGPT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28764418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"online","status_checked_at":"2026-01-26T02:00:08.215Z","response_time":59,"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":["fine-tuning","gem-gpt","gemgpt","gemma","gemma-2b","gemma-2b-it","gemma-7b","gemma-7b-it","gpt","gpt-gem","gptgem","large-language-model","large-language-models","llm","llms","openai","python","pytorch"],"created_at":"2024-10-05T15:41:54.943Z","updated_at":"2026-01-26T02:02:52.167Z","avatar_url":"https://github.com/muhammad-fiaz.png","language":"Python","funding_links":["https://github.com/sponsors/muhammad-fiaz"],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align: center;\"\u003e\r\n    \r\n![Preview](https://github.com/muhammad-fiaz/GemGPT/assets/75434191/7d4cf897-0496-470c-87aa-90a347b64536)\r\n\r\n[![License](https://img.shields.io/github/license/muhammad-fiaz/gemgpt)](./LICENSE)\r\n[![Version](https://img.shields.io/github/v/release/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/releases)\r\n[![Code Size](https://img.shields.io/github/languages/code-size/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt)\r\n[![Top Language](https://img.shields.io/github/languages/top/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt)\r\n[![Last Commit](https://img.shields.io/github/last-commit/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/commits/main)\r\n[![Contributors](https://img.shields.io/github/contributors/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/graphs/contributors)\r\n[![Open Issues](https://img.shields.io/github/issues-raw/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/issues)\r\n[![Closed Issues](https://img.shields.io/github/issues-closed-raw/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/issues?q=is%3Aissue+is%3Aclosed)\r\n[![Pull Requests](https://img.shields.io/github/issues-pr-raw/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/pulls)\r\n[![Forks](https://img.shields.io/github/forks/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/network/members)\r\n[![Stars](https://img.shields.io/github/stars/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/stargazers)\r\n[![Watchers](https://img.shields.io/github/watchers/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/watchers)\r\n[![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-yellow)](https://huggingface.co/spaces/muhammadfiaz/GemGPT)\r\n\u003ca href=\"https://discord.gg/uRkZ5cHf\" target=\"_blank\"\u003e\r\n  \u003cimg\r\n    src=\"https://dcbadge.limes.pink/api/server/https://discord.gg/uRkZ5cHf?style=shield\"\r\n    alt=\"discord invite\"\r\n  /\u003e\r\n\u003c/a\u003e\r\n\r\n\r\n\u003c/div\u003e\r\n\r\nGemGPT is a project that leverages the Gemma model published by Google to create powerful natural language processing applications using the GPT architecture. This repository contains the codebase for GemGPT, which aims to provide a user-friendly interface for fine-tuning the Gemma model for 2b and 7b variants.\r\n\r\n\u003e Don't forget to star ⭐ if you find GemGPT useful! and fork 🍴 the repository to contribute it ❤️\r\n\r\n## Table of Contents\r\n\r\n- [Overview](#)\r\n- [Features](#features)\r\n- [setup](#setup)\r\n- [Getting Started](#getting-started)\r\n- [Technology Stack](#technology-stack)\r\n- [Contributing](#contributing)\r\n- [Code of Conduct](#code-of-conduct)\r\n- [Support](#support)\r\n- [Acknowledgements](#acknowledgements)\r\n- [License](#license)\r\n\r\n\r\n## Features\r\n\r\n- Utilizes the Gemma model for natural language processing tasks.\r\n- Provides an easy-to-use interface for integrating Gemma with AI applications.\r\n- Offers advanced features for text generation, sentiment analysis, and more.\r\n\r\n## Setup\r\n\r\nTo use a model from Hugging Face Hub, you need to first install the transformers library and then use the CLI to log in to the Hugging Face Hub.\r\n\r\nInstall the transformers library:\r\n\r\n```bash\r\npip install transformers\r\n```\r\n\r\nLogin to the Hugging Face Hub using the CLI:\r\n\r\n```bash\r\ntransformers-cli login\r\n```\r\nAfter that, you need to auth using your login token. for more info checkout:- [https://huggingface.co/docs/huggingface_hub/quick-start](https://huggingface.co/docs/huggingface_hub/quick-start)\r\n\r\n## Getting Started\r\n\r\nTo get started with GemGPT, clone the repository and follow the setup instructions in the documentation.\r\n\r\n```shell\r\ngit clone https://github.com/muhammad-fiaz/gemgpt.git\r\n```\r\nNavigate to the project directory and install the required dependencies:\r\n    \r\n```shell\r\n    cd gemgpt\r\n    pip install -r requirements.txt\r\n```\r\nRun the application using the following command:\r\n\r\n```shell\r\n    python launch.py\r\n```\r\nTo use GemGpt on Colab or Jupyter Notebook, you can use the following code:\r\n\r\n```bash\r\n!git clone https://github.com/muhammad-fiaz/gemgpt.git\r\n!python -m pip install -r requirements.txt\r\n!python launch.py --share\r\n```\r\nYou can try out a demo of GemGPT on Hugging Face Spaces, but for optimal performance, we recommend running it locally with a CPU or GPU.\r\n\r\n[![Hugging Face Spaces Demo](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-yellow)](https://huggingface.co/spaces/muhammadfiaz/GemGPT)\r\n\r\n## Technology Stack\r\n\r\nGemGPT is built using the following technologies:\r\n\r\n- **Python**: Programming language used for the core implementation.\r\n- **PyTorch**: Deep learning framework used for training and inference.\r\n- **Gradio**: Web-based UI library used for creating the user interface.\r\n- **Transformers**: Library used for working with pre-trained language models.\r\n- **Hugging Face**: Platform used for sharing and downloading pre-trained models.\r\n- **Logly**: Logging library used for tracking and monitoring the application.\r\n\r\n\r\n## Contributing\r\n\r\nWe welcome contributions from the community to improve GemGPT. If you're interested in contributing, please read our contributing guidelines.\r\n\r\n## CODE OF CONDUCT\r\n\r\nWe expect contributors to adhere to the GemGPT code of conduct. Please read the [code of conduct](./CODE_OF_CONDUCT.md) before contributing.\r\n\r\n## Support\r\n\r\nIf you have any questions or need help with GemGPT, please reach out to us via the issue tracker.\r\n\r\n_Support the Project by Becoming a Sponsor on GitHub_\r\n\r\n[![Sponsor muhammad-fiaz](https://img.shields.io/badge/Sponsor-%231EAEDB.svg?\u0026style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=white)](https://github.com/sponsors/muhammad-fiaz)\r\n\r\n## Acknowledgements\r\n\r\nGemGPT is built on top of the Gemma model published by Google. We would like to thank the authors of the Gemma model for their work and for making it available as open-source.\r\n\r\n## License\r\n\r\nGemGPT is licensed under the Apache License 2.0. See the [LICENSE](./LICENSE) file for more details.\r\n\r\n\r\n```bibtex\r\n@software{Muhammad_Fiaz_GemGPT_2024,\r\n  author = {{Muhammad Fiaz}},\r\n  license = {Apache-2.0},\r\n  month = mar,\r\n  title = {{GemGPT}},\r\n  url = {https://github.com/muhammad-fiaz/GemGPT},\r\n  version = {0.0.0},\r\n  year = {2024}\r\n}\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammad-fiaz%2Fgemgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammad-fiaz%2Fgemgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammad-fiaz%2Fgemgpt/lists"}