Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit d3c9def

Browse files
authored
README: Add AAR for sentencepiece (#994)
This AAR is helpful for testing older/smaller models
1 parent d438485 commit d3c9def

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,8 @@ The following assumes you've completed the steps for [Setting up ExecuTorch](#se
458458
6. Follow the app's UI guidelines to pick the model and tokenizer files from the local filesystem. Then issue a prompt.
459459
460460
**Note:** The AAR file listed in Step 1 has the tiktoken tokenizer, which is used for Llama 3. To tweak or use a custom tokenizer and runtime, modify the ExecuTorch code
461-
and use [this script](https://github.com/pytorch/executorch/blob/main/build/build_android_llm_demo.sh) to build the AAR library.
461+
and use [this script](https://github.com/pytorch/executorch/blob/main/build/build_android_llm_demo.sh) to build the AAR library. For convenience, we also provide an AAR
462+
for sentencepiece tokenizer (e.g. Llama 2): [executorch-llama-bpe-rc3-0719.aar](https://ossci-android.s3.amazonaws.com/executorch/main/executorch-llama-bpe-rc3-0719.aar) (SHASUM: d5fe81d9a4700c36b50ae322e6bf34882134edb0)
462463
463464
<p align="center">
464465
<img src="https://pytorch.org/executorch/main/_static/img/android_llama_app.png" width="600" alt="Android app running a LlaMA model">

0 commit comments

Comments
 (0)