RELEASE 01 / FOUNDATION PRETRAINING / 2026

Healthcare LLM.
Pretrained from scratch.

A custom, randomly initialized, Mixtral-inspired sparse Mixture-of-Experts language model trained on healthcare and biomedical text using native PyTorch.

This checkpoint captures the foundation training stage, prior to medical instruction tuning. Explore its architecture, training objective, reproducible source and model artifacts.

5,000-step checkpoint  ·  Custom Mixtral-style architecture  ·  Research artifact, not medical advice

38.8MReference parametersStage 1 config: 38,779,008
04Transformer layersDecoder-only architecture
04 / 02Experts / active top-kSparse routing per token
5,000Exported optimizer stepsSTAGE 01

01 / MODEL OVERVIEW

One architecture. A distinct training stage.

The pretrained checkpoint starts from randomly initialized parameters and learns next-token probabilities over biomedical text. It is not a chat-optimized or clinically validated medical model.

Healthcare tokenization

Domain-specific subword tokenization preceding next-token sequence construction.

Native PyTorch decoder

Four decoder layers with GQA attention, rotary embeddings and RMS normalization.

Sparse expert routing

Four SwiGLU experts per block; the router activates the top two experts per token.

02 / ARCHITECTURE

Inspect the sparse-MoE decoder.

A custom native PyTorch decoder combining grouped-query attention, rotary positions, RMS normalization and a sparsely activated feed-forward expert bank.

INTERNAL MODEL / HIGH LEVEL

Decoder topology

Token embeddings + RoPE01
↓
4 × causal Transformer blocks02
↓
GQA · 6 Q heads / 2 KV heads03
↓
Router · top-2 of 4 experts04
Expert ASwiGLU FFN
Expert BSwiGLU FFN
↓
RMSNorm → LM projection05
REFERENCE MODEL / CONFIGURATION

Architecture specifications

Parameters
38,779,008
Decoder layers
4
Hidden size
384
Attention heads
6 query / 2 key-value
Experts per layer
4 total / top-2 routing
Feed-forward expert width
768
Embeddings / normalization
RoPE / RMSNorm
Configured context limit
2,048 tokens
Pretraining sequence
128 tokens

Reference architecture from the published Stage 1 model card. The configured maximum length is not evidence of effective long-context behavior; actual pretraining sequences were shorter.

03 / TRAINING LIFECYCLE

Healthcare-domain pretraining in three stages.

From healthcare source text to a pretrained sparse-MoE decoder. The documented workflow and released artifact should be evaluated separately from medical performance claims.

STEP / 01

Prepare inputs

Biomedical documents are filtered, normalized and tokenized with a healthcare-specific vocabulary.

STEP / 02

Train with full weights

The custom decoder is initialized randomly, then optimized for next-token language modeling with sparse expert routing.

STEP / 03

Export & evaluate

The saved checkpoint includes model weights, tokenizer/configuration assets and metadata for research evaluation.

Training source
PubMed-filtered biomedical text · review provenance and usage rights
PubMed filtered dataset ↗

04 / HUGGING FACE MODEL RELEASE

Access the checkpoint. Trace its provenance.

Separate model assets, code and documentation provide an auditable path from the training workflow to the current checkpoint.

RELEASE 01 / PRETRAINING

Healthcare LLM — Pretrained from Scratch

Random-initialized decoder-only Transformer with custom sparse expert routing.

Custom PyTorchSparse MoERoPE + GQAPretraining
The pretrained Hugging Face repository currently requests acceptance of access conditions before downloading files.
TRAINING DETAILS

Foundation model

InitializationRandom weights
Training lossCausal LM + router balance
CorpusBiomedical / healthcare text
Parameter updatesAll model weights
TERMINAL / DOWNLOAD MODEL SNAPSHOT
python -m pip install torch safetensors tokenizers huggingface_hub
python -c "from huggingface_hub import snapshot_download; print(snapshot_download('sudhanshu42844/mixtral-healthcare-pretrained-from-scratch'))"

The snapshot command downloads the repository only. For inference, use the matching custom native PyTorch model loader in the model repository; standard AutoModelForCausalLM compatibility is not assumed.

Research model · not for clinical decision-making

Research checkpoint only. It has not been independently validated for medical correctness, diagnosis, triage, prescriptions or treatment. Model loss and perplexity do not measure clinical safety, and neither project stage implies medical regulatory approval. Dataset redistribution and model-weight licensing must be reviewed independently.