Skip to content

Remove TIP Format and Replaced with Subheader in README #5567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions examples/demo-apps/android/LlamaDemo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ Optional Parameters:
* System Prompt: Without any formatting, you can enter in a system prompt. For example, "you are a travel assistant" or "give me a response in a few sentences".
* User Prompt: More for the advanced user, if you would like to manually input a prompt then you can do so by modifying the `{{user prompt}}`. You can also modify the special tokens as well. Once changed then go back to the main Chat activity to send.

> [!TIP]
> Helpful ExecuTorch API in app
#### ExecuTorch App API

```java
// Upon returning to the Main Chat Activity
Expand Down Expand Up @@ -95,8 +94,8 @@ You can provide it more follow-up questions as well.
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/chat.png" width=300>
</p>

> [!TIP]
> Helpful ExecuTorch API in app
#### ExecuTorch App API

```java
mModule.generate(prompt,sequence_length, MainActivity.this);
```
Expand All @@ -119,8 +118,7 @@ To show completion of the follow-up question, here is the complete detailed resp
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/chat_response.png" width=300>
</p>

> [!TIP]
> Helpful ExecuTorch API in app
#### ExecuTorch App API

Ensure you have the following functions in your callback class that you provided in the `mModule.generate()`. For this example, it is `MainActivity.this`.
```java
Expand Down
Loading