Phi-3-mini-4k-instruct

View as Markdown

Phi-3-mini-4k-instruct has a checked-in NeMo AutoModel recipe for text generation. The Hugging Face configuration declares the Phi3ForCausalLM architecture.

Fine-Tune Phi-3-mini-4k-instruct

Follow the installation instructions, then run the recipe from the repository root:

automodel examples/llm_finetune/phi/phi_3_mini_it_squad.yaml --nproc-per-node 8

Choose a Workflow

GoalStart Here
Run the primary recipe for this modelUse the recipe configuration.
Try another checked-in recipe for this modelUse the alternate recipe.

Configuration

SettingConfiguration
Hardware-
StrategyFSDP2; tp_size=1, cp_size=1
Nodes-
FeaturesCheckpointing (enabled=true)
Advancedbf16

More Recipes for This Model

Model Reference

Model Architecture

PropertyValue
TaskText generation
ArchitecturePhi3ForCausalLM

Available Models