Biomedical named-entity recognition following the all-in-one NER (AIONER) scheme introduced by
Luo
et al.
. This is a straightforward Hugging-Face-compatible implementation without using a decoding head for ease of integration with other pipelines.
The F1 scores of the current implementation on the BioRED test set are shown below:
BiomedBERT-base abstract+fulltext
Cell line
96.91
Chemical
92.02
Disease
88.64
Gene
94.41
Species
97.59
Variant
89.58
Overall
92.44
Usage
The model can be directly used from HuggingFace in a NER pipeline. However, we note that:
The model was trained on sentence-level data, and it works best when the input is split
Each sentence to tag must be surrounded by the flag corresponding to the entity type one wishes to identify (any of the 6 individual entities or "ALL"), as in:
<entity_type>sentence</entity_type>
Since additional
'O'
labels are used in the AIONER scheme, the outputs should be postprocessed before aggregating the tags
We provide helper functions to tag individual texts in the
main repository
from tagging_fn import process_one_text
from transformers import pipeline
pipe = pipeline('ner', model='SIRIS-Lab/AIObioEnts-core-pubmedbert-full', aggregation_strategy='none', device=0)
process_one_text(text_to_tag, pipeline=pipe, entity_type='ALL')
AIObioEnts-core-pubmedbert-full huggingface.co is an AI model on huggingface.co that provides AIObioEnts-core-pubmedbert-full's model effect (), which can be used instantly with this SIRIS-Lab AIObioEnts-core-pubmedbert-full model. huggingface.co supports a free trial of the AIObioEnts-core-pubmedbert-full model, and also provides paid use of the AIObioEnts-core-pubmedbert-full. Support call AIObioEnts-core-pubmedbert-full model through api, including Node.js, Python, http.
AIObioEnts-core-pubmedbert-full huggingface.co is an online trial and call api platform, which integrates AIObioEnts-core-pubmedbert-full's modeling effects, including api services, and provides a free online trial of AIObioEnts-core-pubmedbert-full, you can try AIObioEnts-core-pubmedbert-full online for free by clicking the link below.
SIRIS-Lab AIObioEnts-core-pubmedbert-full online free url in huggingface.co:
AIObioEnts-core-pubmedbert-full is an open source model from GitHub that offers a free installation service, and any user can find AIObioEnts-core-pubmedbert-full on GitHub to install. At the same time, huggingface.co provides the effect of AIObioEnts-core-pubmedbert-full install, users can directly use AIObioEnts-core-pubmedbert-full installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
AIObioEnts-core-pubmedbert-full install url in huggingface.co: