Giter VIP home page Giter VIP logo

raykor's Introduction

README for Clinical Trials Dataset Conversion and Analysis

Overview

This repository contains the tools and workflows for converting clinical trials data from JSON to a more compact and efficient .parquet format. The dataset used comprises the top 2000 records from ClinicalTrials.gov. The purpose of this conversion is to facilitate faster data processing and model training phases in Model learning process.

Dataset Description

The original dataset was obtained from ClinicalTrials.gov, including detailed information on various clinical studies. The dataset was transformed from JSON format to .parquet, which provides efficient data storage and rapid access.

The Code is available here GitHub repository.

Conversion Details

Example JSON Entry

Below is a short example of a JSON entry in the dataset:

{
    "identificationModule": {
        "nctId": "NCT06390072",
        "orgStudyIdInfo": {
            "id": "23-X-71"
        },
        "briefTitle": "Project Hypnos: The Impact of a Brief Hypnosis Intervention on Single-limb Dynamic Balance in People With Chronic Ankle Instability"
    }
}

Converted Text Record

The JSON data is converted into the following text format for simplicity and ease of use:

identificationModule nctId: NCT06390072, orgStudyIdInfo id: 23-X-71, briefTitle: Project Hypnos: The Impact of a Brief Hypnosis Intervention on Single-limb Dynamic Balance in People With Chronic Ankle Instability,

Final Data Storage

The final converted .parquet file is hosted on HuggingFace Datasets for easy access and integration into data pipelines.

Model Training and Inference

Computing Requirements

  • Download Time: The code takes approximately 2-3 minutes to download and load the necessary libraries.
  • Training Time: Training time varies depending on the GPU memory available.
  • Memory Management: The current script utilizes the maximum available GPU memory, which can be adjusted by modifying the batch_size parameter.

Running the Model

To run the model:

  1. Open the provided Google Colab notebook: Run Inference Notebook.
  2. The Runtime for the current model in freetier is t4 GPU with memory of 16 gb.
  3. Click on Run All in the toolbar to execute all cells (see included image for reference).

Run All Steps

### Post-Training

After the model is fine-tuned on the dataset, you can provide a prompt to generate specific outputs based on the learned patterns.

Usage Instructions

For developers and data scientists looking to utilize this pipeline:

  • Ensure you have access to a GPU for faster processing.
  • Follow the instructions in the Google Colab notebook to fine-tune and deploy the model.
  • Adjust batch_size as necessary to fit your hardware capabilities without exceeding GPU memory limits.

raykor's People

Contributors

sanchit339 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.