Downloads · 30 days
61
7% of all-time downloads
onnx-community/biomedical-ner-all-ONNX
biomedical-ner-all-ONNX is a token classification model from onnx-community. Use it when you need labels on individual words, such as names. It is set up for transformers.js. The card lists the license as apache-2.0.
This is an ONNX version of d4data/biomedical-ner-all. It was automatically converted and uploaded using this Hugging Face Space.
Downloads · 30 days
61
7% of all-time downloads
All-time downloads
885
Public
Repo size
847 MB
Likes
1
Public
Click a slice to open those files.
.onnx914 MB · 100%
From the Hugging Face model README
This is an ONNX version of d4data/biomedical-ner-all. It was automatically converted and uploaded using this Hugging Face Space.
See the pipeline documentation for token-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TokenClassificationPipeline
An English Named Entity Recognition model, trained on Maccrobat to recognize the bio-medical entities (107 entities) from a given text corpus (case reports etc.). This model was built on top of distilbert-base-uncased
Checkout the tutorial video for explanation of this model and corresponding python library: https://youtu.be/xpiDPdBpS18
The easiest way is to load the inference api from huggingface and second method is through the pipeline object offered by transformers library.
from transformers import pipeline
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all")
model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all")
pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple") # pass device=0 if using gpu
pipe("""The patient reported no recurrence of palpitations at follow-up 6 months after the ablation.""")
This model is part of the Research topic "AI in Biomedical field" conducted by Deepak John Reji, Shaina Raza. If you use this work (code, model or dataset), please star at:
<a href="https://www.buymeacoffee.com/deepakjohnreji" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>