Skip to content

Commit

Permalink
Fix and update WebLLM example (#7351)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSkovMadsen authored Oct 3, 2024
1 parent 336b995 commit 615a43c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/gallery/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Interactively apply a XGBoost classifier on the Iris dataset.

Interact with an LLM running in your browser using the `ChatInterface`.
+++
[See source](WebLLM)
[See source](webllm)
:::


Expand Down Expand Up @@ -293,7 +293,7 @@ streaming_videostream
vtk_interactive
vtk_slicer
vtk_warp
WebLLM
webllm
windturbines
xgboost_classifier
```
6 changes: 3 additions & 3 deletions examples/gallery/webllm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"MODELS = {\n",
" 'SmolLM (130MB)': 'SmolLM-135M-Instruct-q4f16_1-MLC',\n",
" 'TinyLlama-1.1B-Chat (675 MB)': 'TinyLlama-1.1B-Chat-v1.0-q4f16_1-MLC-1k',\n",
" 'Gemma-2b (1895 MB)': 'gemma-2-2b-it-q4f16_1-MLC',\n",
" 'Mistral-7b-Instruct (4570 MB)': 'Mistral-7B-Instruct-v0.3-q4f16_1-MLC',\n",
" 'Llama-3.1-8b-Instruct (4598 MB)': 'Llama-3-8B-Instruct-q4f16_1-MLC-1k',\n",
" 'Gemma-2b (2GB)': 'gemma-2-2b-it-q4f16_1-MLC',\n",
" 'Llama-3.2-3B-Instruct (2.2GB)': 'Llama-3.2-3B-Instruct-q4f16_1-MLC',\n",
" 'Mistral-7b-Instruct (5GB)': 'Mistral-7B-Instruct-v0.3-q4f16_1-MLC',\n",
"}\n",
"\n",
"class WebLLM(JSComponent):\n",
Expand Down

0 comments on commit 615a43c

Please sign in to comment.