Explore the power of Gemma model with GemGPT, a project leveraging AI for innovative solutions. Join us in shaping the future of AI!
APACHE-2.0 License
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 ❤️
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:
pip install transformers
Login to the Hugging Face Hub using the CLI:
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
To get started with GemGPT, clone the repository and follow the setup instructions in the documentation.
git clone https://github.com/muhammad-fiaz/gemgpt.git
Navigate to the project directory and install the required dependencies:
cd gemgpt
pip install -r requirements.txt
Run the application using the following command:
python launch.py
To use GemGpt on Colab or Jupyter Notebook, you can use the following code:
!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.
GemGPT is built using the following technologies:
We welcome contributions from the community to improve GemGPT. If you're interested in contributing, please read our contributing guidelines.
We expect contributors to adhere to the GemGPT code of conduct. Please read the code of conduct before contributing.
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
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.
GemGPT is licensed under the Apache License 2.0. See the LICENSE file for more details.
@software{Muhammad_Fiaz_GemGPT_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}
}