Downloads · 30 days
11
20% of all-time downloads
zmzfpc/biomamba-biomedqa-sft-2.7b
biomamba-biomedqa-sft-2.7b is a machine learning model from zmzfpc. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mamba-ssm. The card lists the license as apache-2.0.
BioMamba-2.7b supervised-finetuned for biomedical Yes/No/Maybe question answering. The base model is the CPT checkpoint zmzfpc/biomamba-2.7b.
Downloads · 30 days
11
20% of all-time downloads
All-time downloads
55
Public
Repo size
10.8 GB
Likes
0
Public
Click a slice to open those files.
.bin10.8 GB · 100%
From the Hugging Face model README
BioMamba-2.7b supervised-finetuned for biomedical Yes/No/Maybe question
answering. The base model is the CPT checkpoint
zmzfpc/biomamba-2.7b.
qiaojin/PubMedQA, pqa_labeled split) — MITInstruction format: biomedical research question → answer yes / no / maybe.
We evaluate on PubMedQA, BioASQ (Yes/No), and MedQA (USMLE 4-option).
MedQA is not included in the SFT data — the model is run on MedQA in a
transfer (non-in-distribution) setting, which is why this family is named
biomedqa rather than medqa.
The checkpoint is saved in mamba-ssm native format, load with mamba-ssm:
from mamba_ssm.models.mixer_seq_simple import MambaLMHeadModel
from transformers import AutoTokenizer
model = MambaLMHeadModel.from_pretrained("zmzfpc/biomamba-biomedqa-sft-2.7b", device="cuda", dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained("zmzfpc/biomamba-biomedqa-sft-2.7b")
AutoModelForCausalLM.from_pretrained will not work on this config.
Biomedical Yes/No/Maybe QA and transfer to MedQA-style multiple-choice. Not intended for clinical decision-making and not validated on any patient-facing task.
Paper: BioMamba: Domain-Adaptive Biomedical Language Models (arXiv:2408.02600). Code: https://github.com/LeoYML/BioMamba
@article{yue2024biomamba,
title = {{BioMamba}: Domain-Adaptive Biomedical Language Models},
author = {Yue, Ling and Zhu, Mingzhi and Xing, Sixue and Pan, Shaowu and
Chenthamarakshan, Vijil and Wang, Yanbo and Cao, Yunning and
Das, Payel and Fu, Tianfan},
journal = {arXiv preprint arXiv:2408.02600},
year = {2024}
}