Giter VIP home page Giter VIP logo

empowermen's Introduction

EmpowerMen

EmpowerMen is a Question-Answering (QA) application designed to address queries related to false accusations of rape against men, enriched through a knowledge base sourced from podcasts from {Journalist | Filmmaker | Social Activist} Deepika Bhardwaj Twitter. This project aims to provide accurate and informed responses using RAG based on 5 hours of content from three podcasts.

Project Flow

Step 1: Dataset Creation for Knowledge Base

To create the knowledge base:

Provide a list of URLs to podcast videos. Utilize the DatasetCreation.ipynb(Use google colab) notebook to generate .txt transcripts from the podcasts. These transcripts will serve as the foundational text data for the QA app.

Step 2: Text Embedding and Vector Store Creation

AskQuery.py Use FastEmbed Embeddings from ChromaDB to convert the transcript text into embeddings. Store these embeddings in ChromaDB's vector store for efficient retrieval and similarity scoring.

Step 3: Build Streamlit UI for QA Interface

app.py Develop a Streamlit-based user interface (UI) that allows users to input questions. Display responses generated by the QA model based on the knowledge base.

Step 4: QA Model Implementation

AskQuery.py Implement the Ollama framework integrated with langchain to facilitate the llama3 model. Utilize this model to analyze and generate responses based on the enriched knowledge base of podcast transcripts.

App Workflow

How to run the app:

Note: Ollama should be installed on your system. Then run this command Ollama pull llama3.

  1. Create a virtual environment python3 -m venv empowermen_venv in your preferred project directory using terminal.
  2. Activate environment empowermen_venv\Scripts\Activate for windows, source empowermen_venv\bin\activate for mac.
  3. Run pip3 install -r requirements.txt.
  4. Run streamlit run app.py.

App SS

empowermen's People

Contributors

raj-chinagundi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.