File size: 2,062 Bytes
f97e24e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
license: cc-by-nc-4.0
task_categories:
- text-classification
language:
- en
tags:
- medical
- drug-drug-interaction
- pharmacology
- clinical
- ddi
size_categories:
- 1K<n<10K
---

# DDI Corpus Processed

Drug-Drug Interaction (DDI) detection dataset processed from the [SemEval-2013 DDI Corpus](https://github.com/isegura/DDICorpus).

## Dataset Description

This dataset contains drug-drug interaction examples for 5-class classification:

- **MECHANISM**: Mechanistic description of how drugs interact (e.g., inhibition, induction)
- **EFFECT**: Clinical effect of concurrent use (e.g., increased toxicity, decreased efficacy)
- **ADVISE**: Advisory or cautionary information about concurrent use
- **INT**: General interaction without specific type
- **NONE**: No interaction between the drug pair

## Dataset Statistics

| Split | Total | MECHANISM | EFFECT | ADVISE | INT | NONE |
|-------|-------|-----------|--------|--------|-----|------|
| Train | 5,744 | 1,319 (23%) | 1,687 (29%) | 826 (14%) | 189 (3%) | 1,723 (30%) |
| Test | 1,398 | 302 (22%) | 360 (26%) | 221 (16%) | 96 (7%) | 419 (30%) |

## Data Format

Each example contains:
- `sentence`: The original sentence containing drug mentions
- `drug1`: First drug entity
- `drug2`: Second drug entity
- `relation`: Interaction type (MECHANISM, EFFECT, ADVISE, INT, or NONE)
- `source_file`: Original XML source file
- `sentence_id`: Original sentence ID
- `pair_id`: Original pair ID

## Usage

```python
from datasets import load_dataset

dataset = load_dataset("MaziyarPanahi/DDI-Corpus-Processed")
```

## Citation

If you use this dataset, please cite:

```bibtex
@article{herrero2013ddi,
  title={The DDI corpus: An annotated corpus with pharmacological substances and drug--drug interactions},
  author={Herrero-Zazo, Mar{\'\i}a and Segura-Bedmar, Isabel and Mart{\'\i}nez, Paloma and Declerck, Thierry},
  journal={Journal of Biomedical Informatics},
  volume={46},
  number={5},
  pages={914--920},
  year={2013}
}
```

## License

CC BY-NC 4.0 (following original DDI Corpus license)