[application] update llm generate function
authorSeungbaek Hong <sb92.hong@samsung.com>
Wed, 3 Apr 2024 11:10:13 +0000 (20:10 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 5 Apr 2024 06:08:05 +0000 (15:08 +0900)
commit345ca624fef31581c653004fc6651e5e989dab88
treef2b9e5a0ec3cf4ed0e7b74151b0db9bfbaaad3fa
parent31913af6e5ed92915556820c7fcc51e428750751
[application] update llm generate function

- fix "temperature" operation
- add "top-k, top-p" option
- support batch mode

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Seungbaek Hong <sb92.hong@samsung.com>
Applications/LLaMA/jni/main.cpp