Skip to content

Repository Map

Sudhanshu Shukla edited this page Nov 23, 2026 · 3 revisions

Repository Map

The project is divided into model internals, training scripts, configuration, artifacts and tests.

Source path Responsibility
mixtral_lab/model.py Transformer decoder, RoPE/GQA, MoE router and experts
mixtral_lab/config.py Validated model configuration
mixtral_lab/data.py Tokenizer loading and generic packed-token helpers
mixtral_lab/healthcare_corpus.py Auditable biomedical corpus streaming and partitioning
mixtral_lab/medical_data.py Medical SFT formatting, completion-only labels and padding
mixtral_lab/train_utils.py Training initialization, LR schedule and checkpoints
scripts/audit_healthcare_dataset.py Data audit
scripts/train_healthcare_tokenizer.py Healthcare-only BPE tokenizer
scripts/pretrain_healthcare.py Stage 1, random-initialized next-token training
scripts/finetune_medical.py Stage 2, full-parameter instruction SFT
scripts/two_stage_smoke.py Offline two-stage invariant test
scripts/evaluate.py Model evaluation utility
scripts/generate.py Text generation utility
configs/ Architecture presets
tests/ Automated code tests
requirements.txt and pyproject.toml Dependencies and package metadata

GitHub Pages publishes the root of main. The deployment diagram is in diagrams/GitHub-Pages-Auto-Deployment.mmd. The evaluation publisher refreshes both the project site and eval/README.md, and can optionally refresh the portfolio site. The project README is the entry point; this Wiki describes the workflow and its verifiable limitations in more depth.

Clone this wiki locally