cjdd3b commited on
Commit
387e2ff
路
verified 路
1 Parent(s): 3f6c16b

Document web/ WASM package on the model card

Browse files
Files changed (1) hide show
  1. README.md +6 -4
README.md CHANGED
@@ -28,9 +28,9 @@ calibrated probability per paragraph and two thresholds (`needed`,
28
  | --- | --- |
29
  | **Task** | Paragraph citation / needed-blocks |
30
  | **Size** | ~42 MB weights (trimmed vocab, int8 embeddings, fp16 rest) |
31
- | **Runtime** | CPU (PyTorch); Mac MPS optional |
32
- | **Weights** | [v0.1.0](https://huggingface.co/localangle/cite/tree/v0.1.0) |
33
- | **Demo** | [localangle/cite-demo](https://huggingface.co/spaces/localangle/cite-demo) |
34
 
35
  Cite does **not** write an answer. It ranks the paragraphs you already have and
36
  flags which ones are needed to answer the question.
@@ -90,8 +90,10 @@ cite = CitePackage.load("path/to/package") # or from_pretrained("./path")
90
  | `weights.safetensors` | Trimmed encoder + head (int8 token embeddings, fp16 elsewhere) |
91
  | `encoder/` | ModernBERT/Ettin config for the trimmed vocabulary |
92
  | `tokenizer/` | Tokenizer with `[MASK]` as the block marker |
 
93
 
94
- Weights expand to fp32 at load; only storage is compressed.
 
95
 
96
  ## Accuracy
97
 
 
28
  | --- | --- |
29
  | **Task** | Paragraph citation / needed-blocks |
30
  | **Size** | ~42 MB weights (trimmed vocab, int8 embeddings, fp16 rest) |
31
+ | **Runtime** | CPU (PyTorch); browser (ONNX Runtime WASM) |
32
+ | **Weights** | [v0.1.0](https://huggingface.co/localangle/cite/tree/v0.1.0) 路 [`web/`](https://huggingface.co/localangle/cite/tree/main/web) for WASM |
33
+ | **Demo** | [localangle/cite-demo](https://huggingface.co/spaces/localangle/cite-demo) (in-browser) |
34
 
35
  Cite does **not** write an answer. It ranks the paragraphs you already have and
36
  flags which ones are needed to answer the question.
 
90
  | `weights.safetensors` | Trimmed encoder + head (int8 token embeddings, fp16 elsewhere) |
91
  | `encoder/` | ModernBERT/Ettin config for the trimmed vocabulary |
92
  | `tokenizer/` | Tokenizer with `[MASK]` as the block marker |
93
+ | `web/` | Browser package: `model.onnx` (~36 MB int8), `vocab_map.bin`, `cite-web.json`, `tokenizer/` |
94
 
95
+ PyTorch weights expand to fp32 at load; only storage is compressed. The `web/`
96
+ ONNX graph is what the static demo runs in WASM (soft cap 2048 tokens).
97
 
98
  ## Accuracy
99