Giter Club home page Giter Club logo

llama-math-finetuning's Introduction

๐Ÿงฎ LLaMA Math Wizard ๐Ÿฆ™

Welcome to the LLaMA Math Wizard project! We're teaching an AI llama to be a math genius. ๐ŸŽ“

๐ŸŒŸ What's This All About?

Ever wished you had a magical llama that could solve math problems? Well, now you do! We've taken the brilliant LLaMA-2-7b-chat model and sent it to math school. The result? A fuzzy, four-legged, formula-crunching friend!

๐Ÿš€ Features

  • ๐Ÿง  Fine-tuned LLaMA-2-7b-chat model with a PhD in Mathematics
  • ๐Ÿ“Š Trained on a diverse mathematics dataset
  • ๐Ÿ–ฅ๏ธ Streamlit app for chatting with your new math tutor
  • ๐Ÿ“ˆ TensorBoard integration for beautiful learning curves
  • ๐Ÿ” QLoRA magic for efficient training

๐Ÿ› ๏ธ Installation

  1. Clone this repository (no llamas were harmed in the process):
git clone https://github.com/utkarshpophli/llama-math-finetuning.git
cd llama-math-wizard
  1. Install the required packages (llama food):
pip install -r requirements.txt
  1. Log in to Hugging Face (llama face optional):
huggingface-cli login

๐ŸŽฎ Usage

  1. Train your llama:
python src/train.py
  1. Chat with your math wizard:
streamlit run app.py

๐Ÿ“ Project Structure

  • src/: The llama's brain ๐Ÿง 
  • app/: The llama's mouth ๐Ÿ—ฃ๏ธ
  • notebooks/: The llama's sandbox ๐Ÿ–๏ธ
  • logs/: The llama's diary ๐Ÿ“”

๐Ÿค Contributing

Got ideas to make our llama even smarter? We're all ears (and wool)! Feel free to open an issue or submit a pull request.

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • The incredible Hugging Face ๐Ÿค— team
  • The LAION AI team for blessing us with LLaMA
  • Caffeine โ˜•, for fueling late-night coding sessions

Remember: Be kind to llamas, they're doing their best to understand math! ๐Ÿฆ™โค๏ธ๐Ÿ”ข

llama-math-finetuning's People

Contributors

utkarshpophli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.