Boosting Student Learning with RAG-Powered Insights
This project focuses on enhancing student learning by leveraging Retrieval-Augmented Generation (RAG) pipelines. The primary goal is to compare the effectiveness of different RAG models in providing accurate and insightful responses.
We use ChatGPT-4 as our baseline model to compare the results with our two proposed models.
- Retrieve-then-Generate RAG Pipeline using Langchain and GPT-4 Model
- Retrieve-then-Generate RAG Pipeline using LLAMA Model
- Hybrid RAG Pipeline using Langchain and GPT-4 Model
- Parameters: Trained on 1.7 trillion parameters.
- Notes: Be cautious of hallucinations.
- Evaluation Metric: BLEU Score
- Parameters: Trained on 8 billion parameters.
- Notes: Be cautious of hallucinations.
- Evaluation Metric: BLEU Score
- Explore better RAG pipelines such as Dense Passage Retrieval (DPR).
- Address computational limitations for training larger models.
- Clone the repository:
git clone https://github.com/your-repository/ecs289L-SmartStudy.git cd ecs289L-SmartStudy
- Install dependencies:
pip install -r requirements.txt
- Run the setup script for your models:
python setup.py #This depends on which model you running
- Use the query script to evaluate the models:
python query.py
- Saisha Shetty
- Yu-Jie Wu
- Jayesh Chhabra