CoolFace
Datasetpublic

aryang2005/symptom_to_diagnosis

Dataset Summary This dataset contains natural language descriptions of symptoms labeled with 22 corresponding diagnoses. Gretel/symptom_to_diagnosis provides 1065 symptom descriptions in the English language labeled with 22 diagnoses, focusing on fine-grained single-domain diagnosis. Data Fields Each row contains the following fields: input_text : A string field containing symptoms output_text : A string field containing a diagnosis Example: { "output_text":… See the full description on the dataset page: https://huggingface.co/datasets/aryang2005/symptom_to_diagnosis.

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
0likes23downloads
Dataset Card

Dataset Summary

This dataset contains natural language descriptions of symptoms labeled with 22 corresponding diagnoses. Gretel/symptom_to_diagnosis provides 1065 symptom descriptions in the English language labeled with 22 diagnoses, focusing on fine-grained single-domain diagnosis.

Data Fields

Each row contains the following fields:

  • —input_text : A string field containing symptoms
  • —output_text : A string field containing a diagnosis

Example:

{
"output_text": "drug reaction",
"input_text": "I've been having headaches and migraines, and I can't sleep. My whole body shakes and twitches. Sometimes I feel lightheaded."
}

Diagnoses

This table contains the count of each diagnosis in the train and test splits.

Diagnosistrain.jsonltest.jsonl
0drug reaction408
1allergy4010
2chicken pox4010
3diabetes4010
4psoriasis4010
5hypertension4010
6cervical spondylosis4010
7bronchial asthma4010
8varicose veins4010
9malaria4010
10dengue4010
11arthritis4010
12impetigo4010
13fungal infection399
14common cold3910
15gastroesophageal reflux disease3910
16urinary tract infection399
17typhoid389
18pneumonia3710
19peptic ulcer disease3710
20jaundice337
21migraine3210

Data Splits

The data is split to 80% train (853 examples, 167kb) and 20% test (212 examples, 42kb).

Dataset Creation

Data was filtered to remove unwanted categories and updated using an LLM to create language more consistent with how a patient would describe symptoms in natural language to a doctor.

Source Data

This dataset was adapted based on the Symptom2Disease dataset from Kaggle.

Personal and Sensitive Information

The symptoms in this dataset were modified from their original format using an LLM and do not contain personal data.

Limitations

This dataset is licensed Apache 2.0 and free for use.