Skip to content

Commit

Permalink
Add README of text generation example
Browse files Browse the repository at this point in the history
This patch adds README of text generation tizen web example.

Signed-off-by: Yelin Jeong <[email protected]>
  • Loading branch information
niley7464 committed Oct 21, 2024
1 parent 605f158 commit a876420
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Tizen.web/TextGenerationLlama2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Text Generation Sample App
## Description
* This is a sample application of Tizen ML offloading.
* If you want to run it on your device, Tizen 8.0 or higher is required.
* `appsrc` and `tensor_query_client` element are used.

## How to build and run
```sh
$ tizen build-web -- WebApplication
$ tizen package -t wgt -- WebApplication/.buildResult/
$ tizen build-native -a arm -c llvm -C Debug -- NsdService/
$ tizen package -t tpk -- NsdService/Debug/
$ tizen package -t wgt -r NsdService/Debug/lfebC6UrMY.nsdservice-1.0.0-arm.tpk -- WebApplication/.buildResult/Llama2.wgt
$ tizen install -n WebApplication/.buildResult/Llama2.wgt -t rpi4
$ tizen run -p lfebC6UrMY -t rpi4
```

## Demo
![Alt demo](./text_generation.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a876420

Please sign in to comment.