- • NNModel — supervised orchestrator
- • Trainer — multi-optimizer (GAN, actor-critic)
- • Frozen params dataclasses round-trip via state()
- • Curated re-exports at top-level nnx
- • finetune — freeze, load_pretrained, NNParamGroupSpec
- • peft — LoRA / DoRA / IA3 / Prefix / Prompt / AdapterLayer
- • quantize — quantize_int8 (PTQ) + QAT 8da4w via torchao
- • prune — magnitude (unstructured) + 2:4 semi-structured
- • surgery — widen / deepen / drop_layer / low_rank_factorize / expand_embedding
- • diffusion — NoiseSchedulers, DiffusionMLP, sample()
- • paradigms — KD / feature-KD / SimCLR / Mixup / CutMix / MoE / I-JEPA / DPO / Born-Again
- • trainer — Trainer class (also surfaced as the cyan entry-point)
- • embeddings — contrastive trainer + FAISS export
- • interop — GGUF write + Ollama Modelfile + safetensors
- • generation — LogitsProcessor chain (temp / top-k / top-p / repetition)
- • viz — torchinfo summary + weight histogram + activation map + Captum + gradient flow + Netron
- • _step_helpers — shared finalize_step (NaN + grad-clip)
- • run.yaml — config (state() md5 = id)
- • idps.csv — per-iteration metrics (incremental)
- • metadata.yaml — env snapshot (NOT in id hash)
- • checkpoints/*.pt — FIRST/Q1/Q2/Q3/LAST/BEST