One hub, one API, every modality
KerasHub is the unified pretrained-model hub that succeeded KerasCV + KerasNLP. Its win isn't just the catalog (BERT, GPT-2, Gemma, Llama, Mistral, T5, Whisper, Qwen, ResNet, ViT…) — it's that every model loads through the same from_preset() call, whether it's vision, NLP, or audio. Learn the pattern once and the whole zoo is open to you.
Presets carry more than weights
The reason keras.applications feels low-level next to KerasHub is that a preset bundles the whole package: the backbone weights, the matching tokenizer or preprocessor, and a task-specific head. When you call BertClassifier.from_preset("bert_base_en", num_classes=4), you get a model that already knows how to turn raw text into tokens and emit 4-class logits — no separate tokenizer wiring. That's why it's the modern default entry point for transfer learning.
LoRA: fine-tune big models cheaply
For large backbones, full fine-tuning is expensive. backbone.enable_lora(rank=4) switches on Low-Rank Adaptation: instead of updating the full weight matrices, it trains tiny low-rank update matrices alongside the frozen originals. You get most of the fine-tuning benefit for a fraction of the trainable parameters and memory — the standard trick for adapting LLM-scale models on a single GPU. The Code section shows the full load → LoRA → fit flow.