Skip to content

DumbMachine/Hackshetra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackshetra

forthebadge forthebadge

Desciption:

image image image

This is a simple Google Assistant ChatBot Action, to provide you information about your illness after hearing the symptoms. Data has learnt the embeddings from 1.3 million Q/A answers hosted by BioASQ data. The model trained using Transoformer network was trained individualy on the Answers and Questions dataset, whose lower level embedding were then obtained from FCNN and the feed into a (.) Product Function to give a Similarity Matrix.

image

Tech Stack

  • Angular for Frontend of the Doctors Dashboard.
  • Ml Backend in Python ( Flask ), making use of Tensorflow and Transformer(BERT).
  • Node Backend for Google Assistant Actions.

image

Instructions to Run:

Make sure you have a good internet connection, otherwise don't even try this. Please dont no.
  1. Download the required data for the model and install .
$ cd py_backend
$ wget  https://anaconda.org/pytorch/faiss-gpu/1.2.1/download/linux-64/faiss-gpu-1.2.1-py36_cuda9.0.176_1.tar.bz2
$ tar xvjf faiss-cpu-1.2.1-py36_cuda9.0.176_1.tar.bz2
$ cp -r lib/python3.6/site-packages/* {$which python}/dist-packages/
$ pip install mkl
$ pip install tensorflow-gpu==2.0.0-alpha0
$ conda install pycurl  # dont forget this, otherwise the next one won't work
$ pip install https://github.com/Santosh-Gupta/DocProduct/archive/master.zip
  1. Run the model and firebase actions.
$ python server.py
$ ngrok http 5000
$ cd ..
$ cd node_backend
$ cd Google Assistant
$ npm install
# Initialize you gcp account and google cloud shell
$ firebase deploy --only functions
  1. Run the frontend
$ cd hackshetra-node
$ ng serve
$ ngrok http 3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published