Welcome to Gita Guru, where ancient wisdom meets cutting-edge AI! ๐
Gita Guru is not just another chatbot. It's your personal spiritual companion, powered by the wisdom of the Bhagavad Gita and the intelligence of LLaMA-2. We've fine-tuned one of the most advanced language models to become an expert in the teachings of this ancient Indian scripture.
Try out the live demo here to experience the power of Gita!
- ๐ง Fine-tuned LLaMA-2-7b-chat model, now a Gita genius!
- ๐ฌ Interactive Streamlit app for enlightening conversations
- ๐ TensorBoard integration for those who love to see the learning in action
- ๐ Optimized with QLoRA for efficient training and deployment
- Clone this cosmic repository:
git clone https://github.com/utkarshpophli/bhagavad_gita_llama.git
cd gita-guru
- Create a virtual environment
conda create -n venv
conda activate venv
- Install the divine dependencies:
pip install -r requirements.txt
- Align your chakras with Hugging Face:
huggingface-cli login
To imbue our AI with the wisdom of the Gita:
python src/train.py
Watch as the model transcends its initial knowledge!
To start your spiritual journey with Gita Guru:
streamlit run app.py
Open your browser and navigate to the provided URL. Ask your questions and receive insights drawn from the depths of the Bhagavad Gita!
Dive deeper into the data and model behavior:
- Check out
notebooks/exploration.ipynb
for dataset insights. - Use TensorBoard to visualize the training process:
tensorboard --logdir results/runs
We welcome contributions from all seekers of knowledge and truth! Whether you're a ML guru, a Gita scholar, or just enthusiastic about the project, feel free to:
- ๐ Report bugs
- ๐ก Suggest enhancements
- ๐๏ธ Improve documentation
- ๐งโ๐ป Submit pull requests
Check out our Contribution Guidelines for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- The creators of LLaMA-2 for the incredible base model
- The Hugging Face team for their transformers library
- The countless teachers and scholars who have preserved and interpreted the Bhagavad Gita over millennia
Remember, just as Krishna guided Arjuna, let Gita Guru guide you through the battlefield of life! May your code be bug-free and your mind be at peace. ๐๏ธ