Phi-4
Phi-4
Phi-3 and Phi-4 are Microsoft’s high-capability small language models using a shared transformer decoder architecture (Phi3ForCausalLM). Phi-4-mini and Phi-4 achieve strong benchmark results at relatively small parameter counts.
Set up NeMo AutoModel with the latest container or follow the installation instructions.
Fine-Tune Phi-4
From the repository root, run: