File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ and F32.)
28
28
```
29
29
# Download resources
30
30
mkdir -p ggufs/open_orca
31
- cd ggufs/open_orca
32
- wget -O open_orca.Q4_0.gguf "https://huggingface.co/TheBloke/TinyLlama-1.1B-1T-OpenOrca-GGUF/resolve/main/tinyllama-1.1b-1t-openorca.Q4_0.gguf?download=true"
31
+ pushd ggufs/open_orca
33
32
34
- wget -O tokenizer.model "https://github.com/karpathy/llama2.c/raw/master/tokenizer.model"
35
- cd ../..
33
+ curl -o open_orca.Q4_0.gguf "https://huggingface.co/TheBloke/TinyLlama-1.1B-1T-OpenOrca-GGUF/resolve/main/tinyllama-1.1b-1t-openorca.Q4_0.gguf?download=true"
34
+ curl -o ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
35
+
36
+ popd
36
37
37
38
export GGUF_MODEL_PATH=ggufs/open_orca/open_orca.Q4_0.gguf
38
39
export GGUF_TOKENIZER_PATH=ggufs/open_orca/tokenizer.model
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ 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.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
66
+ curl -OL https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
67
67
./cmake-out/aoti_run ./model.so -z ./tokenizer.model -l 2 -i "Once upon a time"
68
68
```
69
69
@@ -104,7 +104,7 @@ 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.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
107
+ curl -o ./tokenizer.model https://github.com/karpathy/llama2.c/raw/master/tokenizer.model
108
108
./cmake-out/et_run ./model.pte -z ./tokenizer.model -l 2 -i "Once upon a time"
109
109
```
110
110
You can’t perform that action at this time.
0 commit comments