├── .envrc ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── assets ├── llama2_in_termux.gif └── llama_android.png ├── configurator.py ├── devshell.nix ├── export_meta_llama_bin.py ├── flake.lock ├── flake.nix ├── jni └── Android.mk ├── libs ├── arm64-v8a │ └── llama2 ├── armeabi-v7a │ └── llama2 ├── x86 │ └── llama2 └── x86_64 │ └── llama2 ├── model.py ├── requirements.txt ├── run.c ├── sample.py ├── test_all.py ├── tinystories.py ├── tokenizer.bin ├── tokenizer.model ├── tokenizer.py └── train.py /.envrc: -------------------------------------------------------------------------------- 1 | use flake -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .direnv/ 2 | out/ 3 | obj/ 4 | run -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/README.md -------------------------------------------------------------------------------- /assets/llama2_in_termux.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/assets/llama2_in_termux.gif -------------------------------------------------------------------------------- /assets/llama_android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/assets/llama_android.png -------------------------------------------------------------------------------- /configurator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/configurator.py -------------------------------------------------------------------------------- /devshell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/devshell.nix -------------------------------------------------------------------------------- /export_meta_llama_bin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/export_meta_llama_bin.py -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/flake.nix -------------------------------------------------------------------------------- /jni/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/jni/Android.mk -------------------------------------------------------------------------------- /libs/arm64-v8a/llama2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/libs/arm64-v8a/llama2 -------------------------------------------------------------------------------- /libs/armeabi-v7a/llama2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/libs/armeabi-v7a/llama2 -------------------------------------------------------------------------------- /libs/x86/llama2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/libs/x86/llama2 -------------------------------------------------------------------------------- /libs/x86_64/llama2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/libs/x86_64/llama2 -------------------------------------------------------------------------------- /model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/model.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/run.c -------------------------------------------------------------------------------- /sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/sample.py -------------------------------------------------------------------------------- /test_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/test_all.py -------------------------------------------------------------------------------- /tinystories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/tinystories.py -------------------------------------------------------------------------------- /tokenizer.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/tokenizer.bin -------------------------------------------------------------------------------- /tokenizer.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/tokenizer.model -------------------------------------------------------------------------------- /tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/tokenizer.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manuel030/llama2.c-android/HEAD/train.py --------------------------------------------------------------------------------