All About Einstein: An LLM-Powered Exploration of Albert Einstein

Published:

All About Einstein: An LLM-Powered Exploration of Albert Einstein

Table of Contents

About the Project

All About Einstein is a question-answering application focused on Albert Einstein. Utilizing the knowledge base extracted from the Britannica Albert Einstein encyclopedia, this project employs instructor text embeddings and the FLAN-T5 LLM model from Hugging Face. The user-friendly interface, designed using Streamlit, and the application’s pipeline is constructed using the Langchain framework, enabling users to pose a wide range of questions related to Albert Einstein’s life and work.

Setup

  1. install the dependecies needed
    pip install -r requirements.txt
  2. Add yout huggingface API key to the .env file in your directory
    HUGGINGFACEHUB_API_TOKEN=your_secrit_api_key

Usage

  1. Ensure that you have installed the required dependencies adn added the huggingface API key to the .env file
  2. In the terminal, run this command:
    streamlit run app.py
  3. The app will launch in you default web, displaying the UI
  4. Ask a question about Albert Einstein!

Shoutout!

Special thanks to Alejandro AO for being an invaluable source of knowledge and guidance in helping me learn more about LLM and its applications. Be sure to check out his informative content on his YouTube channel

Know more about me!

github repository: This project’s repository link
linkedin: linkedin.com/in/mhamidasn
github: github.com/mhamidasn

Check my other project here!

🌌Here's to pushing boundaries, unraveling mysteries, and creating a future woven with the threads of innovation🌌