File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ python3 torchchat.py export stories15M --output-dso-path ./model.so
63
63
We can now execute the runner with:
64
64
65
65
```
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"
68
68
```
69
69
70
70
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
104
104
We can now execute the runner with:
105
105
106
106
```
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"
109
109
```
110
110
111
111
The ` -l 2 ` indicates that the model and tokenizer use the llama2 architecture. If your model is based on llama3, use ` -l 3 ` .
You can’t perform that action at this time.
0 commit comments