Pipeline to Detect Adverse Drug Events (biobert)

Description

This pretrained pipeline is built on the top of ner_ade_biobert model.

Predicted Entities

DRUG, ADE

Live Demo Open in Colab Copy S3 URI

How to use

pipeline = PretrainedPipeline("ner_ade_biobert_pipeline", "en", "clinical/models")


pipeline.annotate("Both the erbA IRES and the erbA/myb virus constructs transformed erythroid cells after infection of bone marrow or blastoderm cultures. The erbA/myb IRES virus exhibited a 5-10-fold higher transformed colony forming efficiency than the erbA IRES virus in the blastoderm assay.")
val pipeline = new PretrainedPipeline("ner_ade_biobert_pipeline", "en", "clinical/models")


pipeline.annotate("Both the erbA IRES and the erbA/myb virus constructs transformed erythroid cells after infection of bone marrow or blastoderm cultures. The erbA/myb IRES virus exhibited a 5-10-fold higher transformed colony forming efficiency than the erbA IRES virus in the blastoderm assay.")
import nlu
nlu.load("en.med_ner.biobert_ade.pipeline").predict("""Both the erbA IRES and the erbA/myb virus constructs transformed erythroid cells after infection of bone marrow or blastoderm cultures. The erbA/myb IRES virus exhibited a 5-10-fold higher transformed colony forming efficiency than the erbA IRES virus in the blastoderm assay.""")

Results

+--------------------------------------------+--------+
|chunks                                      |entities|
+--------------------------------------------+--------+
|5-10-fold                                   |DRUG    |
|higher transformed colony forming efficiency|ADE     |
+--------------------------------------------+--------+

Model Information

Model Name: ner_ade_biobert_pipeline
Type: pipeline
Compatibility: Healthcare NLP 3.4.1+
License: Licensed
Edition: Official
Language: en
Size: 421.8 MB

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • TokenizerModel
  • BertEmbeddings
  • MedicalNerModel
  • NerConverter