This repository is designed for educational purposes, providing a comprehensive guide on constructing a GPT model from scratch using PyTorch, training the model with textual data, and deploying it.
Explore the docs »
Table of Contents
This project is for educational purpose.
This project has developed for platform independent using contairization.
Ensure that Python 3.9 is installed on your system. If you are using a Mac, refer to the provided blog link for detailed instructions on installing a specific Python version. Please review the information in the blog for guidance. python installation
- Clone the repo
git clone https://github.com/navanith007/gpt_from_scratch.git
2 Create python virtual environement
python3.9 -m venv llm_Env
source llm_Env/bin/activate
- Install the requirements
pip install -r requirements.txt
- Running the gpt service locally
sh start_app_service.sh
To make changes to this service you need follow below steps before going into production
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - merge your changes to preprod and get it QC.
- Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request