-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README of text generation example
This patch adds README of text generation tizen web example. Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.