File size: 1,629 Bytes
6469762
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77eb1ee
 
 
f208f83
77eb1ee
 
 
 
 
 
aeaa423
 
a3f5928
aeaa423
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f208f83
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
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

```markdown
<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](https://huggingface.co/datasets/keivalya/MedQuad-MedicalQnADataset) by Keivalya