BioMamba-BioMedQA-SFT-1.3b

BioMamba-1.3b supervised-finetuned for biomedical Yes/No/Maybe question answering. The base model is the CPT checkpoint zmzfpc/biomamba-1.3b.

Training data (SFT)

  • PubMedQA (qiaojin/PubMedQA, pqa_labeled split) — MIT
  • BioASQ (Yes/No subset, BioASQ 7b + 13b combined, locally mixed) — BioASQ DUA, non-commercial research use only

Instruction format: biomedical research question → answer yes / no / maybe.

Evaluation

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.

Loading

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-1.3b", device="cuda", dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained("zmzfpc/biomamba-biomedqa-sft-1.3b")

AutoModelForCausalLM.from_pretrained will not work on this config.

Intended use

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.

Citation

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}
}
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zmzfpc/biomamba-biomedqa-sft-1.3b

Finetuned
(1)
this model

Dataset used to train zmzfpc/biomamba-biomedqa-sft-1.3b

Collection including zmzfpc/biomamba-biomedqa-sft-1.3b

Paper for zmzfpc/biomamba-biomedqa-sft-1.3b