Add dataset card with Apache-2.0 license
Browse files
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- 100K<n<1M
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-generation
|
| 9 |
+
tags:
|
| 10 |
+
- medical
|
| 11 |
+
- dialogue
|
| 12 |
+
- doctor-patient
|
| 13 |
+
- healthcare
|
| 14 |
+
- openmed
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# MedDialog
|
| 18 |
+
|
| 19 |
+
A medical dialogue dataset for training models to generate helpful doctor responses to patient queries.
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
|
| 23 |
+
- **Source**: [ruslanmv/ai-medical-chatbot](https://huggingface.co/datasets/ruslanmv/ai-medical-chatbot)
|
| 24 |
+
- **License**: Apache-2.0 (inherited from source dataset)
|
| 25 |
+
- **Size**: ~252k patient-doctor dialogue pairs
|
| 26 |
+
- **Language**: English
|
| 27 |
+
- **Splits**: Train (227k) / Validation (25.2k)
|
| 28 |
+
|
| 29 |
+
## Dataset Structure
|
| 30 |
+
|
| 31 |
+
Each example contains:
|
| 32 |
+
- **patient_message**: The patient's description of symptoms or medical question
|
| 33 |
+
- **doctor_response**: The doctor's response (ground truth)
|
| 34 |
+
- **dialogue_context**: Additional context (empty for single-turn dialogues)
|
| 35 |
+
|
| 36 |
+
## Source and License
|
| 37 |
+
|
| 38 |
+
This dataset is derived from [ruslanmv/ai-medical-chatbot](https://huggingface.co/datasets/ruslanmv/ai-medical-chatbot),
|
| 39 |
+
which is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 40 |
+
|
| 41 |
+
Processing applied:
|
| 42 |
+
- Combined Description and Patient fields into patient_message
|
| 43 |
+
- Filtered out very short or redirect-only responses
|
| 44 |
+
- Truncated messages over 2500 characters
|
| 45 |
+
- 90/10 train/validation split with seed 42
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
## Intended Use
|
| 52 |
+
|
| 53 |
+
This dataset is intended for training and evaluating medical dialogue systems in research settings.
|
| 54 |
+
It should not be used as a substitute for professional medical advice.
|
| 55 |
+
|
| 56 |
+
## Part of OpenMed
|
| 57 |
+
|
| 58 |
+
This dataset is part of the [OpenMed](https://huggingface.co/OpenMed) collection of medical NLP resources.
|