Giter VIP home page Giter VIP logo

nnekaasuzu / memory-support-chatbot-for-pregnant-women Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.89 MB

The Memory Support Chatbox for Pregnant Women is a project aimed at providing support and information to pregnant women experiencing cognitive memory issues. Using the GPT-2 language model, the chatbox generates responses based on text data related to pregnancy and memory issues.

Python 3.40% Jupyter Notebook 96.60%
memory-issues pregnancy user-experience cognitive-function gpt-2-model support-chatbox

memory-support-chatbot-for-pregnant-women's Introduction

Memory Support Chatbot for Pregnant Women

Overview

This project aims to develop a Memory Support Chatbot for Pregnant Women using the GPT-2 language model. The chatbot will provide support and information to pregnant women experiencing cognitive memory issues during pregnancy.

Dataset

The project uses text data related to pregnancy and memory issues. The dataset includes information about the types of cognitive memory issues reported by pregnant women.

Methodology

The methodology for developing the Memory Support Chatbot includes:

  1. Data Cleaning and Preprocessing: Cleaning and tokenizing the text data to prepare it for analysis and model training.
  2. Data Visualization: Visualizing the types of cognitive memory issues and their frequencies reported by pregnant women.
  3. Model Integration: Integrating the cleaned text data into the GPT-2 model to generate responses for the chatbot.
  4. Model Evaluation: Evaluating the performance of the chatbot in providing relevant and helpful responses to user queries.

Results

The Memory Support Chatbot demonstrates the ability to provide supportive and informative responses to pregnant women experiencing cognitive memory issues. The chatbot aims to improve user experience and provide valuable support during pregnancy.

Future Improvements

Future improvements to the chatbot could include:

  • Fine-tuning the GPT-2 model to improve response accuracy and relevance.
  • Incorporating user feedback to continuously improve the chatbot's performance and usability.
  • Expanding the chatbot's capabilities to provide additional support and information related to pregnancy and memory issues.

Project Constraints

Issues/Constraints:

  • No Dataset Found: The lack of an existing dataset required the use of text files instead, which required additional cleaning and preprocessing efforts.
  • Imperfect Responses: Despite fine-tuning the GPT-2 model, responses may not always be perfect or tailored to specific needs.
  • Limited Resources: Financial constraints prevented the use of paid open APIs, leading to the use of GPT-2 as an alternative solution.

Deployment

The Memory Support Chatbot has been tested on both Gradio and Streamlit for deployment. Both platforms provide user-friendly interfaces for interacting with the chatbot.

  • Gradio: Gradio offers a simple interface for deploying and testing machine learning models, including chatbots. The chatbot can be accessed through a web browser, allowing users to input their queries and receive responses from the GPT-2 model.
  • Streamlit: Streamlit provides a platform for building and deploying data apps, including chatbots. The chatbot can be deployed as a web app, allowing users to interact with it through a user-friendly interface.

Contributor(s)

Nneka Asuzu

App Screenshots

Gradio Interface

Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1 Gradio Interface 1

Streamlit Interface

Streamlit Interface

Setup

To run the Memory Support Chatbot for Pregnant Women locally, follow these steps:

  1. Clone the repository: git clone https://github.com/NnekaAsuzu/Memory-Support-Chatbot-for-Pregnant-Women.git
  2. Navigate to the project directory: cd Memory-Support-Chatbot-for-Pregnant-Women
  3. Install dependencies: pip install -r requirements.txt
  4. Run the chatbot with Gradio: python gradio_app.py
  5. Run the chatbot with Streamlit: streamlit run streamlit_app.py

memory-support-chatbot-for-pregnant-women's People

Contributors

nnekaasuzu avatar

Stargazers

 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.