Llama 4
Llama 4 is Meta’s first natively multimodal model family. Llama 4 Scout and Maverick are MoE models supporting interleaved image and text inputs.
Available Models
- Llama-4-Scout-17B-16E-Instruct: 17B active / 16 experts
- Llama-4-Maverick-17B-128E-Instruct: 17B active / 128 experts
Architecture
Llama4ForConditionalGeneration
Example HF Models
Try with NeMo AutoModel
Install NeMo AutoModel and follow the fine-tuning guide to configure a recipe for this model.
1. Install (full instructions):
2. Clone the repo to get example recipes you can adapt:
3. Fine-tune by adapting a base VLM recipe — override the model ID on the CLI:
Replace <MODEL_HF_ID> with the model ID from Example HF Models above.
Run with Docker
1. Pull the container and mount a checkpoint directory:
2. The recipes are at /opt/Automodel/examples/ — navigate there:
3. Fine-tune:
See the Installation Guide and VLM Fine-Tuning Guide.
Fine-Tuning
See the VLM Fine-Tuning Guide.