gemgpt

Explore the power of Gemma model with GemGPT, a project leveraging AI for innovative solutions. Join us in shaping the future of AI!

https://github.com/muhammad-fiaz/gemgpt

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.2%) to scientific vocabulary

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
Last synced: 6 months ago · JSON representation ·

Repository

Explore the power of Gemma model with GemGPT, a project leveraging AI for innovative solutions. Join us in shaping the future of AI!

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
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
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme Funding License Code of conduct Citation Codeowners

README.md

![Preview](https://github.com/muhammad-fiaz/GemGPT/assets/75434191/7d4cf897-0496-470c-87aa-90a347b64536) [![License](https://img.shields.io/github/license/muhammad-fiaz/gemgpt)](./LICENSE) [![Version](https://img.shields.io/github/v/release/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/releases) [![Code Size](https://img.shields.io/github/languages/code-size/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt) [![Top Language](https://img.shields.io/github/languages/top/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt) [![Last Commit](https://img.shields.io/github/last-commit/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/commits/main) [![Contributors](https://img.shields.io/github/contributors/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/graphs/contributors) [![Open Issues](https://img.shields.io/github/issues-raw/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/issues) [![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) [![Pull Requests](https://img.shields.io/github/issues-pr-raw/muhammad-fiaz/gemgpt)](https://github.com/muhammad-fiaz/gemgpt/pulls) [![Forks](https://img.shields.io/github/forks/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/network/members) [![Stars](https://img.shields.io/github/stars/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/stargazers) [![Watchers](https://img.shields.io/github/watchers/muhammad-fiaz/gemgpt?style=social)](https://github.com/muhammad-fiaz/gemgpt/watchers) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-yellow)](https://huggingface.co/spaces/muhammadfiaz/GemGPT) discord invite

GemGPT 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.

Don't forget to star ⭐ if you find GemGPT useful! and fork 🍴 the repository to contribute it ❤️

Table of Contents

Features

  • Utilizes the Gemma model for natural language processing tasks.
  • Provides an easy-to-use interface for integrating Gemma with AI applications.
  • Offers advanced features for text generation, sentiment analysis, and more.

Setup

To 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.

Install the transformers library:

bash pip install transformers

Login to the Hugging Face Hub using the CLI:

bash transformers-cli login After that, you need to auth using your login token. for more info checkout:- https://huggingface.co/docs/huggingface_hub/quick-start

Getting Started

To get started with GemGPT, clone the repository and follow the setup instructions in the documentation.

shell git clone https://github.com/muhammad-fiaz/gemgpt.git Navigate to the project directory and install the required dependencies:

shell cd gemgpt pip install -r requirements.txt Run the application using the following command:

shell python launch.py To use GemGpt on Colab or Jupyter Notebook, you can use the following code:

bash !git clone https://github.com/muhammad-fiaz/gemgpt.git !python -m pip install -r requirements.txt !python launch.py --share You 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.

Hugging Face Spaces Demo

Technology Stack

GemGPT is built using the following technologies:

  • Python: Programming language used for the core implementation.
  • PyTorch: Deep learning framework used for training and inference.
  • Gradio: Web-based UI library used for creating the user interface.
  • Transformers: Library used for working with pre-trained language models.
  • Hugging Face: Platform used for sharing and downloading pre-trained models.
  • Logly: Logging library used for tracking and monitoring the application.

Contributing

We welcome contributions from the community to improve GemGPT. If you're interested in contributing, please read our contributing guidelines.

CODE OF CONDUCT

We expect contributors to adhere to the GemGPT code of conduct. Please read the code of conduct before contributing.

Support

If you have any questions or need help with GemGPT, please reach out to us via the issue tracker.

Support the Project by Becoming a Sponsor on GitHub

Sponsor muhammad-fiaz

Acknowledgements

GemGPT 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.

License

GemGPT is licensed under the Apache License 2.0. See the LICENSE file for more details.

```bibtex @software{MuhammadFiazGemGPT_2024, author = {{Muhammad Fiaz}}, license = {Apache-2.0}, month = mar, title = {{GemGPT}}, url = {https://github.com/muhammad-fiaz/GemGPT}, version = {0.0.0}, year = {2024} }

Owner

  • Name: Muhammad Fiaz
  • Login: muhammad-fiaz
  • Kind: user
  • Location: india
  • Company: @FiazTechnologies

Open Source Contributor ✨ and Maintainer 🔥| Full Stack Developer 🧑‍💻

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "GemGPT"
authors:
  - name: "Muhammad Fiaz"
version: 0.0.0
date-released: 2024-03-25
license: "Apache-2.0"
url: "https://github.com/muhammad-fiaz/GemGPT"

GitHub Events

Total
Last Year

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 31
  • Total Committers: 1
  • Avg Commits per committer: 31.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Muhammad Fiaz c****t@m****m 31
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • muhammad-fiaz (2)
Top Labels
Issue Labels
Pull Request Labels
documentation (2) enhancement (2)

Dependencies

requirements.txt pypi
  • accelerate *
  • bitsandbytes *
  • gradio *
  • logly *
  • torch *
  • transformers *