A hands-on guide to running native AI models directly from Java, without Python or JNI glue code.
Thanks for posting this!
I had been wanting to try Panama/FFM features for a while, especially since I saw your FFMPEG example.
This was pretty straight forward to get working locally on Ubuntu Linux.
The only changes I made were:
remove the '-DGGML_METAL=ON' option for the cmake command
in whisper_h.java, add this above the custom static block for SYMBOL_LOOKUP
static final SymbolLookup SYMBOL_LOOKUP;
update the paths to ggml-base.en.bin and libwhisper.so
Thanks again!
Thank youn for sharing 🙂
Thanks for posting this!
I had been wanting to try Panama/FFM features for a while, especially since I saw your FFMPEG example.
This was pretty straight forward to get working locally on Ubuntu Linux.
The only changes I made were:
remove the '-DGGML_METAL=ON' option for the cmake command
in whisper_h.java, add this above the custom static block for SYMBOL_LOOKUP
static final SymbolLookup SYMBOL_LOOKUP;
update the paths to ggml-base.en.bin and libwhisper.so
Thanks again!
Thank youn for sharing 🙂