| | --- |
| | license: mit |
| | base_model: |
| | - meta-llama/Llama-3.2-3B-Instruct |
| | pipeline_tag: text-generation |
| | library_name: adapter-transformers |
| | tags: |
| | - langgraph |
| | - educational |
| | - tutor |
| | - ai-tutor |
| | - adaptive-learning |
| | - text-generation |
| | - llama3.2 |
| | --- |
| | # π€ Enhanced AI Tutor System using LLaMA-3 and LangGraph |
| |
|
| | [](LICENSE) |
| | [](https://python.langgraph.dev/) |
| | [](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) |
| |
|
| | An **adaptive, feedback-based AI tutor system** built using: |
| |
|
| | - π§ Meta's [LLaMA-3.2-3B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) |
| | - π [LangGraph](https://github.com/langchain-ai/langgraph) for multi-agent workflow |
| | - β‘ Hugging Face Transformers (4-bit quantization for efficiency) |
| | - β
PyTorch, BitsandBytes, Accelerate for seamless GPU usage |
| |
|
| | --- |
| |
|
| | ## π What It Does |
| |
|
| | This notebook walks you through a **complete interactive tutor session** that: |
| |
|
| | 1. π Asks a question from a topic you choose |
| | 2. π Evaluates your answer and gives structured feedback |
| | 3. π§ͺ Generates a new practice question |
| | 4. π Tracks your progress and adapts difficulty |
| |
|
| | It's like having your own AI teacher, personalized to your learning! |
| |
|
| | --- |
| |
|
| | ## π View Notebook in Colab |
| |
|
| | [](https://colab.research.google.com/drive/1X4QwSB48fddXATlJBYtab16l7TM72KZk?usp=sharing) |
| |
|
| | You can explore the full .ipynb notebook on Google Colab using the button above. |
| |
|
| | --- |
| |
|
| | ## π Project Structure |
| |
|
| | ``` |
| | βββ EnhancedTutorSystem.ipynb |
| | βββ README.md |
| | βββ requirements.txt |
| | ``` |
| |
|
| | --- |
| |
|
| | ## π§ Model Info |
| |
|
| | This project uses (but does not rehost) Meta's official instruction-tuned model: |
| |
|
| | [](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) |
| |
|
| | The model is loaded via transformers using 4-bit quantization (BitsAndBytes) |
| |
|
| | **Note:** You must agree to Meta's license to access the model. |
| |
|
| | --- |
| |
|
| | ## π― Features |
| |
|
| | - βοΈ Adaptive questions across difficulty levels |
| | - π Real-time performance tracking |
| | - π€ Intelligent feedback on every answer |
| | - π‘ LangGraph-powered multi-agent workflow |
| | - π§΅ Fully reproducible session history |
| |
|
| | --- |
| |
|
| | ## π Coming Soon |
| |
|
| | - π A Hugging Face Space with a user-friendly UI |
| | - π Student progress export to PDF |
| | - π― Topic-based quiz sessions |
| | - π§ͺ Integration with LangChain for evaluation metrics |
| |
|
| | --- |
| |
|
| | ## π License |
| |
|
| | This project is released under the MIT License. |
| |
|
| | --- |
| |
|
| | ## π Acknowledgments |
| |
|
| | - π§ Meta AI for LLaMA-3 |
| | - π LangGraph by LangChain |
| | - π€ Hugging Face for open infrastructure |
| |
|
| | --- |
| |
|
| | ## π¬ Contact / Feedback |
| |
|
| | [](https://github.com/Mrigank005) |
| | [](https://www.linkedin.com/in/mrigank005) |
| |
|
| | Feel free to raise issues or suggestions on GitHub |
| | Or connect via Hugging Face community tab! |
| |
|
| | **Happy learning!** π‘ |
| |
|
| | --- |
| |
|