Skip to content

Commit f403235

Browse files
cmodi-metapytorchbot
authored andcommitted
Remove TIP Format and Replaced with Subheader in README (#5517)
Summary: Removed [!TIP] format and replaced with a subheader Pull Request resolved: #5517 Reviewed By: kirklandsign Differential Revision: D63145938 Pulled By: cmodi-meta fbshipit-source-id: 5503901957b8aeffe23cdc756bd4c73a007dd35e (cherry picked from commit b2517d6)
1 parent e6f7bb1 commit f403235

File tree

1 file changed

+4
-6
lines changed
  • examples/demo-apps/android/LlamaDemo

1 file changed

+4
-6
lines changed

examples/demo-apps/android/LlamaDemo/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ Optional Parameters:
6565
* 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".
6666
* 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.
6767

68-
> [!TIP]
69-
> Helpful ExecuTorch API in app
68+
#### ExecuTorch App API
7069

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

98-
> [!TIP]
99-
> Helpful ExecuTorch API in app
97+
#### ExecuTorch App API
98+
10099
```java
101100
mModule.generate(prompt,sequence_length, MainActivity.this);
102101
```
@@ -119,8 +118,7 @@ To show completion of the follow-up question, here is the complete detailed resp
119118
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/chat_response.png" width=300>
120119
</p>
121120

122-
> [!TIP]
123-
> Helpful ExecuTorch API in app
121+
#### ExecuTorch App API
124122

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

0 commit comments

Comments
 (0)