mims-harvard/bio-posttrain-gemma4-e2b-rna-sft
013
Bio-posttrain Gemma-4-E2B RNA SFT
RNA supervised fine-tuning (SFT) checkpoint from How Post-Training Shapes Biological Reasoning Models.
Model details
- Base model:
google/gemma-4-E2B-it - RNA embeddings: Precomputed TranscriptFormer (2048-d), projected via
rna_projection.pt - LoRA: rank 32, alpha 64
- Validation loss: 0.9227
Files
Loading
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("mims-harvard/bio-posttrain-gemma4-e2b-rna-sft", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("mims-harvard/bio-posttrain-gemma4-e2b-rna-sft")
proj = torch.load("rna_projection.pt", map_location="cpu")RNA sequence embeddings are supplied offline at inference time. See the rna_models code in the BioReason repository.
Collection
Part of the Bio-posttrain collection.
