Detail

Drug NER Model (SpaCy)

hongzhi_uchicago/drug_ner_spacy
Copy
Zhi Hong

A SpaCy model that extracts drug mentions from text.

Python static method
biology

Input

A list of input texts (strings)
Type: list

Output

A list of detected drugs and the number of times it has been detected in the input as tuples
Type: tuple

Run with DLHub SDK

from dlhub_sdk.client import DLHubClient
X = get_my_data() #replace this
dl = DLHubClient()
dl.run('hongzhi_uchicago/drug_ner_spacy', X)

Get More Info with DLHub SDK

from dlhub_sdk.client import DLHubClient
dl = DLHubClient()
dl.describe_servable('hongzhi_uchicago/drug_ner_spacy')

DLHub SDK Installation

pip install dlhub_sdk

DLHub SDK documentation