Datasets:
Tasks:
Text Classification
Formats:
csv
Sub-tasks:
multi-class-classification
Languages:
English
Size:
< 1K
Tags:
medical-triage
symptom-classification
healthcare
pre-triage
symcat-derived
natural-language-processing
Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,239 +1,154 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
task_categories:
|
| 5 |
-
- text-classification
|
| 6 |
-
task_ids:
|
| 7 |
-
- multi-class-classification
|
| 8 |
-
pretty_name: SymCAT Medical Triage Dataset
|
| 9 |
-
tags:
|
| 10 |
-
- medical-triage
|
| 11 |
-
- symptom-classification
|
| 12 |
-
- healthcare
|
| 13 |
-
- pre-triage
|
| 14 |
-
- symcat-derived
|
| 15 |
-
- natural-language-processing
|
| 16 |
-
- academic-project
|
| 17 |
-
size_categories:
|
| 18 |
-
- n<1K
|
| 19 |
-
---
|
| 20 |
-
|
| 21 |
-
# SymCAT Medical Triage Dataset
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
- `
|
| 32 |
-
|
| 33 |
-
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
The dataset
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
##
|
| 51 |
-
|
| 52 |
-
| Label | Meaning |
|
| 53 |
-
|---|---|
|
| 54 |
-
| `self_monitor` |
|
| 55 |
-
| `consult_gp` |
|
| 56 |
-
| `urgent` |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
|
| 79 |
-
|
|
| 80 |
-
| `
|
| 81 |
-
| `
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
|
| 86 |
-
|
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
| 91 |
-
|
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
[`cristian-untaru/medquad-retrieval-pretriage`](https://huggingface.co/datasets/cristian-untaru/medquad-retrieval-pretriage)
|
| 156 |
-
|
| 157 |
-
Therefore:
|
| 158 |
-
|
| 159 |
-
- SymCAT-derived dataset: used for training/fine-tuning triage classifiers;
|
| 160 |
-
- MedQuAD retrieval dataset: used for contextual retrieval of medical Q&A information;
|
| 161 |
-
- the triage classifier is not fine-tuned on MedQuAD.
|
| 162 |
-
|
| 163 |
-
This distinction is important because the SymCAT-derived dataset provides supervised triage labels, while MedQuAD provides medical question-answer context that can be retrieved and displayed alongside the classifier prediction.
|
| 164 |
-
|
| 165 |
-
## How to Load the Dataset
|
| 166 |
-
|
| 167 |
-
The dataset can be loaded with the Hugging Face `datasets` library:
|
| 168 |
-
|
| 169 |
-
```python
|
| 170 |
-
from datasets import load_dataset
|
| 171 |
-
|
| 172 |
-
dataset = load_dataset("cristian-untaru/symcat-medical-triage-dataset")
|
| 173 |
-
|
| 174 |
-
print(dataset)
|
| 175 |
-
print(dataset["train"][0])
|
| 176 |
-
```
|
| 177 |
-
|
| 178 |
-
Expected splits:
|
| 179 |
-
|
| 180 |
-
```text
|
| 181 |
-
train
|
| 182 |
-
validation
|
| 183 |
-
test
|
| 184 |
-
```
|
| 185 |
-
|
| 186 |
-
The repository also includes `full.csv`, which contains the complete processed dataset before splitting.
|
| 187 |
-
|
| 188 |
-
## Example Record
|
| 189 |
-
|
| 190 |
-
A typical record contains a generated symptom-based text and its corresponding triage label.
|
| 191 |
-
|
| 192 |
-
Example structure:
|
| 193 |
-
|
| 194 |
-
```text
|
| 195 |
-
text: Condition: Example condition. Patient reports: symptom 1, symptom 2, symptom 3.
|
| 196 |
-
label: consult_gp
|
| 197 |
-
```
|
| 198 |
-
|
| 199 |
-
The exact fields available in the CSV files are described in the **Data Fields** section.
|
| 200 |
-
|
| 201 |
-
## Related Dataset and Model Repositories
|
| 202 |
-
|
| 203 |
-
Related dataset repositories:
|
| 204 |
-
|
| 205 |
-
- [`cristian-untaru/symcat-medical-triage-dataset`](https://huggingface.co/datasets/cristian-untaru/symcat-medical-triage-dataset)
|
| 206 |
-
- [`cristian-untaru/medquad-retrieval-pretriage`](https://huggingface.co/datasets/cristian-untaru/medquad-retrieval-pretriage)
|
| 207 |
-
|
| 208 |
-
Related model repositories:
|
| 209 |
-
|
| 210 |
-
- [`cristian-untaru/distilbert-medical-triage`](https://huggingface.co/cristian-untaru/distilbert-medical-triage)
|
| 211 |
-
|
| 212 |
-
Additional BioBERT and RoBERTa model repositories may be added separately after training and publication.
|
| 213 |
-
|
| 214 |
-
## Limitations
|
| 215 |
-
|
| 216 |
-
This dataset has several important limitations:
|
| 217 |
-
|
| 218 |
-
- It is a small academic dataset.
|
| 219 |
-
- The labels were produced using weak supervision and rule-based triage logic.
|
| 220 |
-
- It should not be treated as a clinically validated triage dataset.
|
| 221 |
-
- It does not replace professional medical judgment.
|
| 222 |
-
- It does not include patient history, age, vital signs, physical examination findings, comorbidities, medication history, or laboratory results.
|
| 223 |
-
- Some generated examples may be simplified and may not reflect the full complexity of real patient descriptions.
|
| 224 |
-
- The dataset is intended for academic experimentation and prototype development, not real-world clinical deployment.
|
| 225 |
-
- The dataset is derived from SymCAT-based condition and symptom information, and users should verify any source-specific usage requirements before reuse.
|
| 226 |
-
|
| 227 |
-
## Medical Disclaimer
|
| 228 |
-
|
| 229 |
-
This dataset is intended only for academic, research, and prototype development purposes.
|
| 230 |
-
|
| 231 |
-
It must not be used as the sole basis for medical diagnosis, treatment, triage, or emergency decision-making. In real-world scenarios, medical triage should be performed by qualified healthcare professionals.
|
| 232 |
-
|
| 233 |
-
In case of severe, worsening, or life-threatening symptoms, users should contact emergency medical services or a qualified healthcare professional.
|
| 234 |
-
|
| 235 |
-
## Author
|
| 236 |
-
|
| 237 |
-
**Cristian Untaru**
|
| 238 |
-
Faculty of Informatics
|
| 239 |
-
West University of Timișoara
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-classification
|
| 6 |
+
task_ids:
|
| 7 |
+
- multi-class-classification
|
| 8 |
+
pretty_name: SymCAT Medical Triage Dataset
|
| 9 |
+
tags:
|
| 10 |
+
- medical-triage
|
| 11 |
+
- symptom-classification
|
| 12 |
+
- healthcare
|
| 13 |
+
- pre-triage
|
| 14 |
+
- symcat-derived
|
| 15 |
+
- natural-language-processing
|
| 16 |
+
- academic-project
|
| 17 |
+
size_categories:
|
| 18 |
+
- n<1K
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# SymCAT Medical Triage Dataset
|
| 22 |
+
|
| 23 |
+
## Dataset Description
|
| 24 |
+
|
| 25 |
+
This repository contains a SymCAT-derived dataset prepared for symptom-based medical pre-triage text classification in the SortMed academic project.
|
| 26 |
+
|
| 27 |
+
The dataset contains English symptom descriptions labeled into three triage-oriented categories:
|
| 28 |
+
|
| 29 |
+
- `self_monitor`
|
| 30 |
+
- `consult_gp`
|
| 31 |
+
- `urgent`
|
| 32 |
+
|
| 33 |
+
It is intended for academic experimentation with transformer-based text classifiers and parameter-efficient fine-tuning methods. It is not a clinically validated medical dataset.
|
| 34 |
+
|
| 35 |
+
## Dataset Sources and Role
|
| 36 |
+
|
| 37 |
+
The dataset was generated from SymCAT-derived condition and symptom information and converted into a supervised text-classification format.
|
| 38 |
+
|
| 39 |
+
In the SortMed system, this dataset is used for training and evaluating the triage classification models. It is separate from the MedQuAD retrieval dataset, which is used only for retrieving related medical information.
|
| 40 |
+
|
| 41 |
+
## Dataset Structure
|
| 42 |
+
|
| 43 |
+
| Split | File | Examples |
|
| 44 |
+
|---|---|---:|
|
| 45 |
+
| Train | `train.csv` | 490 |
|
| 46 |
+
| Validation | `validation.csv` | 105 |
|
| 47 |
+
| Test | `test.csv` | 106 |
|
| 48 |
+
| Full dataset | `full.csv` | 701 |
|
| 49 |
+
|
| 50 |
+
## Label Mapping
|
| 51 |
+
|
| 52 |
+
| Label | ID | Meaning |
|
| 53 |
+
|---|---:|---|
|
| 54 |
+
| `self_monitor` | 0 | Symptoms appear mild and may be monitored, assuming no worsening or additional warning signs. |
|
| 55 |
+
| `consult_gp` | 1 | A general practitioner or non-emergency medical professional should be consulted. |
|
| 56 |
+
| `urgent` | 2 | Symptoms may require urgent medical attention or emergency evaluation. |
|
| 57 |
+
|
| 58 |
+
## Class Distribution
|
| 59 |
+
|
| 60 |
+
| Class | Examples |
|
| 61 |
+
|---|---:|
|
| 62 |
+
| `self_monitor` | 220 |
|
| 63 |
+
| `consult_gp` | 266 |
|
| 64 |
+
| `urgent` | 215 |
|
| 65 |
+
|
| 66 |
+
Additional statistics:
|
| 67 |
+
|
| 68 |
+
| Statistic | Value |
|
| 69 |
+
|---|---:|
|
| 70 |
+
| Total examples | 701 |
|
| 71 |
+
| Duplicate texts | 0 |
|
| 72 |
+
| Imbalance ratio | 1.237 |
|
| 73 |
+
| SymCAT-derived conditions before final subset selection | 801 |
|
| 74 |
+
| Condition-level overrides applied before final subset selection | 75 |
|
| 75 |
+
|
| 76 |
+
## Files and Columns
|
| 77 |
+
|
| 78 |
+
| File | Description |
|
| 79 |
+
|---|---|
|
| 80 |
+
| `train.csv` | Training split. |
|
| 81 |
+
| `validation.csv` | Validation split used for checkpoint selection and early stopping. |
|
| 82 |
+
| `test.csv` | Held-out test split used for final evaluation. |
|
| 83 |
+
| `full.csv` | Complete dataset. |
|
| 84 |
+
| `label_map.json` | Mapping between labels and numeric IDs. |
|
| 85 |
+
| `dataset_stats.json` | Dataset statistics used for documentation and reproducibility. |
|
| 86 |
+
| `README.md` | Dataset card documentation. |
|
| 87 |
+
|
| 88 |
+
Main columns include:
|
| 89 |
+
|
| 90 |
+
| Column | Description |
|
| 91 |
+
|---|---|
|
| 92 |
+
| `text` | Natural-language input text used by the classifier. |
|
| 93 |
+
| `label` | Triage class name. |
|
| 94 |
+
| `label_numeric` | Numeric class ID. |
|
| 95 |
+
| `condition_name` | Source condition name, if available. |
|
| 96 |
+
| `symptom_names` | Symptoms associated with the generated example. |
|
| 97 |
+
|
| 98 |
+
## Preprocessing
|
| 99 |
+
|
| 100 |
+
The dataset was generated from condition and symptom information, then transformed into short English symptom descriptions suitable for text classification.
|
| 101 |
+
|
| 102 |
+
Labels were assigned using deterministic rule-based triage logic designed for academic pre-triage experiments. The labels are weakly supervised and should not be interpreted as expert clinical annotations.
|
| 103 |
+
|
| 104 |
+
## Intended Use
|
| 105 |
+
|
| 106 |
+
This dataset can be used for:
|
| 107 |
+
|
| 108 |
+
- training medical pre-triage text classifiers;
|
| 109 |
+
- evaluating transformer-based classification models;
|
| 110 |
+
- comparing full fine-tuning with PEFT methods such as LoRA, Bottleneck MLP Adapter, and Frozen Encoder;
|
| 111 |
+
- academic experiments in NLP for healthcare.
|
| 112 |
+
|
| 113 |
+
## Limitations
|
| 114 |
+
|
| 115 |
+
- The labels are rule-based and not clinically validated.
|
| 116 |
+
- The dataset is small.
|
| 117 |
+
- It may not represent real patient language or demographic diversity.
|
| 118 |
+
- It should not be used as a standalone clinical dataset.
|
| 119 |
+
- It does not include patient history, vital signs, comorbidities, or physical examination findings.
|
| 120 |
+
- It is designed for English text only.
|
| 121 |
+
|
| 122 |
+
## Related Datasets
|
| 123 |
+
|
| 124 |
+
- [`cristian-untaru/medquad-retrieval-pretriage`](https://huggingface.co/datasets/cristian-untaru/medquad-retrieval-pretriage)
|
| 125 |
+
|
| 126 |
+
## Related Models
|
| 127 |
+
|
| 128 |
+
### Full Fine-Tuned Models
|
| 129 |
+
|
| 130 |
+
- [`cristian-untaru/distilbert-medical-triage`](https://huggingface.co/cristian-untaru/distilbert-medical-triage)
|
| 131 |
+
- [`cristian-untaru/biobert-medical-triage`](https://huggingface.co/cristian-untaru/biobert-medical-triage)
|
| 132 |
+
- [`cristian-untaru/roberta-medical-triage`](https://huggingface.co/cristian-untaru/roberta-medical-triage)
|
| 133 |
+
- [`cristian-untaru/biomedbert-medical-triage`](https://huggingface.co/cristian-untaru/biomedbert-medical-triage)
|
| 134 |
+
|
| 135 |
+
### LoRA Models
|
| 136 |
+
|
| 137 |
+
- [`cristian-untaru/lora-distilbert-medical-triage`](https://huggingface.co/cristian-untaru/lora-distilbert-medical-triage)
|
| 138 |
+
- [`cristian-untaru/lora-biobert-medical-triage`](https://huggingface.co/cristian-untaru/lora-biobert-medical-triage)
|
| 139 |
+
- [`cristian-untaru/lora-roberta-medical-triage`](https://huggingface.co/cristian-untaru/lora-roberta-medical-triage)
|
| 140 |
+
- [`cristian-untaru/lora-biomedbert-medical-triage`](https://huggingface.co/cristian-untaru/lora-biomedbert-medical-triage)
|
| 141 |
+
|
| 142 |
+
### Bottleneck MLP Adapter Models
|
| 143 |
+
|
| 144 |
+
- [`cristian-untaru/bottleneck-mlp-distilbert-medical-triage`](https://huggingface.co/cristian-untaru/bottleneck-mlp-distilbert-medical-triage)
|
| 145 |
+
- [`cristian-untaru/bottleneck-mlp-biobert-medical-triage`](https://huggingface.co/cristian-untaru/bottleneck-mlp-biobert-medical-triage)
|
| 146 |
+
- [`cristian-untaru/bottleneck-mlp-roberta-medical-triage`](https://huggingface.co/cristian-untaru/bottleneck-mlp-roberta-medical-triage)
|
| 147 |
+
- [`cristian-untaru/bottleneck-mlp-biomedbert-medical-triage`](https://huggingface.co/cristian-untaru/bottleneck-mlp-biomedbert-medical-triage)
|
| 148 |
+
|
| 149 |
+
### Frozen Encoder Models
|
| 150 |
+
|
| 151 |
+
- [`cristian-untaru/frozen-encoder-distilbert-medical-triage`](https://huggingface.co/cristian-untaru/frozen-encoder-distilbert-medical-triage)
|
| 152 |
+
- [`cristian-untaru/frozen-encoder-biobert-medical-triage`](https://huggingface.co/cristian-untaru/frozen-encoder-biobert-medical-triage)
|
| 153 |
+
- [`cristian-untaru/frozen-encoder-roberta-medical-triage`](https://huggingface.co/cristian-untaru/frozen-encoder-roberta-medical-triage)
|
| 154 |
+
- [`cristian-untaru/frozen-encoder-biomedbert-medical-triage`](https://huggingface.co/cristian-untaru/frozen-encoder-biomedbert-medical-triage)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|