File size: 1,581 Bytes
2b71edf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language: en
tags:
- medical
- ner
- named-entity-recognition
- healthcare
- i2b2
license: apache-2.0
datasets:
- i2b2-2018
metrics:
- f1
- precision
- recall
---

# i2b2 2018 Medical NER Model

This model is fine-tuned for medical Named Entity Recognition (NER) using the i2b2 2018 dataset.

## Model Details

- **Task**: Named Entity Recognition (NER)
- **Domain**: Medical/Healthcare
- **Dataset**: i2b2 2018
- **Model Type**: Token Classification

## Usage

```python
from transformers import pipeline

# Load the model
ner_pipeline = pipeline(
    "ner",
    model="prakharsinghAI/i2b2-ner-model",
    aggregation_strategy="simple"
)

# Example usage
text = "Patient was prescribed aspirin 100mg twice daily for headache."
results = ner_pipeline(text)
print(results)
```

## Training Details

- **Dataset**: i2b2 2018 Medical NER
- **Task**: Token Classification
- **Labels**: Medical entities (Drug, Dosage, Route, etc.)

## Performance

This model was trained on the i2b2 2018 dataset for medical named entity recognition tasks.

## Citation

If you use this model, please cite the i2b2 2018 dataset:

```bibtex
@article{krallinger2015chemdner,
  title={The CHEMDNER corpus of chemicals and drugs and its annotation principles},
  author={Krallinger, Martin and Rabal, Obdulia and Leitner, Florian and Vazquez, Miguel and Salgado, David and Lu, Zhiyong and Leaman, Robert and Lu, Yanan and Ji, Donghong and Lowe, Daniel M and others},
  journal={Journal of cheminformatics},
  volume={7},
  number={1},
  pages={1--17},
  year={2015},
  publisher={BioMed Central}
}
```