Skip to content

Commit 48c30a0

Browse files
committed
Fix
1 parent ed41ca8 commit 48c30a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extension/android/executorch_android/android_test_setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ curl -Ls "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokenizer.m
2222
touch params.json
2323
echo '{"dim": 768, "multiple_of": 32, "n_heads": 12, "n_layers": 12, "norm_eps": 1e-05, "vocab_size": 32000}' > params.json
2424
python -m examples.models.llama.export_llama -c stories110M.pt -p params.json -X -kv
25+
python -m extension.llm.tokenizer.tokenizer -t tokenizer.model -o tokenizer.bin
2526

2627
cp *.pte "${BASEDIR}/src/androidTest/resources/stories.pte"
27-
cp *.bin "${BASEDIR}/src/androidTest/resources/tokenizer.bin"
28+
cp tokenizer.bin "${BASEDIR}/src/androidTest/resources/tokenizer.bin"
2829
popd

0 commit comments

Comments
 (0)