Add jlama module: run a 4-bit TinyLlama inside the JVM with Jlama on the Vector API, with tokens per second, streaming and an Ollama baseline

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
Claude
2026-10-11 09:24:56 +00:00
parent 10545299f8
commit fdff2b7388
17 changed files with 564 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
Callback receives one piece of text per generated token.
Pieces received: 24, generated tokens reported: 24
Time to first piece: 5230 ms (includes processing the 26-token prompt)
Time to last piece: 7997 ms; whole call 8114 ms
First pieces: [[A], [ Java], [ record], [ is], [ a], [ data], [ structure], [ that]]
Joined: A Java record is a data structure that allows for the creation of immutable, named, and indexed collections of objects.