Downloads · 30 days
22
17% of all-time downloads
Postlyt/biobbc-biomarker-ner
biobbc-biomarker-ner is a machine learning model from Postlyt. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
BioBBC is an enhanced Named Entity Recognition (NER) model specifically trained for identifying biomarkers in biomedical text. It combines multiple state-of-the-art techniques:
Downloads · 30 days
22
17% of all-time downloads
All-time downloads
132
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin526 MB · 100%
From the Hugging Face model README
BioBBC is an enhanced Named Entity Recognition (NER) model specifically trained for identifying biomarkers in biomedical text. It combines multiple state-of-the-art techniques:
Input Text
↓
BioBERT Embeddings (768d)
↓
+ Character CNN (150d)
+ POS Embeddings (25d)
+ Domain Embeddings (200d)
↓
BiLSTM (512d × 2)
↓
CRF Layer
↓
Predicted Biomarkers
O: Outside (not a biomarker)B-BIOMARKER: Beginning of biomarker entityI-BIOMARKER: Inside biomarker entitypip install transformers torch huggingface_hub
from huggingface_hub import hf_hub_download
import torch
# Download model
model_path = hf_hub_download(repo_id="postlyt/biobbc-biomarker-ner", filename="pytorch_model.bin")
config_path = hf_hub_download(repo_id="postlyt/biobbc-biomarker-ner", filename="config.json")
vocab_path = hf_hub_download(repo_id="postlyt/biobbc-biomarker-ner", filename="vocabularies.bin")
# Load model (see full loading script in repository)
# model = load_biobbc_model(model_path, config_path, vocab_path)
# See predict_from_huggingface.py in repository for complete example
text = "Elevated IL-6 and TNF-alpha levels were observed."
biomarkers = model.predict(text)
print(biomarkers) # ['IL-6', 'TNF-alpha']
If you use this model, please cite:
@misc{biobbc_model,
author = {postlyt},
title = {BioBBC: BERT-BiLSTM-CRF for Biomarker Recognition},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/postlyt/biobbc-biomarker-ner}
}
postlyt
For questions or issues, please open an issue in the repository.