Skip to content

Models

Every model here is a pure-Keras 3 port with weights converted from the original checkpoints. Pages are grouped by modality and listed alphabetically, and each one follows the same shape: API, preprocessing, variants, a runnable example with its measured output, data format, and how to load fine-tuned weights.

The shared machinery is documented separately, in Main Classes and Configuration.

Text models

Encoders for embeddings and masked language modelling, and decoder LLMs, dense and mixture-of-experts.

Sentence Transformer models

Dense sentence embeddings for similarity, semantic search and clustering. Every checkpoint loads through two classes, ZMSentenceTransformer and ZMSentenceTransformerTokenizer from zeromodels.sentence_transformers: a Keras encoder (MPNet, BERT, RoBERTa, XLM-R, DistilBERT or ALBERT, chosen by the checkpoint's backbone_type) followed by its declared pooling, optional Dense projection and optional L2 normalization.

Diffusion models

Text-to-image generation (and image-to-image with the SDXL refiner). Every family loads through two classes, ZMDiffusion and ZMDiffusionTokenizer from zeromodels.diffusers; the checkpoint's model_type selects the family.

  • Diffusion Models: API, usage and every family (Stable Diffusion 1.x / 2.x / XL / 3 / 3.5, Qwen-Image, Qwen-Image-2.1)

Vision models

Detection, segmentation, monocular depth, and self-supervised backbones.

Audio models

Speech recognition, and speech-aware language models that take audio and text together.

Multimodal models

Vision-language encoders, generative VLMs, grounding across detection, OCR, pointing and referring, and text-to-image diffusion.