Skip to content

Commit b97c65c

Browse files
committed
Use their config
1 parent e5314f3 commit b97c65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/android/executorch_android/android_test_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ curl -C - -Ls "https://raw.githubusercontent.com/karpathy/llama2.c/master/tokeni
2121
# Create params.json file
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
24-
python -m examples.models.llama.export_llama -c stories110M.pt -p params.json -d fp16 --model=stories110m
24+
python -m examples.models.llama.export_llama -c stories110M.pt -p params.json -d fp16 -n stories110m_h.pte -kv
2525
python -m pytorch_tokenizers.tools.llama2c.convert -t tokenizer.model -o tokenizer.bin
2626

2727
cp stories110m_h.pte "${BASEDIR}/src/androidTest/resources/stories.pte"

0 commit comments

Comments
 (0)