Giter Site home page Giter Site logo

mimic-mednli's Introduction

mimic-mednli

  1. Download and compile word2vec:
git clone https://github.com/svn2github/word2vec.git
cd word2vec
make
  1. Run preprocessing notebook
  2. Run word2vec script
  3. Download mednli repository
git clone https://github.com/jgc128/mednli
  1. Download and extract the content of the mednli_data.zip from Physionet and save into a directory called ./mednli/data/mednli_1.0
  2. Follow the instructions on https://github.com/jgc128/mednli carefully for setting up the environment and some preprocessing
  3. Use the word embeddings and the training script provided to train the model
python train_model.py with model_class=PyTorchSimpleModel embeddings_filename=<pickled_embeddings_file>
  1. Run the trained model and retrieve accuracy result
python predict.py < data/mednli_1.0/mli_test_v1.jsonl > data/test_input_probabilities.txt

mimic-mednli's People

Contributors

amin-nejad 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.