@@ -32,35 +32,39 @@ <h2><mark>single-threaded</mark> wasm32 </h2>
32
32
< br />
33
33
34
34
< p > Recommended browsers: 😥 < b > Chrome</ b > , 😥 < b > Safari</ b > , 🥳 < 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 >
35
38
</ hgroup >
36
39
</ header >
37
40
38
41
< main class ="container ">
39
42
< section >
40
43
< h2 > Demo </ h2 >
41
44
42
- < label > Model:</ label >
45
+ < label > Model: </ label >
43
46
44
47
< 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 >
51
55
</ select >
52
56
53
- < label > Prompt:</ label >
57
+ < label > Prompt: </ label >
54
58
55
59
< 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 >
56
60
57
- < label > Result:</ label >
61
+ < label > Result: </ label >
58
62
59
63
< textarea id ="result " name ="result " rows ="10 " autocomplete ="off "> </ textarea >
60
64
</ section >
61
65
62
66
< section >
63
- < button id ="run "> Run</ button >
67
+ < button id ="run "> Run </ button >
64
68
</ section >
65
69
66
70
< section >
0 commit comments