metascroy commited on
Commit
4b60089
·
verified ·
1 Parent(s): 6d484ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -164,12 +164,14 @@ print(make_table(results))
164
 
165
  # Exporting to ExecuTorch
166
 
167
- Exporting to ExecuTorch requires you clone and install [ExecuTorch](https://github.com/pytorch/executorch).
 
168
 
169
 
170
  ## Convert quantized checkpoint to ExecuTorch's format
171
 
172
- ExecuTorch expects the checkpoint keys to have certain names in order to export. The following script converts the quantized checkpoint from Hugging Face to the one ExecuTorch expects.
 
173
  ```
174
  python -m executorch.examples.models.phi_4_mini.convert_weights phi4-mini-8dq4w.bin phi4-mini-8dq4w-converted.bin
175
  ```
 
164
 
165
  # Exporting to ExecuTorch
166
 
167
+ We can run the quantized model on a mobile phone using [ExecuTorch](https://github.com/pytorch/executorch).
168
+ Once ExecuTorch is [set-up](https://pytorch.org/executorch/main/getting-started.html), exporting and running the model on device is a breeze.
169
 
170
 
171
  ## Convert quantized checkpoint to ExecuTorch's format
172
 
173
+ We first convert the quantized checkpoint to one ExecuTorch's LLM export script expects by renaming some of the checkpoint keys.
174
+ The following script does this for you.
175
  ```
176
  python -m executorch.examples.models.phi_4_mini.convert_weights phi4-mini-8dq4w.bin phi4-mini-8dq4w-converted.bin
177
  ```