Datasets:
Commit
·
4b66725
1
Parent(s):
57a6f77
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- CAC
|
| 7 |
+
- ICD10
|
| 8 |
+
pretty_name: ICD10 DX Code Description
|
| 9 |
+
---
|
| 10 |
+
# ICD10 Diagnosis Description Mapping Dataset
|
| 11 |
+
|
| 12 |
+
## Overview
|
| 13 |
+
|
| 14 |
+
This dataset is designed to assist in mapping ICD10 Diagnosis descriptions documented in clinical documents to the standard ICD10 Diagnosis descriptions by CMS (Centers for Medicare & Medicaid Services). The primary objective is to train a model that can map free-form disease text to ICD Codes.
|
| 15 |
+
|
| 16 |
+
## Dataset Details
|
| 17 |
+
|
| 18 |
+
The dataset consists of the following columns:
|
| 19 |
+
|
| 20 |
+
- **AnnotationString**: This column contains the disease text as described in patient clinical documents.
|
| 21 |
+
- **DXCode**: This column contains the standard DX code corresponding to the description in the AnnotationString column.
|
| 22 |
+
- **ShortDesc**: This column contains the standard ICD Description in a short form corresponding to the DXCode.
|
| 23 |
+
- **LongDesc**: This column contains the standard ICD Description in a long form corresponding to the DXCode.
|
| 24 |
+
|
| 25 |
+
## Model Training Objective
|
| 26 |
+
|
| 27 |
+
The goal of this dataset is to train the LLAMA2 7B Model to generate one of the following outputs based on the provided AnnotationString as input:
|
| 28 |
+
|
| 29 |
+
### Case 1: Expecting DX Code as Output
|
| 30 |
+
|
| 31 |
+
- **Instruction**: As an ICD Code helper, the model needs to generate an ICD 10 DX Code for the corresponding disease description.
|
| 32 |
+
- **Input**: `<Annotation String>`
|
| 33 |
+
- **Output**: `<DXCode>`
|
| 34 |
+
|
| 35 |
+
### Case 2: Expecting ShortDesc as Output
|
| 36 |
+
|
| 37 |
+
- **Instruction**: As an ICD Code helper, the model needs to generate the standard ICD 10 DX Code Short Description for the corresponding clinical text.
|
| 38 |
+
- **Input**: `<Annotation String>`
|
| 39 |
+
- **Output**: `<ShortDesc>`
|
| 40 |
+
|
| 41 |
+
### Case 3: Expecting LongDesc as Output
|
| 42 |
+
|
| 43 |
+
- **Instruction**: As an ICD Code helper, the model needs to generate the standard ICD 10 DX Code Long Description for the corresponding clinical text.
|
| 44 |
+
- **Input**: `<Annotation String>`
|
| 45 |
+
- **Output**: `<LongDesc>`
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
To utilize this dataset effectively for training the LLAMA2 7B Model, you can follow these steps:
|
| 50 |
+
|
| 51 |
+
1. Preprocess your input data to match the format specified in the "Instruction" for the desired case (1, 2, or 3).
|
| 52 |
+
2. Use the preprocessed data as input to your model.
|
| 53 |
+
3. The model will generate the corresponding output (DXCode, ShortDesc, or LongDesc) based on the case you specified.
|
| 54 |
+
|
| 55 |
+
## Example
|
| 56 |
+
|
| 57 |
+
Here's an example of how to use this dataset and the model:
|
| 58 |
+
|
| 59 |
+
### Input
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
# Instruction: As a ICD Code helper, you need to generate ICD 10 Dx Code for corresponding following Disease description
|
| 63 |
+
# Input: "Patient presents with persistent cough and fever."
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### Output (Case 1)
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
# Output: "J44.9"
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
### Output (Case 2)
|
| 73 |
+
|
| 74 |
+
```python
|
| 75 |
+
# Output: "Chronic obstructive pulmonary disease, unspecified"
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
### Output (Case 3)
|
| 79 |
+
|
| 80 |
+
```python
|
| 81 |
+
# Output: "Chronic obstructive pulmonary disease, unspecified"
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## Citation
|
| 85 |
+
|
| 86 |
+
If you use this dataset or the pre-trained model in your research or applications, please consider citing the source or authors for proper attribution.
|
| 87 |
+
|
| 88 |
+
---
|
| 89 |
+
|
| 90 |
+
Feel free to modify and expand this readme file to include any additional information or instructions specific to your use case.
|