An AI-Powered Python Script for Teaching Machine Learning Topics
AI Tutor is a Python script that harnesses the power of OpenAI's GPT-3 language model to deliver automated tutoring on various machine learning topics. This script generates questions, provides detailed explanations, and allows users to learn interactively.
- Python 3.6 or higher
- OpenAI API key
- Clone the repository: git clone https://github.com/absterjr/AI-Tutor.git
- Install the required packages: pip install -r requirements.txt
- Set up the OpenAI API key: https://platform.openai.com/account/api-keys
- Run the script: python app.py
Type Yes to continue on to the next topic.
git clone https://github.com/absterjr/AI-Tutor.git && pip install -r requirements.txt && python3 env.py && python app.py
git clone https://github.com/absterjr/AI-Tutor.git && pip install -r requirements.txt && python env.py && python app.py
How It Works
- The script teaches machine learning topics.
- It generates questions and explanations.
- Users can ask questions and interact with the AI tutor.
- The script progresses to the next subtopic when the user demonstrates understanding.
You can see an example below.
Contributions to AI Tutor are welcome! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.
The number of topics can be increased by simply adding the topic names into the list defined at the beginning.