Skip to content

Latest commit

 

History

History
51 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

51 lines (25 loc) · 1.33 KB

Rx 💉

CircleCI

A character-level language model trained on the British National Formulary (BNF) A-Z of clinical medicines and a minigame to challenge it.

Play the game

What's in the box?

The training code in this repo was executed on an Ubuntu 18.04 paperspace instance with a Nvidia Quadro P4000 GPU, NVIDIA Driver: 410.48, CUDA 10.0.130-1.

Developer Quickstart

Train the model

  1. git clone git@github.com:coxy1989/rx

  2. cd rx/rx_model

  3. conda env create -f environment.yml

  4. source activate rx

  5. jupyter notebook

  6. Import the keras model to tensorflow.js

Run the frontend

  1. git clone git@github.com:coxy1989/rx

  2. cd rx/rx_spa

  3. docker build -t rx .

  4. docker run -it -v $PWD:/app -p 3000:3000 --entrypoint bash rx

  5. cd app

  6. npm start