Git Product home page Git Product logo

ask-project-nexodus-docs's Introduction

Ask Project Nexodus Docs

The goal of this project is to explore different LLM QA strategies for Project Nexodus documentation to better understand their capabilities and limitations. This repository documents my work over the course of my Summer 2023 Red Hat internship where I experimented with extractive, abstractive, and generative question answering strategies, as well as fine-tuning a flan-t5-base model with LoRA (Low Rank Approximation). Additionally, I developed a web application via Streamlit to automate the process of having a user input a question and the selected stategy output an answer.

Repository Structure

├── data  
|    ├── docs   <- Project Nexodus documentation
│    ├── results   <- Intermediate data that has been transformed.
│    └── Network-Training-QAs.md   <- ChatGPT generate question and answer pairs
|
├── models
|     ├── nexodus-flan-t5   <- Fine-tuned flan-t5-base model using LoRA 
|     └── nexodus_index.faiss <- FAISS vector index which stores embeddings of docs
|
├── notebooks 
|      ├── 00-start_here.ipynb   <- Demonstrates extractive, abstrative, and generative QA
|      ├── 01-finetuning_llm.ipynb   <- Fine-tuning flan-t5-base model using LoRA on QA pairs
|      ├── 02-strategy_evaluation.ipynb   <- Evaluates performance of the different strategies against each other
|      └── requirements.txt
|      
├── streamlit 
|      ├── app.py   <- Web application source code
|      └── requirements.txt
|
└── README.md <-   You are here

Application Preview

ask_proj_nexodus_docs_demo.mp4

Contact Info

Please contact Christina Xu ([email protected]) for any questions/concerns/feedback.

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.