Code Monkey home page Code Monkey logo

medical-paper-abstract's Introduction

๐Ÿ“„ Medical Paper Abstracts

The purpose of this notebook is to build a NLP model to make reading medical abstracts easier.

The paper we're replicating (the source of dataset that we'll be): is avalable here https://arxiv.org/abs/1612.05251

1. Problem Definition

The goal of the dataset was to explore the ability for NLP models to classify sentences which appear in sequential order.

In other words, given the abstract of a RCT, what role does each sentence serve in the abstract?

2. Data

Since we'll be replicating the paper above (PubMed 200k RCT), let's download the dataset they used.

We can do so from the authors GitHub: https://github.com/Franck-Dernoncourt/pubmed-rct

What we're going to cover

  • Using TensorFlow Datasets to download and explore data.
  • Creating preprocessing function for our data.
  • Batching & preparing datasets for modelling (making our datasets run fast).
  • Creating modelling callbacks.
  • Building a Model Experiments.
    • Model 1: Conv1D with Token Embedding.
    • Model 2: Tfhub Pretrained feature extraction
    • Model 3: Conv1D with Character Embedding
    • Model 4: Pretrained token embedding + character embedding + Positional embedding.

4. Result

Trained a NLP model with competitive performance to a research paper and in far less time ad with accuracy of 85.6%.


If you liked what you saw, want to have a chat with me about the portfolio, work opportunities, or collaboration, shoot an email at [email protected]

medical-paper-abstract's People

Contributors

anmolmishra99 avatar

Stargazers

 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.