zmzfpc commited on
Commit
50e619f
·
verified ·
1 Parent(s): 39a206c

Upload BioMamba-MedQA-SFT-1.3b weights

Browse files
Files changed (1) hide show
  1. README.md +24 -16
README.md CHANGED
@@ -7,28 +7,35 @@ tags:
7
  - mamba2
8
  - biomedical
9
  - pubmed
10
- - medqa
11
- - bioasq
12
  - pubmedqa
 
 
13
  - sft
14
  library_name: mamba-ssm
15
  base_model: zmzfpc/biomamba-1.3b
16
  datasets:
17
  - qiaojin/PubMedQA
18
- - GBaker/MedQA-USMLE-4-options
19
- - nanyy1025/bioasq_7b_yesno
20
  ---
21
 
22
- # BioMamba-MedQA-SFT-1.3b
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- BioMamba-1.3b supervised-finetuned for biomedical multiple-choice QA
25
- (USMLE-style / MedQA). The base model is the CPT checkpoint
26
- [`zmzfpc/biomamba-1.3b`](https://huggingface.co/zmzfpc/biomamba-1.3b),
27
- further trained on a mixture of:
28
 
29
- - **PubMedQA** (`pqa_labeled` split) MIT
30
- - **BioASQ 7b Yes/No** (`nanyy1025/bioasq_7b_yesno`) non-commercial research use only
31
- - **MedQA USMLE 4-option** MIT
 
32
 
33
  ## Loading
34
 
@@ -38,16 +45,17 @@ The checkpoint is saved in **mamba-ssm native format**, load with `mamba-ssm`:
38
  from mamba_ssm.models.mixer_seq_simple import MambaLMHeadModel
39
  from transformers import AutoTokenizer
40
 
41
- model = MambaLMHeadModel.from_pretrained("zmzfpc/biomamba-medQA-sft-1.3b", device="cuda", dtype="bfloat16")
42
- tokenizer = AutoTokenizer.from_pretrained("zmzfpc/biomamba-medQA-sft-1.3b")
43
  ```
44
 
45
  `AutoModelForCausalLM.from_pretrained` will **not** work on this config.
46
 
47
  ## Intended use
48
 
49
- Biomedical QA (MedQA, PubMedQA, BioASQ Yes/No). Not intended for clinical
50
- decision-making and not validated on any patient-facing task.
 
51
 
52
  ## Citation
53
 
 
7
  - mamba2
8
  - biomedical
9
  - pubmed
 
 
10
  - pubmedqa
11
+ - bioasq
12
+ - medqa
13
  - sft
14
  library_name: mamba-ssm
15
  base_model: zmzfpc/biomamba-1.3b
16
  datasets:
17
  - qiaojin/PubMedQA
 
 
18
  ---
19
 
20
+ # BioMamba-BioMedQA-SFT-1.3b
21
+
22
+ BioMamba-1.3b supervised-finetuned for biomedical Yes/No/Maybe question
23
+ answering. The base model is the CPT checkpoint
24
+ [`zmzfpc/biomamba-1.3b`](https://huggingface.co/zmzfpc/biomamba-1.3b).
25
+
26
+ ## Training data (SFT)
27
+
28
+ - **PubMedQA** (`qiaojin/PubMedQA`, `pqa_labeled` split) — MIT
29
+ - **BioASQ** (Yes/No subset, BioASQ 7b + 13b combined, locally mixed) — BioASQ DUA, non-commercial research use only
30
+
31
+ Instruction format: biomedical research question → answer **yes / no / maybe**.
32
 
33
+ ## Evaluation
 
 
 
34
 
35
+ We evaluate on **PubMedQA**, **BioASQ (Yes/No)**, and **MedQA (USMLE 4-option)**.
36
+ **MedQA is not included in the SFT data** — the model is run on MedQA in a
37
+ transfer (non-in-distribution) setting, which is why this family is named
38
+ `biomedqa` rather than `medqa`.
39
 
40
  ## Loading
41
 
 
45
  from mamba_ssm.models.mixer_seq_simple import MambaLMHeadModel
46
  from transformers import AutoTokenizer
47
 
48
+ model = MambaLMHeadModel.from_pretrained("zmzfpc/biomamba-biomedqa-sft-1.3b", device="cuda", dtype="bfloat16")
49
+ tokenizer = AutoTokenizer.from_pretrained("zmzfpc/biomamba-biomedqa-sft-1.3b")
50
  ```
51
 
52
  `AutoModelForCausalLM.from_pretrained` will **not** work on this config.
53
 
54
  ## Intended use
55
 
56
+ Biomedical Yes/No/Maybe QA and transfer to MedQA-style multiple-choice.
57
+ Not intended for clinical decision-making and not validated on any
58
+ patient-facing task.
59
 
60
  ## Citation
61