Skip to content

Commit 773f590

Browse files
committed
LLaVA: Add link to "Table of Content"
1 parent 8e51b74 commit 773f590

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

notebook/agentchat_lmm_llava.ipynb

+13-7
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
"\n",
1313
"This notebook contains the following information and examples:\n",
1414
"\n",
15-
"1. Setup LLaVA \n",
16-
" - Option 1: Use API calls from `Replicate`\n",
17-
" - Option 2: Setup LLaVA locally (requires GPU)\n",
18-
"2. Application 1: Image Chat\n",
19-
"3. Application 2: Figure Creator"
15+
"1. Install [LLaVA package](#install)\n",
16+
"2. Setup LLaVA Model\n",
17+
" - Option 1: Use [API calls from `Replicate`](#replicate)\n",
18+
" - Option 2: Setup [LLaVA locally (requires GPU)](#local)\n",
19+
"2. Application 1: [Image Chat](#app-1)\n",
20+
"3. Application 2: [Figure Creator](#app-2)"
2021
]
2122
},
2223
{
@@ -49,6 +50,7 @@
4950
"id": "d64154f0",
5051
"metadata": {},
5152
"source": [
53+
"<a id=\"install\"></a>\n",
5254
"## Install the LLaVA library\n",
5355
"\n",
5456
"Please follow the LLaVA GitHub [page](https://github.com/haotian-liu/LLaVA/) to install LLaVA.\n",
@@ -108,7 +110,8 @@
108110
"id": "acc4703b",
109111
"metadata": {},
110112
"source": [
111-
"# (Option 1, preferred) Use API Calls from Replicate [Remote]\n",
113+
"<a id=\"replicate\"></a>\n",
114+
"## (Option 1, preferred) Use API Calls from Replicate [Remote]\n",
112115
"We can also use [Replicate](https://replicate.com/yorickvp/llava-13b/api) to use LLaVA directly, which will host the model for you.\n",
113116
"\n",
114117
"1. Run `pip install replicate` to install the package\n",
@@ -148,6 +151,7 @@
148151
"id": "1805e4bd",
149152
"metadata": {},
150153
"source": [
154+
"<a id=\"local\"></a>\n",
151155
"## [Option 2] Setup LLaVA Locally\n",
152156
"\n",
153157
"\n",
@@ -537,6 +541,7 @@
537541
"id": "7e4faf59",
538542
"metadata": {},
539543
"source": [
544+
"<a id=\"app-1\"></a>\n",
540545
"## Application 1: Image Chat\n",
541546
"\n",
542547
"In this section, we present a straightforward dual-agent architecture to enable user to chat with a multimodal agent.\n",
@@ -859,7 +864,8 @@
859864
"id": "0c40d0eb",
860865
"metadata": {},
861866
"source": [
862-
"# Application 2: Figure Creator\n",
867+
"<a id=\"app-2\"></a>\n",
868+
"## Application 2: Figure Creator\n",
863869
"\n",
864870
"Here, we define a `FigureCreator` agent, which contains three child agents: commander, coder, and critics.\n",
865871
"\n",

0 commit comments

Comments
 (0)