Downloads · 30 days
10
0% of all-time downloads
rohansingh2612/healthslm
healthslm is a text generation model from rohansingh2612. Use it when you need the model to write or continue text. The card lists the license as mit.
HealthSLM is a lightweight, 15 million parameter decoder-only transformer model trained entirely from scratch on biomedical text. The model uses a modern architecture highly similar to LLaMA and Mistral, heavily optim…
Downloads · 30 days
10
0% of all-time downloads
All-time downloads
4.1K
Public
Parameters
23.5M
93.9 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors93.9 MB · 100%
From the Hugging Face model README
HealthSLM is a lightweight, 15 million parameter decoder-only transformer model trained entirely from scratch on biomedical text. The model uses a modern architecture highly similar to LLaMA and Mistral, heavily optimised for efficient training and inference.
Despite its small parameter footprint, it implements state-of-the-art transformer components including Grouped-Query Attention (GQA), Rotary Positional Embeddings (RoPE), SwiGLU feed-forward networks, and RMSNorm. Additionally, the model utilises a custom Byte-Pair Encoding (BPE) tokenizer trained specifically on PubMed abstracts to ensure highly efficient subword encoding of complex biomedical terminology.
The model was pre-trained on a corpus of biomedical abstracts fetched directly from the NCBI / PubMed FTP servers.
bf16Because HealthSLM uses a custom PyTorch architecture, you will need the model definition (model.py) to run it locally, or you can leverage it directly using the HealthSLM pipeline inference code.
The model natively supports loading in 4-bit precision (nf4) via bitsandbytes to drastically reduce its memory footprint down to just a few megabytes.
It also actively supports LoRA (Rank=16) for downstream parameter-efficient finetuning routines.