MaziyarPanahi commited on
Commit
f97e24e
·
verified ·
1 Parent(s): c16870e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - medical
9
+ - drug-drug-interaction
10
+ - pharmacology
11
+ - clinical
12
+ - ddi
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # DDI Corpus Processed
18
+
19
+ Drug-Drug Interaction (DDI) detection dataset processed from the [SemEval-2013 DDI Corpus](https://github.com/isegura/DDICorpus).
20
+
21
+ ## Dataset Description
22
+
23
+ This dataset contains drug-drug interaction examples for 5-class classification:
24
+
25
+ - **MECHANISM**: Mechanistic description of how drugs interact (e.g., inhibition, induction)
26
+ - **EFFECT**: Clinical effect of concurrent use (e.g., increased toxicity, decreased efficacy)
27
+ - **ADVISE**: Advisory or cautionary information about concurrent use
28
+ - **INT**: General interaction without specific type
29
+ - **NONE**: No interaction between the drug pair
30
+
31
+ ## Dataset Statistics
32
+
33
+ | Split | Total | MECHANISM | EFFECT | ADVISE | INT | NONE |
34
+ |-------|-------|-----------|--------|--------|-----|------|
35
+ | Train | 5,744 | 1,319 (23%) | 1,687 (29%) | 826 (14%) | 189 (3%) | 1,723 (30%) |
36
+ | Test | 1,398 | 302 (22%) | 360 (26%) | 221 (16%) | 96 (7%) | 419 (30%) |
37
+
38
+ ## Data Format
39
+
40
+ Each example contains:
41
+ - `sentence`: The original sentence containing drug mentions
42
+ - `drug1`: First drug entity
43
+ - `drug2`: Second drug entity
44
+ - `relation`: Interaction type (MECHANISM, EFFECT, ADVISE, INT, or NONE)
45
+ - `source_file`: Original XML source file
46
+ - `sentence_id`: Original sentence ID
47
+ - `pair_id`: Original pair ID
48
+
49
+ ## Usage
50
+
51
+ ```python
52
+ from datasets import load_dataset
53
+
54
+ dataset = load_dataset("MaziyarPanahi/DDI-Corpus-Processed")
55
+ ```
56
+
57
+ ## Citation
58
+
59
+ If you use this dataset, please cite:
60
+
61
+ ```bibtex
62
+ @article{herrero2013ddi,
63
+ title={The DDI corpus: An annotated corpus with pharmacological substances and drug--drug interactions},
64
+ author={Herrero-Zazo, Mar{\'\i}a and Segura-Bedmar, Isabel and Mart{\'\i}nez, Paloma and Declerck, Thierry},
65
+ journal={Journal of Biomedical Informatics},
66
+ volume={46},
67
+ number={5},
68
+ pages={914--920},
69
+ year={2013}
70
+ }
71
+ ```
72
+
73
+ ## License
74
+
75
+ CC BY-NC 4.0 (following original DDI Corpus license)