Skip to content

EPFLearn: An educational chatbot for EPFL students

Notifications You must be signed in to change notification settings

AGBonnet/EPFLearn

Repository files navigation

EPFLearn: AI Student Mentor 📚

Introducing EPFLearn, a chatbot designed to answer students’ questions on specialized course material. The chatbot leverages Google’s pre-trained T5 Transformer as its foundation model, which was further fine-tuned using the StackOverflow and NLP4Education datasets.

Modern NLP: Course project Milestone 3

Team: Antoine Bonnet, Silvia Romanato and Alexander Sternfeld

How to run the code

To run the code, you first need to install the requirements in the requirements.txt file.

pip install -r requirements.txt

To use our trained chatbot, you will need to download the checkpoint from here and place it in the checkpoints/finalChatbot folder. You can then instantiate the chatbot and ask it some questions as follows.

checkpoint = 'path/to/finalChatbotDirectory'
chatbot = Chatbot(checkpoint)

chatbot.ask('What is the difference between genetics and epigenetics?')

Repository structure

Here is a list of relevant scripts used in this project.

About

EPFLearn: An educational chatbot for EPFL students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published