-
clone this repo.
git clone https://github.com/dksath/QuoraQuestionPair
-
Download the model weights from Releases
-
Unzip file and add
model
folder into the repo
To run the model in the prototype, install FastAPI
and uvicorn
server. More information at FastAPI official website.
-
Install dependenices: -
FastAPI
-Uvicorn
-TensorFlow
-pandas
-transformers
(HuggingFace) -numpy
Install dependenices by Anaconda:
conda install -c conda-forge fastapi uvicorn
Or, Install dependenices by pip:
pip install fastapi "uvicorn[standard]"
Or install relevant dependencies from requirements.txt:
pip install -r requirements.txt
-
run the backend server :
uvicorn main:app
-
Install
node.js
andnpm
.You’ll need to have Node 14.0.0 or later version on your local development machine (but it’s not required on the server). We recommend using the latest LTS version. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects. For more information visit the official website of node.js
-
Install dependency
axios
Install dependenices by npm:
npm install [<package-spec> ...] aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall
-
change directory into
react
folder and start the servernpm start