Battling Open Book Exams with Open Source LLMs

In the age where everyone uses ChatGPT for work and school, I am taking advantage of that to help me study in my university course

Image generated by Dall-E 3, prompted by Author

Disclaimer This is not a cheat or a hack for any examinations. This is just a tool to prepare you for your course exams better. Use it wisely.

Hi, I am Jubayer Hossain, a master’s student at FAU-Erlangen. My program in ElectroMobility consists of courses in mechanical studies, AI, and programming. This semester I took 2 courses that focus on Open book examinations with all the contents of the lectures provided.

As we are open to using any resources and LLMs are a big thing now, I plan to implement an RAG-based open-source LLM with the help of Langchain to help me with content searching and better prepare me for the exam.

So without further explanation, let’s get on with the project plan.

Project Plan

First, I need all the lecture slides provided in the course portal. There are about 16 pdf slides which I downloaded manually. Of course, I could write a script that will automatically download all the slides but for only 16, we can agree that it will be faster manually.