mirror of
https://github.com/aronson/gbalm.git
synced 2025-11-22 04:30:05 +00:00
Run an LLM on GBA what more can I say?
| .vscode | ||
| include | ||
| meson | ||
| src | ||
| subprojects | ||
| tokenizer | ||
| .gitignore | ||
| bin2s.py | ||
| callBin2S.py | ||
| LICENSE.txt | ||
| meson.build | ||
| meson_options.txt | ||
| model_data.bin | ||
| PROJECTS.md | ||
| prompt_tokens.bin | ||
| README.md | ||
| vocab.bin | ||
gbalm
gbalm is a small language model for the Game Boy Advance.
Building
You will need a default installation of the arm-none-eabi-gcc compiler to build. You will need meson, ninja, and xxd as well, and maybe other things.
For example on Ubuntu:
sudo apt update
sudo apt install gcc-arm-none-eabi
meson setup --wipe --buildtype=release -Db_lto=true --cross-file=meson/gba.ini build-gba
# or, for debug symbols
meson setup --wipe --buildtype=debugoptimized -Db_lto=false --cross-file=meson/gba.ini build-gba
# compile, output is in build-gba/gbalm.gba
meson compile -C build-gba
License
gbalm is licensed under the GPLv3 license. See LICENSE.txt for more information.