From 5b3320177f7aac1cfb7d68bc6bfb9467f38df324 Mon Sep 17 00:00:00 2001 From: Mingxuan Zhao <43148277+mingxzhao@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:24:08 -0500 Subject: [PATCH] Update README.md Change model directory for 19.4, add warning about convert --- docs/lab-4/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/lab-4/README.md b/docs/lab-4/README.md index 56c69ca..5e43383 100644 --- a/docs/lab-4/README.md +++ b/docs/lab-4/README.md @@ -280,11 +280,13 @@ ilab model train --pipeline simple 4) When this is completed, you'll need to test this model, which is the following command: ```bash -ilab model test --model-dir ~/.local/share/instructlab/instructlab-granite-7b-lab --adapter-file ~/.local/share/instructlab/checkpoints/instructlab-granite-7b-lab-mlx-q/adapters-100.npz --data-dir ~/.local/share/instructlab/datasets +ilab model test --model-dir ~/instructlab/instructlab-granite-7b-lab --adapter-file ~/.local/share/instructlab/checkpoints/instructlab-granite-7b-lab-mlx-q/adapters-100.npz --data-dir ~/.local/share/instructlab/datasets ``` 5) Now to run the command on the Mac M3, or Apple hardware you'll need to convert it to a `gguf`, that is this next command. +!!! warning + Make sure you run `ilab test` before you try to convert, converting will delete the neccesary files for testing. ```bash ilab model convert --adapter-file ~/.local/share/instructlab/checkpoints/instructlab-granite-7b-lab-mlx-q/adapters-100.npz --model-dir ~/.local/share/instructlab/checkpoints/instructlab-granite-7b-lab-mlx-q