MedicalQnA-llama2 / README.md
randomani's picture
Update README.md
f208f83 verified
metadata
dataset_info:
  features:
    - name: prompt
      dtype: string
  splits:
    - name: train
      num_bytes: 23746523
      num_examples: 16407
  download_size: 9001446
  dataset_size: 23746523
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
license: mit
task_categories:
  - text2text-generation
  - question-answering
language:
  - en
tags:
  - medical
size_categories:
  - 10K<n<100K

MedicalQnA-llama2 Dataset

This repository contains the MedQuad-MedicalQnADataset specifically formatted for use with the LLaMA 2 prompt template. The dataset consists of medical questions categorized by question type, along with their corresponding answers. It is designed for text-to-text generation and text-generation tasks, particularly focusing on the medical domain.

Dataset Structure

The dataset is structured to include prompts that follow the LLaMA 2 template. Each prompt is generated from the medical questions and answers in the dataset, incorporating the question type into the system prompt.

Example Prompt

Here is an example of how the prompts are formatted:

System prompt: This is a medical question of type: Question Type

<s>[INST] <<SYS>>
This is a medical question of type: susceptibility.
<</SYS>> Who is at risk for Lymphocytic Choriomeningitis (LCM)? [/INST] LCMV infections can occur after exposure to fresh urine, droppings, saliva, or nesting materials from infected rodents. </s>

Reference

For more details and access to the dataset, visit the Hugging Face Dataset Page by Keivalya