Upload 3 files
Browse files- README.md +82 -16
- jmid.jsonl +0 -0
- jmid_preview.jsonl +0 -0
README.md
CHANGED
|
@@ -1,25 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# JMID: Japanese Medical Incident Dataset
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
本データセットは、[公益財団法人日本医療機能評価機構](https://www.med-safe.jp/)の医療事故報告書に書かれている医療事故内容から、医療事故の「具体的内容」「背景・要因」「改善策」とその他の情報をまとめたものである。
|
| 4 |
|
| 5 |
使い方の例は以下に載せる。
|
| 6 |
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
```python:read_jmid.py
|
| 9 |
-
import
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
| 21 |
```
|
| 22 |
|
|
|
|
|
|
|
| 23 |
医療事故の具体的内容、背景・要因、改善策のほかに、本データセットに含まれている追加情報は以下のようなものがある。
|
| 24 |
|
| 25 |
- 分類
|
|
@@ -31,9 +67,23 @@ with open(file_path, "r", encoding="utf-8") as f:
|
|
| 31 |
- 具体情報
|
| 32 |
etc...
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
### 医療事故内容から背景・要因、改善策を出力した時のBERTScoreの値
|
| 36 |
|
|
|
|
| 37 |
以下は、実際に本データセットを用い、医療事故の内容から、背景・要因、改善策を生成させたときの結果である。(第8回~第21回報告書の全2017件)
|
| 38 |
|
| 39 |
- Zero-shot
|
|
@@ -43,8 +93,22 @@ etc...
|
|
| 43 |
- All Prediction:事故内容を入力し、few-shot(n=5)で出力として背景・要因、改善策を一括生成させるタスク
|
| 44 |
- Each Prediction:事故内容を入力し、few-shot(n=5)で出力として背景・要因、改善策を段階的に生成させるタスク
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
<!-- BERTScores for generated background and causal factors from medical incident -->
|
| 47 |
-
<b>医療事故の内容から、背景・要因を生成させた時のBERTScoreの平均値
|
|
|
|
| 48 |
<table border="1">
|
| 49 |
<tr>
|
| 50 |
<th rowspan="2">モデル</th>
|
|
@@ -76,7 +140,8 @@ etc...
|
|
| 76 |
</tr>
|
| 77 |
</table>
|
| 78 |
|
| 79 |
-
<
|
|
|
|
| 80 |
|
| 81 |
<table border="1">
|
| 82 |
<tr>
|
|
@@ -130,8 +195,9 @@ etc...
|
|
| 130 |
</table>
|
| 131 |
|
| 132 |
#### 具体情報を用いた際の、医療事故内容別の結果は以下である。
|
|
|
|
| 133 |
|
| 134 |
-
## 背景・要因
|
| 135 |
|
| 136 |
<details>
|
| 137 |
<summary>調剤(71件)</summary>
|
|
@@ -1109,7 +1175,7 @@ etc...
|
|
| 1109 |
</details>
|
| 1110 |
|
| 1111 |
|
| 1112 |
-
## 改善策
|
| 1113 |
|
| 1114 |
<details>
|
| 1115 |
<summary>調剤(71件)</summary>
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: JMID
|
| 3 |
+
language: ja
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
- text-generation
|
| 8 |
+
size_categories:
|
| 9 |
+
- 1K<n<10K
|
| 10 |
+
configs:
|
| 11 |
+
- config_name: default
|
| 12 |
+
data_files:
|
| 13 |
+
- split: train
|
| 14 |
+
path: jmid.jsonl
|
| 15 |
+
- config_name: preview # first 100 samples
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: jmid_preview.jsonl
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
# JMID: Japanese Medical Incident Dataset
|
| 23 |
|
| 24 |
+
|
| 25 |
+
**日本語**
|
| 26 |
+
|
| 27 |
本データセットは、[公益財団法人日本医療機能評価機構](https://www.med-safe.jp/)の医療事故報告書に書かれている医療事故内容から、医療事故の「具体的内容」「背景・要因」「改善策」とその他の情報をまとめたものである。
|
| 28 |
|
| 29 |
使い方の例は以下に載せる。
|
| 30 |
|
| 31 |
|
| 32 |
+
**English**
|
| 33 |
+
|
| 34 |
+
This dataset is compiled from the medical incident reports published by [the Japan Council for Quality Health Care](https://www.med-safe.jp/). It summarizes the contents of medical incidents, including the specific details, background and contributing factors, and proposed improvements, along with other related information.
|
| 35 |
+
|
| 36 |
+
An example of how to use the dataset is provided below.
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
|
| 40 |
```python:read_jmid.py
|
| 41 |
+
from datasets import load_dataset
|
| 42 |
+
|
| 43 |
+
# Load the preview dataset (first 100 samples)
|
| 44 |
+
ds_preview = load_dataset("Sakaji-Lab/JMID", "preview")
|
| 45 |
+
|
| 46 |
+
print(ds_preview)
|
| 47 |
+
print(ds_preview["train"][0])
|
| 48 |
+
|
| 49 |
+
# Load the full dataset
|
| 50 |
+
# ds = load_dataset("Sakaji-Lab/JMID")
|
| 51 |
+
|
| 52 |
+
# print(ds) # or print()
|
| 53 |
+
# print(ds["train"][0])
|
| 54 |
+
|
| 55 |
```
|
| 56 |
|
| 57 |
+
**日本語**
|
| 58 |
+
|
| 59 |
医療事故の具体的内容、背景・要因、改善策のほかに、本データセットに含まれている追加情報は以下のようなものがある。
|
| 60 |
|
| 61 |
- 分類
|
|
|
|
| 67 |
- 具体情報
|
| 68 |
etc...
|
| 69 |
|
| 70 |
+
**English**
|
| 71 |
+
|
| 72 |
+
In addition to the specific details, background and contributing factors, and proposed improvements of each medical incident, this dataset also includes the following supplementary information:
|
| 73 |
+
|
| 74 |
+
- Classification
|
| 75 |
+
- Severity of the incident
|
| 76 |
+
- Discussion by the expert analysis team
|
| 77 |
+
- Discussion by the expert analysis team and the General Evaluation Committee
|
| 78 |
+
- Reported cases
|
| 79 |
+
- Descriptive information
|
| 80 |
+
- Specific information
|
| 81 |
+
etc...
|
| 82 |
+
|
| 83 |
|
| 84 |
### 医療事故内容から背景・要因、改善策を出力した時のBERTScoreの値
|
| 85 |
|
| 86 |
+
**日本語**
|
| 87 |
以下は、実際に本データセットを用い、医療事故の内容から、背景・要因、改善策を生成させたときの結果である。(第8回~第21回報告書の全2017件)
|
| 88 |
|
| 89 |
- Zero-shot
|
|
|
|
| 93 |
- All Prediction:事故内容を入力し、few-shot(n=5)で出力として背景・要因、改善策を一括生成させるタスク
|
| 94 |
- Each Prediction:事故内容を入力し、few-shot(n=5)で出力として背景・要因、改善策を段階的に生成させるタスク
|
| 95 |
|
| 96 |
+
|
| 97 |
+
**English**
|
| 98 |
+
|
| 99 |
+
The following shows the results obtained using this dataset to generate background and contributing factors as well as proposed improvements from the descriptions of medical incidents (a total of 2,017 cases from the 8th to the 21st reports):
|
| 100 |
+
|
| 101 |
+
- Zero-shot
|
| 102 |
+
- All Prediction: A task in which the incident description is given as input,and both the background/contributing factors and proposed improvements are generated at once.
|
| 103 |
+
- Each Prediction: A task in which the incident description is given as input, and the background/contributing factors and proposed improvements are generated step by step.
|
| 104 |
+
|
| 105 |
+
- Few-shot
|
| 106 |
+
- All Prediction: A task in which the incident description is given as input, and both the background/contributing factors and proposed improvements are generated at once using few-shot learning (n=5).
|
| 107 |
+
- Each Prediction: A task in which the incident description is given as input, and the background/contributing factors and proposed improvements are generated step by step using few-shot learning (n=5).
|
| 108 |
+
|
| 109 |
<!-- BERTScores for generated background and causal factors from medical incident -->
|
| 110 |
+
<b>医療事故の内容から、背景・要因を生成させた時のBERTScoreの平均値
|
| 111 |
+
(Average BERTScore when generating background and contributing factors from the description of medical incidents)</b>
|
| 112 |
<table border="1">
|
| 113 |
<tr>
|
| 114 |
<th rowspan="2">モデル</th>
|
|
|
|
| 140 |
</tr>
|
| 141 |
</table>
|
| 142 |
|
| 143 |
+
<b>医療事故の内容から、改善策を生成させた時のBERTScoreの平均値
|
| 144 |
+
(Average BERTScore when generating proposed improvements from the description of medical incidents)</b>
|
| 145 |
|
| 146 |
<table border="1">
|
| 147 |
<tr>
|
|
|
|
| 195 |
</table>
|
| 196 |
|
| 197 |
#### 具体情報を用いた際の、医療事故内容別の結果は以下である。
|
| 198 |
+
The following shows the results for each type of medical incident when utilizing the specific information.
|
| 199 |
|
| 200 |
+
## 背景・要因(background and contributing factors)
|
| 201 |
|
| 202 |
<details>
|
| 203 |
<summary>調剤(71件)</summary>
|
|
|
|
| 1175 |
</details>
|
| 1176 |
|
| 1177 |
|
| 1178 |
+
## 改善策(proposed improvements)
|
| 1179 |
|
| 1180 |
<details>
|
| 1181 |
<summary>調剤(71件)</summary>
|
jmid.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
jmid_preview.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|