Open hokeun opened 6 months ago
https://wiki.archlinux.org/title/Localization/Korean
Enabling ko_KR.UTF-8
Setting up ko_KR.UTF-8
as default
sudo update-locale LANG=ko_KR.UTF-8 LC_ALL=ko_KR.UTF-8
https://askubuntu.com/questions/868483/korean-locale-doesnt-work-on-ubuntu-headless-16-10
Files changes made before running the LLaMA model
-file path: nntrainer/Applications/LLaMA/PyTorch
run the llama_weights_converter.py
file to generate the ./llama_fp16.bin
files. (Hugging face LLaMA model) Save the file in the nntrainer/jni directory.
message ('platform: @0@'.format(get_option('platform')))
in the 28th line of the code.
add message ('enable-fp16: @0@'.format(get_option('enable-fp16')))
in the 68th line of the codeoption('enable-fp16', type: 'boolean', value: true)
Run the meson build
and ninja -C build
command in the nntrainer directory
path: $ROOT/jni
enter the jni directory inside nntrainer and run ../build/Applications/LLaMA/jni/nntrainer_llama
Installing Ko_KR_EUC-KR