Skip to content

Commit a3816e0

Browse files
committed
updated models
1 parent 2eafd4c commit a3816e0

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

Diff for: docs/example-multi-thread.html

+14-10
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,39 @@ <h1><mark>multi-threaded</mark> wasm32 </h1>
3232
<br />
3333

3434
<p> Recommended browser: &#129395; <b>Firefox</b></p>
35+
<br />
36+
37+
<p> When you click <b>Run</b>, model will be first downloaded and cached in browser. </p>
3538
</hgroup>
3639
</header>
3740

3841
<main class="container">
3942
<section>
4043
<h2> Demo </h2>
4144

42-
<label>Model:</label>
45+
<label> Model: </label>
4346

4447
<select id="model" name="model" aria-label="Select model" required>
45-
<option value="https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat-GGUF/resolve/main/qwen2-beta-0_5b-chat-q8_0.gguf" selected>Qwen/Qwen1.5-0.5B-Chat</option>
46-
<option value="https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat-GGUF/resolve/main/qwen1_5-1_8b-chat-q8_0.gguf">Qwen/Qwen1.5-1.8B-Chat</option>
47-
<option value="https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/resolve/main/stablelm-2-zephyr-1_6b-Q4_1.gguf">stabilityai/stablelm-2-zephyr-1_6b</option>
48-
<option value="https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf">TinyLlama/TinyLlama-1.1B-Chat-v1.0</option>
49-
<option value="https://huggingface.co/TKDKid1000/phi-1_5-GGUF/resolve/main/phi-1_5-Q4_K_M.gguf">microsoft/phi-1_5</option>
50-
<option value="https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q4_K_M.gguf">microsoft/phi-2</option>
48+
<!-- <option value="https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat-GGUF/resolve/main/qwen1_5-0_5b-chat-q3_k_m.gguf" selected>Qwen/Qwen1.5-0.5B-Chat Q3_K_M (350 MB)</option> -->
49+
<option value="https://huggingface.co/afrideva/TinyMistral-248M-SFT-v4-GGUF/resolve/main/tinymistral-248m-sft-v4.q8_0.gguf">tinymistral-248m-sft-v4 q8_0 (265.26 MB)</option>
50+
<option value="https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf">TinyLlama/TinyLlama-1.1B-Chat-v1.0 Q4_K_M (669 MB)</option>
51+
<option value="https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat-GGUF/resolve/main/qwen1_5-1_8b-chat-q3_k_m.gguf">Qwen/Qwen1.5-1.8B-Chat Q3_K_M (1.02 GB)</option>
52+
<option value="https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/resolve/main/stablelm-2-zephyr-1_6b-Q4_1.gguf">stabilityai/stablelm-2-zephyr-1_6b Q4_1 (1.07 GB)</option>
53+
<option value="https://huggingface.co/TKDKid1000/phi-1_5-GGUF/resolve/main/phi-1_5-Q4_K_M.gguf">microsoft/phi-1_5 Q4_K_M (918 MB)</option>
54+
<option value="https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q3_K_M.gguf">microsoft/phi-2 Q3_K_M (1.48 GB)</option>
5155
</select>
5256

53-
<label>Prompt:</label>
57+
<label> Prompt: </label>
5458

5559
<textarea id="prompt" name="prompt" rows="5">Suppose Alice originally had 3 apples, then Bob gave Alice 7 apples, then Alice gave Cook 5 apples, and then Tim gave Alice 3x the amount of apples Alice had. How many apples does Alice have now? Let’s think step by step.</textarea>
5660

57-
<label>Result:</label>
61+
<label> Result: </label>
5862

5963
<textarea id="result" name="result" rows="10" autocomplete="off"></textarea>
6064
</section>
6165

6266
<section>
63-
<button id="run">Run</button>
67+
<button id="run"> Run </button>
6468
</section>
6569

6670
<section>

Diff for: docs/example-single-thread.html

+14-10
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,39 @@ <h2><mark>single-threaded</mark> wasm32 </h2>
3232
<br />
3333

3434
<p> Recommended browsers: &#128549; <b>Chrome</b>, &#128549; <b>Safari</b>, &#129395; <b>Firefox</b></p>
35+
<br />
36+
37+
<p> When you click <b>Run</b>, model will be first downloaded and cached in browser. </p>
3538
</hgroup>
3639
</header>
3740

3841
<main class="container">
3942
<section>
4043
<h2> Demo </h2>
4144

42-
<label>Model:</label>
45+
<label> Model: </label>
4346

4447
<select id="model" name="model" aria-label="Select model" required>
45-
<option value="https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat-GGUF/resolve/main/qwen2-beta-0_5b-chat-q8_0.gguf" selected>Qwen/Qwen1.5-0.5B-Chat</option>
46-
<option value="https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat-GGUF/resolve/main/qwen1_5-1_8b-chat-q8_0.gguf">Qwen/Qwen1.5-1.8B-Chat</option>
47-
<option value="https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/resolve/main/stablelm-2-zephyr-1_6b-Q4_1.gguf">stabilityai/stablelm-2-zephyr-1_6b</option>
48-
<option value="https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf">TinyLlama/TinyLlama-1.1B-Chat-v1.0</option>
49-
<option value="https://huggingface.co/TKDKid1000/phi-1_5-GGUF/resolve/main/phi-1_5-Q4_K_M.gguf">microsoft/phi-1_5</option>
50-
<option value="https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q4_K_M.gguf">microsoft/phi-2</option>
48+
<!-- <option value="https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat-GGUF/resolve/main/qwen1_5-0_5b-chat-q3_k_m.gguf" selected>Qwen/Qwen1.5-0.5B-Chat Q3_K_M (350 MB)</option> -->
49+
<option value="https://huggingface.co/afrideva/TinyMistral-248M-SFT-v4-GGUF/resolve/main/tinymistral-248m-sft-v4.q8_0.gguf">tinymistral-248m-sft-v4 q8_0 (265.26 MB)</option>
50+
<option value="https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf">TinyLlama/TinyLlama-1.1B-Chat-v1.0 Q4_K_M (669 MB)</option>
51+
<option value="https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat-GGUF/resolve/main/qwen1_5-1_8b-chat-q3_k_m.gguf">Qwen/Qwen1.5-1.8B-Chat Q3_K_M (1.02 GB)</option>
52+
<option value="https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/resolve/main/stablelm-2-zephyr-1_6b-Q4_1.gguf">stabilityai/stablelm-2-zephyr-1_6b Q4_1 (1.07 GB)</option>
53+
<option value="https://huggingface.co/TKDKid1000/phi-1_5-GGUF/resolve/main/phi-1_5-Q4_K_M.gguf">microsoft/phi-1_5 Q4_K_M (918 MB)</option>
54+
<option value="https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q3_K_M.gguf">microsoft/phi-2 Q3_K_M (1.48 GB)</option>
5155
</select>
5256

53-
<label>Prompt:</label>
57+
<label> Prompt: </label>
5458

5559
<textarea id="prompt" name="prompt" rows="5">Suppose Alice originally had 3 apples, then Bob gave Alice 7 apples, then Alice gave Cook 5 apples, and then Tim gave Alice 3x the amount of apples Alice had. How many apples does Alice have now? Let’s think step by step.</textarea>
5660

57-
<label>Result:</label>
61+
<label> Result: </label>
5862

5963
<textarea id="result" name="result" rows="10" autocomplete="off"></textarea>
6064
</section>
6165

6266
<section>
63-
<button id="run">Run</button>
67+
<button id="run"> Run </button>
6468
</section>
6569

6670
<section>

0 commit comments

Comments
 (0)