trieloff commited on
Commit
38290c5
路
verified 路
1 Parent(s): 862e520

Add model card

Browse files
Files changed (1) hide show
  1. README.md +55 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: onnx
4
+ tags:
5
+ - onnx
6
+ - token-classification
7
+ - agents
8
+ - browser
9
+ - wasm
10
+ - crf
11
+ pipeline_tag: token-classification
12
+ ---
13
+
14
+ # gpu-ask.js (v13)
15
+
16
+ On-device agent-question tagger for the browser. Two-seed ensemble (~571k parameters 脳 2), distilled from an Ettin-150m teacher. Emissions are ONNX; features, linear-chain CRF, and the ask-tool compiler ship as TypeScript in [`@ai-ecoverse/gpu-ask.js`](https://www.npmjs.com/package/@ai-ecoverse/gpu-ask.js).
17
+
18
+ **[Live demo](https://ai-ecoverse.github.io/gpu-ask.js/)** 路 **[npm](https://www.npmjs.com/package/@ai-ecoverse/gpu-ask.js)** 路 **[GitHub](https://github.com/ai-ecoverse/gpu-ask.js)**
19
+
20
+ ## Files (`v13/`)
21
+
22
+ | File | Role |
23
+ | --- | --- |
24
+ | `member0.onnx`, `member1.onnx` | Emission networks (ensemble average at runtime) |
25
+ | `config.json` | Feature / label / member layout |
26
+ | `crf.json` | Start and transition scores for Viterbi |
27
+ | `static_vocab.json` | Static potion-32 table |
28
+ | `manifest.json` | SHA-256 checksums |
29
+
30
+ ## Usage
31
+
32
+ ```ts
33
+ import * as ort from "onnxruntime-web/wasm";
34
+ import { loadAsk, parse } from "@ai-ecoverse/gpu-ask.js";
35
+
36
+ const ask = await loadAsk(
37
+ "https://huggingface.co/ai-ecoverse/gpu-ask.js/resolve/main/v13",
38
+ { ort },
39
+ );
40
+ const { questions } = await parse(ask, agentMessage);
41
+ ```
42
+
43
+ Weights are also bundled under `models/v13/` in the npm package (`bundledModelUrl()`).
44
+
45
+ ## Metrics
46
+
47
+ Pooled out-of-fold on 4,930 hand-labeled public agent turns (v13, constrained kind rerank in Python): false questions 3.7%, kind 85.4%, options_ok 67.5%. The browser path uses compiler kind (no Python-only rerank).
48
+
49
+ ## Training
50
+
51
+ See [ai-ecoverse/gpu-questions](https://github.com/ai-ecoverse/gpu-questions) (`docs/training.md`, recipe v13). Architecture follows [gpu-time](https://gpu-time.arikko.dev).
52
+
53
+ ## License
54
+
55
+ Apache-2.0. Part of [AI Ecoverse](https://github.com/ai-ecoverse).