aryamantodkar commited on
Commit
154f8cc
·
verified ·
1 Parent(s): 80bda5e

Update Premove ITN model metadata

Browse files
Files changed (1) hide show
  1. README.md +71 -13
README.md CHANGED
@@ -1,19 +1,32 @@
1
  ---
2
  library_name: premove-itn
 
 
 
 
3
  tags:
4
  - inverse-text-normalization
 
 
5
  - voice-agents
 
 
 
6
  - custom-code
7
  license: mit
8
  ---
9
 
10
- # Premove ITN Contextual v0.1.0
11
 
12
- This is the first frozen, inference-only artifact for Premove ITN's
13
- structured-value contextual scorer. It contains the complete trained model
14
- parameters in `model.safetensors`, the exact DeBERTa configuration, and the
15
- tokenizer files used by the selected production checkpoint. Optimizer state,
16
- schedulers, counters, and training datasets are not included.
 
 
 
 
17
 
18
  The artifact is loaded through the `premove-itn` package. It is not a generic
19
  Transformers model; use the package loader so candidate generation and scoring
@@ -28,22 +41,67 @@ tokenizer = artifact.tokenizer
28
  ```
29
 
30
  The model uses `microsoft/deberta-v3-large` at the exact revision recorded in
31
- `provenance.json`. The base model is referenced rather than redistributed.
32
- Microsoft's model card lists the base model and tokenizer under the MIT
33
- license; retain that attribution when redistributing this artifact.
 
34
 
35
  This release is tagged `v0.1.0`. Do not move or overwrite that tag after
36
  publication. The artifact digest and source checkpoint lineage are recorded in
37
  `provenance.json`.
38
 
39
- ## Scope
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
- The supported span kinds are the values listed in `config.json`. This artifact
42
- selects deterministic Rust candidates with a contextual scorer. It does not
43
- contain training data or the frozen VoiceAgent benchmark dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  ## Release identity
46
 
47
  - Artifact version: `v0.1.0`
48
  - Architecture: `premove-candidate-scorer-v1`
49
  - Package version: `0.1.0`
 
 
 
 
 
 
 
 
 
1
  ---
2
  library_name: premove-itn
3
+ language:
4
+ - en
5
+ base_model:
6
+ - microsoft/deberta-v3-large
7
  tags:
8
  - inverse-text-normalization
9
+ - text-normalization
10
+ - speech-processing
11
  - voice-agents
12
+ - structured-prediction
13
+ - candidate-ranking
14
+ - safetensors
15
  - custom-code
16
  license: mit
17
  ---
18
 
19
+ # Premove ITN v0.1.0
20
 
21
+ Premove ITN is an English inverse text normalization system for voice-agent
22
+ utterances. This release is the first frozen, inference-only artifact for its
23
+ structured-value contextual scorer. It ranks deterministic Rust candidates
24
+ using sentence context, then applies exact maximum-score decoding.
25
+
26
+ The artifact contains the complete trained parameters in `model.safetensors`,
27
+ the exact DeBERTa configuration, and the tokenizer files used by the selected
28
+ production checkpoint. Optimizer state, scheduler state, training counters,
29
+ training data, and evaluation rows are not included.
30
 
31
  The artifact is loaded through the `premove-itn` package. It is not a generic
32
  Transformers model; use the package loader so candidate generation and scoring
 
41
  ```
42
 
43
  The model uses `microsoft/deberta-v3-large` at the exact revision recorded in
44
+ `provenance.json`. The artifact includes the tokenizer and base configuration;
45
+ the base model is not separately redistributed. Microsoft lists the base model
46
+ under the MIT license; retain that attribution when redistributing this
47
+ artifact.
48
 
49
  This release is tagged `v0.1.0`. Do not move or overwrite that tag after
50
  publication. The artifact digest and source checkpoint lineage are recorded in
51
  `provenance.json`.
52
 
53
+ ## Intended use
54
+
55
+ Use this artifact for English voice-agent text normalization where spoken
56
+ numbers, dates, times, money, phone values, identifiers, URLs, and related
57
+ structured values require context-sensitive disambiguation. The model receives
58
+ only the utterance text at inference time. Candidate metadata is generated by
59
+ the package's deterministic Rust layer.
60
+
61
+ ## Supported span kinds
62
+
63
+ The supported span kinds are listed in `config.json`: `DIGIT_SEQUENCE`,
64
+ `CARDINAL`, `TIME`, `DATE`, `MONEY`, `DECIMAL`, `PHONE`, `ELECTRONIC`,
65
+ `MEASUREMENT`, `ORDINAL`, `PUNCTUATION`, `WHITELIST`, and `WORD`.
66
+
67
+ ## First Evaluation
68
+
69
+ The retained First Evaluation used 1,500 frozen VoiceAgent ITN rows and three
70
+ backends. The metrics below are semantic entity metrics unless marked strict.
71
+ Formatting-only differences can reduce strict exact match while preserving the
72
+ same semantic value.
73
 
74
+ | Backend | Overall semantic micro | Overall semantic macro | Voice-agent entities | Mean latency |
75
+ |---|---:|---:|---:|---:|
76
+ | Premove ITN | 89.70% | 90.71% | 398/400 (99.50%) | 56.49 ms |
77
+ | Thutmose | 59.39% | 57.61% | 268/400 (67.00%) | 15.98 ms |
78
+ | text-processing-rs | 55.79% | 55.05% | 273/400 (68.25%) | 0.14 ms |
79
+
80
+ Premove leads the measured semantic accuracy overall and on the 400
81
+ voice-agent-domain rows. It does not lead latency. This is a balanced synthetic
82
+ stress benchmark, not an estimate of production traffic accuracy, and the run
83
+ was not blind.
84
+
85
+ ## Limitations
86
+
87
+ - This custom scorer is not directly loadable with `AutoModel.from_pretrained`.
88
+ Use `load_inference_artifact` and the matching `premove-itn` package version.
89
+ - The artifact is English-only and depends on the package's candidate graph and
90
+ decoder for end-to-end normalization.
91
+ - Benchmark results are not a guarantee for unseen domains or formatting
92
+ policies. Human gold adjudication and broader production-distribution testing
93
+ remain separate requirements.
94
 
95
  ## Release identity
96
 
97
  - Artifact version: `v0.1.0`
98
  - Architecture: `premove-candidate-scorer-v1`
99
  - Package version: `0.1.0`
100
+ - Hub repository: `premove-itn/premove-itn`
101
+ - Hub revision: `v0.1.0`
102
+ - Source checkpoint SHA-256: `9021fa11a028faefb31ef67878170cbe29ed25e68a9a78999f37b120c2ad00d5`
103
+ - Inference artifact SHA-256: `119c0f19767b61446e04da1f8f01a001edf97a47a66965e7146db2483b4937a1`
104
+
105
+ ## Licensing
106
+
107
+ Premove ITN is MIT licensed. The pinned base model is `microsoft/deberta-v3-large`, whose model card lists an MIT license. Review and retain both notices when redistributing this artifact.