This model is a
RoBERTa base model
that was further trained using a masked language modeling task on a compendium of English scientific textual examples from the life sciences using the
BioLang dataset
. It was then fine-tuned for token classification on the SourceData
sd-nlp
dataset with the
NER
configuration to perform Named Entity Recognition of bioentities.
Intended uses & limitations
How to use
The intended use of this model is for Named Entity Recognition of biological entities used in SourceData annotations (
https://sourcedata.embo.org
), including small molecules, gene products (genes and proteins), subcellular components, cell line and cell types, organ and tissues, species as well as experimental methods.
To have a quick check of the model:
from transformers import pipeline, RobertaTokenizerFast, RobertaForTokenClassification
example = """<s> F. Western blot of input and eluates of Upf1 domains purification in a Nmd4-HA strain. The band with the # might corresponds to a dimer of Upf1-CH, bands marked with a star correspond to residual signal with the anti-HA antibodies (Nmd4). Fragments in the eluate have a smaller size because the protein A part of the tag was removed by digestion with the TEV protease. G6PDH served as a loading control in the input samples </s>"""
tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_len=512)
model = RobertaForTokenClassification.from_pretrained('EMBO/sd-ner')
ner = pipeline('ner', model, tokenizer=tokenizer)
res = ner(example)
for r in res:
print(r['word'], r['entity'])
Limitations and bias
The model must be used with the
roberta-base
tokenizer.
Training data
The model was trained for token classification using the
EMBO/sd-nlp dataset
dataset which includes manually annotated examples.
Training procedure
The training was run on an NVIDIA DGX Station with 4XTesla V100 GPUs.
sd-ner huggingface.co is an AI model on huggingface.co that provides sd-ner's model effect (), which can be used instantly with this EMBO sd-ner model. huggingface.co supports a free trial of the sd-ner model, and also provides paid use of the sd-ner. Support call sd-ner model through api, including Node.js, Python, http.
sd-ner huggingface.co is an online trial and call api platform, which integrates sd-ner's modeling effects, including api services, and provides a free online trial of sd-ner, you can try sd-ner online for free by clicking the link below.
sd-ner is an open source model from GitHub that offers a free installation service, and any user can find sd-ner on GitHub to install. At the same time, huggingface.co provides the effect of sd-ner install, users can directly use sd-ner installed effect in huggingface.co for debugging and trial. It also supports api for free installation.