Skip to content

Commit 80c1811

Browse files
authored
Update README.md
1 parent 2b87df7 commit 80c1811

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/models/phi-4-mini/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Phi-4-mini uses the same example code as Llama, while the checkpoint, model para
77

88
All commands for exporting and running Llama on various backends should also be applicable to Phi-4-mini, by swapping the following args:
99
```
10-
--model phi-4-mini
10+
--model phi_4_mini
1111
--params examples/models/phi-4-mini/config.json
1212
--checkpoint <path-to-meta-checkpoint>
1313
```
@@ -33,7 +33,7 @@ Export to XNNPack, no quantization:
3333
PHI_CHECKPOINT=path/to/checkpoint.pth
3434
3535
python -m examples.models.llama.export_llama \
36-
--model phi-4-mini \
36+
--model phi_4_mini \
3737
--checkpoint "${PHI_CHECKPOINT=path/to/checkpoint.pth:?}" \
3838
--params examples/models/phi-4-mini/config.json \
3939
-kv \
@@ -51,7 +51,7 @@ Run using the executor runner:
5151
# In the meantime, can run with an example Python runner with pybindings:
5252
5353
python -m examples.models.llama.runner.native
54-
--model phi-4-mini
54+
--model phi_4_mini
5555
--pte <path-to-pte>
5656
-kv
5757
--tokenizer <path-to-tokenizer>/tokenizer.json

0 commit comments

Comments
 (0)