From 3efb1cc2cc47ac67dd9a2cbd87aa7a738628da55 Mon Sep 17 00:00:00 2001 From: Deven Mistry <31466137+deven367@users.noreply.github.com> Date: Wed, 20 Dec 2023 22:47:41 -0500 Subject: [PATCH] fix typo in readme (#163) --- llms/phi2/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llms/phi2/README.md b/llms/phi2/README.md index 76be6260..b02d017f 100644 --- a/llms/phi2/README.md +++ b/llms/phi2/README.md @@ -7,11 +7,11 @@ GPT-4 outputs and clean web text. Phi-2 efficiently runs on Apple silicon devices with 8GB of memory in 16-bit precision. -## Setup +## Setup Download and convert the model: -```sh +```sh python convert.py ``` @@ -22,7 +22,7 @@ This will make the `weights.npz` file which MLX can read. > Hugging Face and skip the conversion step. -## Generate +## Generate To generate text with the default prompt: @@ -48,7 +48,7 @@ Answer: Logic in mathematics is like a compass in navigation. It helps To use your own prompt: ```sh -python phi2.py --prompt --max_tokens +python phi2.py --prompt --max-tokens ``` To see a list of options run: