Code Monkey home page Code Monkey logo

chat-bot's Introduction

MediBuddy!

Welcome to MediBuddy! Here we provide basic answers for your medical queries Your First Line Of Care.

  • A large language model which acts as a recommendation system which runs locally on your PC
  • Can identify vast number of diseases based on given symptoms and be a robust first responder to give precautions as required
  • Restricated and ultra specialized for pediatric use
  • Based on Meta AI’s state of the art open source AI-basesd LLM model
  • Custom fine-tuned model based on medical textbooks including Gale Encyclopedia of Medicine,Essential Pediatric Medicine as well as Medical Pharmology

Technology Stack

  • LLM(LLAMA 2.0 7B)
  • Vector DataBase(FAISS)
  • LangChain
  • ChainLit

Training steps

  • Data Collection- Acquired various Textbooks of medicine curated by doctors to train our LLM.
  • Data Preprocess-PDF's of Textbooks were fed to LangChain Document Ingestor. It takes the PDF and applies advanced OCR tools to take the text data and add it to the document in a recursive manner using 500 tokens for each document and overlapping 50 tokens.
  • VectorDB Creation - A vector database is a type of database that stores data as high-dimensional vectors, which are mathematical representations of features or attributes. It mainly stored the embeddings of the data we created. We use FAISS(Facebook AI Similarity Search) created by Facebook to store and search the similarity between the query embedding and the embedding in the vector database.
  • Model Inference-Inference is done using LLaMA model which was introduced by the Meta AI Research team and is a collection of many transformers and has 7B parameters.
  • Fine Tuning -The model was fine-tuned on new Medical data and restrictions were imposed by setting a pre prompt that sets the conditions and what the output should be the limit of what the model outputs

Files

The weight file for the llama-2-7b is available here. Add this file to the root directory after cloning the repository.

Screen shots

Screenshot

Screenshot

chat-bot's People

Contributors

sushanth1611 avatar

Stargazers

Dedeepya Mogilisetti avatar A V REVANTH 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.