Instructions to use stdlogits/drowse-web-gpt2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLC-LLM
How to use stdlogits/drowse-web-gpt2-base 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
Cards for drowse 6.0: what the repository holds, its sources and licenses; 5.x leftovers removed
Browse files- LICENSES.md +7 -3
- README.md +19 -9
- manifolds/default-welcoming.detached.drowse +0 -0
- runtime-source.tar.gz +0 -3
LICENSES.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Licenses
|
| 2 |
|
| 3 |
+
Licenses apply by component, not to this repository as a whole.
|
| 4 |
|
| 5 |
+
- Model weights and tokenizer: OpenAI's modified MIT license for GPT-2, included as `LICENSE.model`. `MODEL-LICENSE.json` records where the source
|
| 6 |
+
declares its license, and `README.source.md` is the source's model card. Conversion changes the
|
| 7 |
+
weights' format, not their terms.
|
| 8 |
+
- The model library, the core geometry pack and drowse's changes to its runtime: AGPL-3.0-only,
|
| 9 |
+
included as `LICENSE.drowse`. Upstream Apache TVM, MLC LLM and WebLLM keep their own licenses.
|
README.md
CHANGED
|
@@ -1,26 +1,36 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: mixed-artifact-licenses
|
| 4 |
-
license_link: https://huggingface.co/
|
|
|
|
| 5 |
pipeline_tag: text-generation
|
|
|
|
| 6 |
tags:
|
| 7 |
- drowse
|
| 8 |
- webgpu
|
| 9 |
-
-
|
| 10 |
- base-model
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# GPT-2 Base for
|
| 14 |
|
| 15 |
-
A raw-completion base model for
|
|
|
|
| 16 |
|
| 17 |
- Source: [openai-community/gpt2](https://huggingface.co/openai-community/gpt2/tree/607a30d783dfa663caf39e06633721c8d4cfcd7e)
|
| 18 |
-
-
|
| 19 |
-
-
|
| 20 |
-
- Runtime
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
## Reproducibility and licenses
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: mixed-artifact-licenses
|
| 4 |
+
license_link: https://huggingface.co/stdlogits/drowse-web-gpt2-base/blob/main/LICENSES.md
|
| 5 |
+
base_model: openai-community/gpt2
|
| 6 |
pipeline_tag: text-generation
|
| 7 |
+
library_name: mlc-llm
|
| 8 |
tags:
|
| 9 |
- drowse
|
| 10 |
- webgpu
|
| 11 |
+
- interpretability
|
| 12 |
- base-model
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# GPT-2 Base for drowse
|
| 16 |
|
| 17 |
+
A raw-completion base model for [drowse.ai](https://drowse.ai), which runs it on the device through WebGPU and reads and steers it
|
| 18 |
+
as it generates. This repository holds the converted weights, the tokenizer, the WebAssembly model library with drowse's hooks compiled in, and the core geometry pack (neutral statistics and the default concept manifolds for each context). drowse reads this model at the residual stream; it has no lens or units packs.
|
| 19 |
|
| 20 |
- Source: [openai-community/gpt2](https://huggingface.co/openai-community/gpt2/tree/607a30d783dfa663caf39e06633721c8d4cfcd7e)
|
| 21 |
+
- Weights: `q0f32`: float32 weights, unquantized
|
| 22 |
+
- Context: 1024 tokens
|
| 23 |
+
- Runtime: `drowse-web-runtime-v2`, hook ABI `block-sites-v5`, profile `standard-v4-residual`
|
| 24 |
|
| 25 |
+
These are browser artifacts, not a Transformers checkpoint. Install them through [drowse.ai](https://drowse.ai): its signed catalog pins each download to an immutable revision of this repository and verifies every file's SHA-256 digest.
|
| 26 |
|
| 27 |
## Reproducibility and licenses
|
| 28 |
|
| 29 |
+
`drowse-build.json` records the exact source files, the MLC LLM base commit and every compiler overlay's
|
| 30 |
+
hash; `hosted-artifacts.json` and `hosted-pack-artifacts.json` list every file with its digest. The model
|
| 31 |
+
library is compiled by the recipe in `browser-runtime/` of
|
| 32 |
+
[stdlogits/drowse.ai](https://github.com/stdlogits/drowse.ai), which pins the upstream TVM, MLC LLM and
|
| 33 |
+
WebLLM sources and the patches drowse applies to them. Licenses apply by component: see
|
| 34 |
+
[LICENSES.md](LICENSES.md).
|
| 35 |
+
|
| 36 |
+
[drowse](https://github.com/stdlogits/drowse) is written by a9lim with Claude; its browser edition, [drowse.ai](https://drowse.ai), is built from [stdlogits/drowse.ai](https://github.com/stdlogits/drowse.ai).
|
manifolds/default-welcoming.detached.drowse
DELETED
|
Binary file (91.3 kB)
|
|
|
runtime-source.tar.gz
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:93e0aa4540e5d93893c5a4c652412ae4ec1534861b901b2d5329e4f1d5f5b59b
|
| 3 |
-
size 2072402
|
|
|
|
|
|
|
|
|
|
|
|