Instructions to use stdlogits/drowse-web-gemma3-1b-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLC-LLM
How to use stdlogits/drowse-web-gemma3-1b-pt with MLC-LLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
publish gemma3-1b-pt browser runtime
Browse files- drowse-build.json +14 -9
- hosted-artifacts.json +7 -7
- model.wasm +2 -2
drowse-build.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"architecture": "gemma3_text",
|
| 3 |
"contextWindowSize": 2048,
|
|
|
|
|
|
|
|
|
|
| 4 |
"files": [
|
| 5 |
{
|
| 6 |
"bytes": 23496,
|
|
@@ -133,7 +136,7 @@
|
|
| 133 |
"sha256": "4d97b6d876fd05ffaf72c3243231975c50263ad4fc620bc9f0b44be2ca11fa31"
|
| 134 |
}
|
| 135 |
],
|
| 136 |
-
"hookAbi": "
|
| 137 |
"modelType": "base",
|
| 138 |
"prefillChunkSize": 1024,
|
| 139 |
"promptPolicy": {
|
|
@@ -147,7 +150,7 @@
|
|
| 147 |
]
|
| 148 |
},
|
| 149 |
"quantization": "q4f32_1",
|
| 150 |
-
"runtimeAbi": "drowse-web-runtime-
|
| 151 |
"schemaVersion": 1,
|
| 152 |
"source": {
|
| 153 |
"chatTemplateSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
@@ -201,25 +204,27 @@
|
|
| 201 |
"repository": "google/gemma-3-1b-pt",
|
| 202 |
"revision": "fcf18a2a879aab110ca39f8bffbccd5d49d8eb29"
|
| 203 |
},
|
| 204 |
-
"structuredHookProfile": "standard-
|
| 205 |
"thinkingProfile": null,
|
| 206 |
"toolchain": {
|
| 207 |
"mlcLlmBaseCommit": "9fa644f54b04983adea4d0168f49fc6af4a893ba",
|
| 208 |
"mlcOverlayFiles": {
|
| 209 |
"python/mlc_llm/interface/compile.py": "435876d96e9ba6fbc3f02dd6f5ed858df559ebded169ce91c5cdd8151e610d32",
|
| 210 |
"python/mlc_llm/interface/convert_weight.py": "dffc4af8487f54087bc27f9a35f959df318a70c4c33326b65d4a6d9f6479a1b5",
|
| 211 |
-
"python/mlc_llm/model/drowse_hooks.py": "
|
| 212 |
-
"python/mlc_llm/model/
|
| 213 |
-
"python/mlc_llm/model/
|
| 214 |
-
"python/mlc_llm/model/
|
|
|
|
|
|
|
| 215 |
"python/mlc_llm/op/moe_misc.py": "4141be404d6d31b1ee152ef495fd5bdfc75b16af968ad01e07c3d1d26637ef92"
|
| 216 |
},
|
| 217 |
"tvmCommit": "68ba2b31c2a6d202fcd44e5780ef10ce08721dd5",
|
| 218 |
"tvmFfiCommit": "12dbf053b3d9ba4ebd9da3123b1aeca79cf74229",
|
| 219 |
"tvmOverlayFiles": {
|
| 220 |
-
"python/tvm/relax/frontend/nn/llm/_decode_kernels.py": "
|
| 221 |
"python/tvm/relax/frontend/nn/llm/_kernel_common.py": "f5bc8999ae5a6f06e96da1c8262fedc5ae53230c61439285be0cdb0828a43012",
|
| 222 |
-
"python/tvm/relax/frontend/nn/llm/_prefill_kernels.py": "
|
| 223 |
"src/backend/webgpu/codegen/codegen_webgpu.cc": "753ff21703a741cf7a8bc49678f4737127f04fa1f28f0fef06aefb4859b5d4a7",
|
| 224 |
"src/runtime/vm/paged_kv_cache.cc": "90ec1ed27fa2cc3faf426f60ab46e1b5c6ba352de177d50db168a4357dba3ed2",
|
| 225 |
"tests/python/codegen/test_target_codegen_webgpu.py": "3da351a5fd03a1a0b05ed926581fe3d46e5160c23f926f931b0a8776d3f2e9c9"
|
|
|
|
| 1 |
{
|
| 2 |
"architecture": "gemma3_text",
|
| 3 |
"contextWindowSize": 2048,
|
| 4 |
+
"conversionPolicy": {
|
| 5 |
+
"rmsNormOffset": "float32-before-add-one-v1"
|
| 6 |
+
},
|
| 7 |
"files": [
|
| 8 |
{
|
| 9 |
"bytes": 23496,
|
|
|
|
| 136 |
"sha256": "4d97b6d876fd05ffaf72c3243231975c50263ad4fc620bc9f0b44be2ca11fa31"
|
| 137 |
}
|
| 138 |
],
|
| 139 |
+
"hookAbi": "block-sites-v5",
|
| 140 |
"modelType": "base",
|
| 141 |
"prefillChunkSize": 1024,
|
| 142 |
"promptPolicy": {
|
|
|
|
| 150 |
]
|
| 151 |
},
|
| 152 |
"quantization": "q4f32_1",
|
| 153 |
+
"runtimeAbi": "drowse-web-runtime-v2",
|
| 154 |
"schemaVersion": 1,
|
| 155 |
"source": {
|
| 156 |
"chatTemplateSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
|
|
| 204 |
"repository": "google/gemma-3-1b-pt",
|
| 205 |
"revision": "fcf18a2a879aab110ca39f8bffbccd5d49d8eb29"
|
| 206 |
},
|
| 207 |
+
"structuredHookProfile": "standard-v4",
|
| 208 |
"thinkingProfile": null,
|
| 209 |
"toolchain": {
|
| 210 |
"mlcLlmBaseCommit": "9fa644f54b04983adea4d0168f49fc6af4a893ba",
|
| 211 |
"mlcOverlayFiles": {
|
| 212 |
"python/mlc_llm/interface/compile.py": "435876d96e9ba6fbc3f02dd6f5ed858df559ebded169ce91c5cdd8151e610d32",
|
| 213 |
"python/mlc_llm/interface/convert_weight.py": "dffc4af8487f54087bc27f9a35f959df318a70c4c33326b65d4a6d9f6479a1b5",
|
| 214 |
+
"python/mlc_llm/model/drowse_hooks.py": "dd2d9779692360bdddd214553804e90c82942f47011fa947f830321bd3c67cd6",
|
| 215 |
+
"python/mlc_llm/model/drowse_reads.py": "f6ef0f42e2b49d0e6c8729cdc8aa93dd6cdbd4d614045173e28deba4d129d4b2",
|
| 216 |
+
"python/mlc_llm/model/drowse_units.py": "70c890ea5362763dac19b6c6eeae03a10aef3fcfc48879eadbda20f68db1afe2",
|
| 217 |
+
"python/mlc_llm/model/gemma3/gemma3_model.py": "8a8f423b8ef28c43bbca065857b8a344118f30319c80550c58ee50bf7b777867",
|
| 218 |
+
"python/mlc_llm/model/llama/llama_model.py": "43898289270c720e1a255ca458ce85ea7e3ab4e3798c234caa422e419ae80825",
|
| 219 |
+
"python/mlc_llm/model/qwen3/qwen3_model.py": "98312ccb7ecd9452b0cc77a7a5ddfb71a7fcda6e4a4c33815b9e05eeec8c8574",
|
| 220 |
"python/mlc_llm/op/moe_misc.py": "4141be404d6d31b1ee152ef495fd5bdfc75b16af968ad01e07c3d1d26637ef92"
|
| 221 |
},
|
| 222 |
"tvmCommit": "68ba2b31c2a6d202fcd44e5780ef10ce08721dd5",
|
| 223 |
"tvmFfiCommit": "12dbf053b3d9ba4ebd9da3123b1aeca79cf74229",
|
| 224 |
"tvmOverlayFiles": {
|
| 225 |
+
"python/tvm/relax/frontend/nn/llm/_decode_kernels.py": "a3e8d8158217b3284f0f741dd9a94d3f8924cf6af1c3b3c500459f38351e2318",
|
| 226 |
"python/tvm/relax/frontend/nn/llm/_kernel_common.py": "f5bc8999ae5a6f06e96da1c8262fedc5ae53230c61439285be0cdb0828a43012",
|
| 227 |
+
"python/tvm/relax/frontend/nn/llm/_prefill_kernels.py": "e14f94f6acd2007ce26b492541c74b979bc0714cfd1a106aead2ec929e788d16",
|
| 228 |
"src/backend/webgpu/codegen/codegen_webgpu.cc": "753ff21703a741cf7a8bc49678f4737127f04fa1f28f0fef06aefb4859b5d4a7",
|
| 229 |
"src/runtime/vm/paged_kv_cache.cc": "90ec1ed27fa2cc3faf426f60ab46e1b5c6ba352de177d50db168a4357dba3ed2",
|
| 230 |
"tests/python/codegen/test_target_codegen_webgpu.py": "3da351a5fd03a1a0b05ed926581fe3d46e5160c23f926f931b0a8776d3f2e9c9"
|
hosted-artifacts.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"schemaVersion": 1,
|
| 3 |
-
"runtimeAbi": "drowse-web-runtime-
|
| 4 |
-
"hookAbi": "
|
| 5 |
-
"structuredHookProfile": "standard-
|
| 6 |
"thinkingProfile": null,
|
| 7 |
"architecture": "gemma3_text",
|
| 8 |
"modelType": "base",
|
|
@@ -179,8 +179,8 @@
|
|
| 179 |
{
|
| 180 |
"path": "model.wasm",
|
| 181 |
"role": "model_library",
|
| 182 |
-
"bytes":
|
| 183 |
-
"sha256": "
|
| 184 |
},
|
| 185 |
{
|
| 186 |
"path": "LICENSE.model",
|
|
@@ -203,8 +203,8 @@
|
|
| 203 |
{
|
| 204 |
"path": "drowse-build.json",
|
| 205 |
"role": "configuration",
|
| 206 |
-
"bytes":
|
| 207 |
-
"sha256": "
|
| 208 |
}
|
| 209 |
]
|
| 210 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"schemaVersion": 1,
|
| 3 |
+
"runtimeAbi": "drowse-web-runtime-v2",
|
| 4 |
+
"hookAbi": "block-sites-v5",
|
| 5 |
+
"structuredHookProfile": "standard-v4",
|
| 6 |
"thinkingProfile": null,
|
| 7 |
"architecture": "gemma3_text",
|
| 8 |
"modelType": "base",
|
|
|
|
| 179 |
{
|
| 180 |
"path": "model.wasm",
|
| 181 |
"role": "model_library",
|
| 182 |
+
"bytes": 29970191,
|
| 183 |
+
"sha256": "bfac54784bb136fb7e2fd722a12ef22832a3c0d708cc40779f4c8117e243547c"
|
| 184 |
},
|
| 185 |
{
|
| 186 |
"path": "LICENSE.model",
|
|
|
|
| 203 |
{
|
| 204 |
"path": "drowse-build.json",
|
| 205 |
"role": "configuration",
|
| 206 |
+
"bytes": 8352,
|
| 207 |
+
"sha256": "431d910ab5f1799a99bd59d8c9582c48ffe6ad5b05750f3593a7f1b2aacf19f8"
|
| 208 |
}
|
| 209 |
]
|
| 210 |
}
|
model.wasm
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfac54784bb136fb7e2fd722a12ef22832a3c0d708cc40779f4c8117e243547c
|
| 3 |
+
size 29970191
|