Skip to content

Commit 4c26ab7

Browse files
metascroymalfet
authored andcommitted
Update runner_build.md (#657)
Change doc to use tokenizer.model
1 parent 346f8da commit 4c26ab7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/runner_build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ python3 torchchat.py export stories15M --output-dso-path ./model.so
6363
We can now execute the runner with:
6464

6565
```
66-
wget -O ./tokenizer.bin https://github.com/karpathy/llama2.c/raw/master/tokenizer.bin
67-
./cmake-out/aoti_run ./model.so -z ./tokenizer.bin -l 2 -i "Once upon a time"
66+
wget -O ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
67+
./cmake-out/aoti_run ./model.so -z ./tokenizer.model -l 2 -i "Once upon a time"
6868
```
6969

7070
The `-l 2` indicates that the model and tokenizer use the llama2 architecture. If your model is based on llama3, use `-l 3`.
@@ -104,8 +104,8 @@ python3 torchchat.py export stories15M --output-pte-path ./model.pte
104104
We can now execute the runner with:
105105

106106
```
107-
wget -O ./tokenizer.bin https://github.com/karpathy/llama2.c/raw/master/tokenizer.bin
108-
./cmake-out/et_run ./model.pte -z ./tokenizer.bin -l 2 -i "Once upon a time"
107+
wget -O ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
108+
./cmake-out/et_run ./model.pte -z ./tokenizer.model -l 2 -i "Once upon a time"
109109
```
110110

111111
The `-l 2` indicates that the model and tokenizer use the llama2 architecture. If your model is based on llama3, use `-l 3`.

0 commit comments

Comments
 (0)