Token Classification
Transformers
Safetensors
English
bert
transcript-cleanup
experimental
keep-delete
Instructions to use arach/transcript-cleanup-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arach/transcript-cleanup-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="arach/transcript-cleanup-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("arach/transcript-cleanup-tiny") model = AutoModelForTokenClassification.from_pretrained("arach/transcript-cleanup-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Publish experimental guarded KEEP/DELETE cleanup model
Browse files- LICENSE +202 -0
- NOTICE +8 -0
- README.md +119 -0
- config.json +36 -0
- model.safetensors +3 -0
- publication_manifest.json +19 -0
- tagger_manifest.json +413 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Transcript cleanup tiny, experimental fine-tune by Arach, 2026.
|
| 2 |
+
Derived from Google BERT-Tiny (google/bert_uncased_L-2_H-128_A-2),
|
| 3 |
+
revision 30b0a37ccaaa32f332884b96992754e246e48c5f, Apache License 2.0.
|
| 4 |
+
Modifications: a new KEEP/DELETE token-classification head and full-model
|
| 5 |
+
fine-tuning on assistant-authored synthetic cleanup examples.
|
| 6 |
+
The tokenizer is redistributed unchanged.
|
| 7 |
+
Base model: https://huggingface.co/google/bert_uncased_L-2_H-128_A-2
|
| 8 |
+
Recipe code has a separate MIT license; Parakeet weights use CC-BY-4.0.
|
README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: token-classification
|
| 7 |
+
base_model: google/bert_uncased_L-2_H-128_A-2
|
| 8 |
+
base_model_relation: finetune
|
| 9 |
+
tags:
|
| 10 |
+
- transcript-cleanup
|
| 11 |
+
- experimental
|
| 12 |
+
- bert
|
| 13 |
+
- keep-delete
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Transcript cleanup tiny
|
| 17 |
+
|
| 18 |
+
An experimental English KEEP/DELETE tagger for an optional cleanup step after transcription. The model proposes word deletions. The [shared recipe runtime](https://huggingface.co/arach/parakeet-coreml-recipe/tree/main/cleanup) checks those proposals and renders edits from the original text.
|
| 19 |
+
|
| 20 |
+
The frozen pilot matches 39 of 48 synthetic held-out references. It preserves all 24 cases that should remain unchanged and correctly cleans 15 of the 24 cases that need edits. The nine misses remain unchanged. These results do not establish reliability on real dictation.
|
| 21 |
+
|
| 22 |
+
This repository contains the weights, tokenizer, and training manifest. Runtime code and experiment evidence live in the recipe's `cleanup/` folder. No ASR application or streaming integration is included.
|
| 23 |
+
|
| 24 |
+
## Model
|
| 25 |
+
|
| 26 |
+
| Property | Value |
|
| 27 |
+
| --- | --- |
|
| 28 |
+
| Base | [Google BERT-Tiny](https://huggingface.co/google/bert_uncased_L-2_H-128_A-2/tree/30b0a37ccaaa32f332884b96992754e246e48c5f) |
|
| 29 |
+
| Base revision | `30b0a37ccaaa32f332884b96992754e246e48c5f` |
|
| 30 |
+
| Architecture | Two-layer encoder, 128 hidden dimensions, two attention heads |
|
| 31 |
+
| Task head | KEEP / DELETE token classification |
|
| 32 |
+
| Fine-tuning | Full encoder and new classification head |
|
| 33 |
+
| Parameters | 4,369,666, approximately 4.37 million |
|
| 34 |
+
| Weight file | `model.safetensors`, 17,483,080 bytes, approximately 17.48 MB |
|
| 35 |
+
| Deletion threshold | Probability greater than 0.99 |
|
| 36 |
+
| Context limit | 512 tokenizer tokens, including special tokens |
|
| 37 |
+
|
| 38 |
+
Weight SHA-256: `1d7ec6c86525c1d1072a1889b23493df20fc9f59d6c9e0f412e3b5a3fa086208`.
|
| 39 |
+
|
| 40 |
+
## Use the guarded runtime
|
| 41 |
+
|
| 42 |
+
Install the Python dependencies:
|
| 43 |
+
|
| 44 |
+
```sh
|
| 45 |
+
python -m pip install torch==2.15.0 transformers==5.22.2 huggingface-hub==2.4.0 safetensors==0.8.0
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Download the recipe code and model, then keep the `Tagger` instance resident between utterances:
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
from pathlib import Path
|
| 52 |
+
import sys
|
| 53 |
+
|
| 54 |
+
from huggingface_hub import snapshot_download
|
| 55 |
+
|
| 56 |
+
recipe_path = snapshot_download(
|
| 57 |
+
repo_id="arach/parakeet-coreml-recipe",
|
| 58 |
+
revision="e195703e5060c9945c2478c3749dc3508b8eb0b6",
|
| 59 |
+
allow_patterns=["cleanup/cleanup.py", "cleanup/edit_policy.py"],
|
| 60 |
+
)
|
| 61 |
+
sys.path.insert(0, str(Path(recipe_path) / "cleanup"))
|
| 62 |
+
from cleanup import Tagger
|
| 63 |
+
|
| 64 |
+
model_path = snapshot_download(
|
| 65 |
+
repo_id="arach/transcript-cleanup-tiny",
|
| 66 |
+
# Set revision to a published model commit for reproducible use.
|
| 67 |
+
)
|
| 68 |
+
tagger = Tagger(Path(model_path))
|
| 69 |
+
result = tagger.run("Um, the wicker basket is beside the radiator.")
|
| 70 |
+
print(result["output"])
|
| 71 |
+
# The wicker basket is beside the radiator.
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
The reported results require the complete `Tagger` pipeline: source alignment, the frozen threshold, eligibility guards, and the original-text renderer. A generic Transformers token-classification pipeline omits these steps. In the held-out evaluation, the model proposed deleting one quoted `uh`; the guard blocked that proposal.
|
| 75 |
+
|
| 76 |
+
The intended experiment is an optional pass on a completed utterance, with the original transcript retained. Speculative streaming is not implemented. See the [recipe instructions](https://huggingface.co/arach/parakeet-coreml-recipe/blob/main/cleanup/README.md) for the CLI and result fields.
|
| 77 |
+
|
| 78 |
+
## Edit policy and limits
|
| 79 |
+
|
| 80 |
+
Eligible edits remove unquoted standalone `um` or `uh`, or one copy of an adjacent repeated word. Repeated words must be separated by horizontal whitespace; comma-separated repetitions are ineligible in this version. The renderer retains at least one copy and repairs neighboring separators. It can capitalize the first surviving letter.
|
| 81 |
+
|
| 82 |
+
The policy leaves grammar, hedges, emphasis, explicit self-corrections, and incomplete speech intact. Guards protect recognized quoted text, code, URLs, digits, negations, underscore identifiers, and camelCase. They do not recognize every name or literal. The model can still make incorrect eligible deletions on unseen inputs.
|
| 83 |
+
|
| 84 |
+
Inputs over the context limit or with unsafe source alignment return the original text with a fallback reason. They are not truncated. Edit offsets are Python character indices. The edit list records lexical deletions; separator and capitalization repairs are implicit, so the list is not a complete patch format for an application.
|
| 85 |
+
|
| 86 |
+
A known prefix-capitalization discrepancy remains: deleting the first `go` in `go go home.` can render `Go home.`, while training-label derivation permits that capitalization change only after a prefix filler. The frozen holdout does not exercise this case. The policy and label derivation need alignment before a subsequent experiment.
|
| 87 |
+
|
| 88 |
+
## Training and evaluation
|
| 89 |
+
|
| 90 |
+
All examples are assistant-authored synthetic text. There are no human-approved labels or real ASR captures. The development set contains 160 pairs from 80 families, including 80 unchanged pairs. A family-level split assigns 128 pairs to training and 32 to validation. The model trains for 12 fixed epochs with seed 23, batch size 8, learning rate 0.0003, and DELETE loss weight 4.
|
| 91 |
+
|
| 92 |
+
Validation selects the threshold by minimizing cases that lose required words, then changed unchanged cases, then reference mismatches. Ties prefer the higher threshold. The selected threshold is 0.99. The weights, threshold, and renderer were frozen before evaluation on the separate 48-case pack.
|
| 93 |
+
|
| 94 |
+
| System | Reference matches | Correct cleanup | Unchanged cases preserved | Cases losing required words | Warm p50 / p95 |
|
| 95 |
+
| --- | ---: | ---: | ---: | ---: | ---: |
|
| 96 |
+
| Return input | 24/48 | 0/24 | 24/24 | 0 | Approximately 0 ms |
|
| 97 |
+
| Rules with the same renderer | 45/48 | 22/24 | 23/24 | 1 | 0.08 / 0.91 ms |
|
| 98 |
+
| This tagger with guards | 39/48 | 15/24 | 24/24 | 0 | 2.87 / 35.62 ms |
|
| 99 |
+
| Earlier Qwen3-0.6B adapter, restricted prompt | 40/48 | 22/24 | 18/24 | 6 | 383.33 / 725.10 ms |
|
| 100 |
+
|
| 101 |
+
The tagger's nine misses comprise two unpunctuated fillers, five eligible repetitions below the threshold, and two comma-separated repetitions outside renderer scope. Rules clean more cases but incorrectly shorten grammatical `had had`. The Qwen adapter was trained earlier under a broader cleanup policy and runs in MLX; this is a comparison of practical prototypes, not an isolated architecture comparison.
|
| 102 |
+
|
| 103 |
+
Reference matching normalizes outer whitespace and quote typography. Unchanged-case preservation uses exact string equality. Required-word loss is a lexical subsequence diagnostic, not proof of semantic fidelity. Four frozen `preserve` annotations contain cleaned phrases absent as contiguous input spans. The comparison report accounts for this diagnostic artifact; raw protected-span failure counts must not be interpreted as lost source text.
|
| 104 |
+
|
| 105 |
+
An audit found no exact or normalized duplicate sentences and no shared six-word sequences between development and holdout data. Four similar templates remain. Excluding those templates gives 35/44 matches for the tagger, with all 21 unchanged cases preserved. Synthetic independence remains limited.
|
| 106 |
+
|
| 107 |
+
The [experiment folder](https://huggingface.co/arach/parakeet-coreml-recipe/tree/main/cleanup/experiment) contains the training source, data, and evaluation harness. [Recorded results](https://huggingface.co/arach/parakeet-coreml-recipe/tree/main/cleanup/experiment/results) include the comparison, raw evaluations, and length probes. Training details and hashes are also recorded in `tagger_manifest.json`.
|
| 108 |
+
|
| 109 |
+
## Timing scope
|
| 110 |
+
|
| 111 |
+
Measurements use an Apple M1 with 16 GiB RAM, PyTorch CPU inference, four threads, and batch size one. Five serial repeats per held-out case produce 240 timing observations, not 240 independent quality cases. Five warmups are excluded. Times include tokenization, inference, guards, and rendering; they exclude model loading, ASR, and delivery.
|
| 112 |
+
|
| 113 |
+
Fresh-process initialization, including Python library imports, took 13.50 seconds in the holdout run and 6.07 seconds in the length run. Warm latency assumes a resident model. Overlapping length probes with 20, 71, and 191 body words took 4.81–86.57 ms, 4.41–63.21 ms, and 9.31–48.11 ms respectively. Workstation scheduling varied substantially; these observations are not a latency guarantee or controlled scaling curve.
|
| 114 |
+
|
| 115 |
+
Native startup, Core ML conversion, process memory, energy, thermal stability, and concurrent ASR latency or memory have not been measured. Real Parakeet transcripts with human-approved minimal edits and a fresh recording-session holdout are needed before application integration.
|
| 116 |
+
|
| 117 |
+
## Licenses
|
| 118 |
+
|
| 119 |
+
These weights derive from the Apache-2.0 BERT-Tiny base and are released under Apache-2.0. The shared recipe code is MIT licensed. Parakeet artifacts have a separate CC-BY-4.0 license; that license does not apply to these cleanup weights.
|
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": null,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 128,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "KEEP",
|
| 16 |
+
"1": "DELETE"
|
| 17 |
+
},
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 512,
|
| 20 |
+
"is_decoder": false,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"DELETE": 1,
|
| 23 |
+
"KEEP": 0
|
| 24 |
+
},
|
| 25 |
+
"layer_norm_eps": 1e-12,
|
| 26 |
+
"max_position_embeddings": 512,
|
| 27 |
+
"model_type": "bert",
|
| 28 |
+
"num_attention_heads": 2,
|
| 29 |
+
"num_hidden_layers": 2,
|
| 30 |
+
"pad_token_id": 0,
|
| 31 |
+
"tie_word_embeddings": true,
|
| 32 |
+
"transformers_version": "5.22.2",
|
| 33 |
+
"type_vocab_size": 2,
|
| 34 |
+
"use_cache": true,
|
| 35 |
+
"vocab_size": 30522
|
| 36 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d7ec6c86525c1d1072a1889b23493df20fc9f59d6c9e0f412e3b5a3fa086208
|
| 3 |
+
size 17483080
|
publication_manifest.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "experimental synthetic pilot",
|
| 3 |
+
"source_commit": "c3b9594",
|
| 4 |
+
"model_repo": "arach/transcript-cleanup-tiny",
|
| 5 |
+
"recipe_repo": "arach/parakeet-coreml-recipe",
|
| 6 |
+
"recipe_base_commit": "3c3658de9aaeaf5700adb6e7b24efcffc7c802af",
|
| 7 |
+
"recipe_commit": "e195703e5060c9945c2478c3749dc3508b8eb0b6",
|
| 8 |
+
"model_artifact_sha256": {
|
| 9 |
+
"model.safetensors": "1d7ec6c86525c1d1072a1889b23493df20fc9f59d6c9e0f412e3b5a3fa086208",
|
| 10 |
+
"config.json": "c00aee6a050ada6caf07d28cd7ec1a7e89b05df66563b25597a0d44b515572ff",
|
| 11 |
+
"tokenizer.json": "d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66",
|
| 12 |
+
"tokenizer_config.json": "9f0c2c65a70ea18113ffa2e717103e7210ea826e7acc3442b69b346686b55a48",
|
| 13 |
+
"tagger_manifest.json": "4e414f2dee872a5a76eebb149be4dd6bafe8692f9bbff11da2c5abf295e251a9"
|
| 14 |
+
},
|
| 15 |
+
"runtime_sha256": "b7bae82121b2bb7066e167a4c203c3f15612a81e82e0059f04eaa87449b0dba5",
|
| 16 |
+
"renderer_sha256": "7977564c691039e69c492324cfdb1f1f5cb0f4ac07d5962e7860094f06ab3104",
|
| 17 |
+
"training_pairs_sha256": "582a5137099bb81351a83eea9c15caf6cd05653fa982b26049166d50ba0f898c",
|
| 18 |
+
"heldout_sha256": "6a4b7c565e6322c6a5008e377c0ccdc87445cd6d70f49e8a1dfee7d2973cd593"
|
| 19 |
+
}
|
tagger_manifest.json
ADDED
|
@@ -0,0 +1,413 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "complete",
|
| 3 |
+
"timestamp": "2026-11-07T02:14:14.279533+00:00",
|
| 4 |
+
"model": "google/bert_uncased_L-2_H-128_A-2",
|
| 5 |
+
"revision": "30b0a37ccaaa32f332884b96992754e246e48c5f",
|
| 6 |
+
"config": {
|
| 7 |
+
"seed": 23,
|
| 8 |
+
"epochs": 12,
|
| 9 |
+
"batch_size": 8,
|
| 10 |
+
"learning_rate": 0.0003,
|
| 11 |
+
"weight_decay": 0.01,
|
| 12 |
+
"delete_loss_weight": 4.0,
|
| 13 |
+
"max_tokens": 512,
|
| 14 |
+
"threads": 4,
|
| 15 |
+
"device": "cpu",
|
| 16 |
+
"thresholds": [
|
| 17 |
+
0.5,
|
| 18 |
+
0.7,
|
| 19 |
+
0.8,
|
| 20 |
+
0.9,
|
| 21 |
+
0.95,
|
| 22 |
+
0.99,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"provenance": "Synthetic assistant-authored experiment; no real captures or user-approved targets.",
|
| 27 |
+
"parameter_count": 4369666,
|
| 28 |
+
"pairs_sha256": "582a5137099bb81351a83eea9c15caf6cd05653fa982b26049166d50ba0f898c",
|
| 29 |
+
"heldout_sha256": "6a4b7c565e6322c6a5008e377c0ccdc87445cd6d70f49e8a1dfee7d2973cd593",
|
| 30 |
+
"script_sha256": "2ff06711560dae1d79673a6b7e5603d2a758ac636d9c980790af7916ad0f32ed",
|
| 31 |
+
"renderer_sha256": "7977564c691039e69c492324cfdb1f1f5cb0f4ac07d5962e7860094f06ab3104",
|
| 32 |
+
"packages": {
|
| 33 |
+
"torch": "2.15.0",
|
| 34 |
+
"transformers": "5.22.2",
|
| 35 |
+
"huggingface-hub": "2.4.0",
|
| 36 |
+
"safetensors": "0.8.0"
|
| 37 |
+
},
|
| 38 |
+
"train_ids": [
|
| 39 |
+
"seedling-trays-01",
|
| 40 |
+
"seedling-trays-02",
|
| 41 |
+
"ferry-ramp-01",
|
| 42 |
+
"ferry-ramp-02",
|
| 43 |
+
"spare-reed-01",
|
| 44 |
+
"spare-reed-02",
|
| 45 |
+
"wool-pattern-01",
|
| 46 |
+
"wool-pattern-02",
|
| 47 |
+
"courtyard-bench-01",
|
| 48 |
+
"courtyard-bench-02",
|
| 49 |
+
"storm-shutters-01",
|
| 50 |
+
"storm-shutters-02",
|
| 51 |
+
"paper-lantern-01",
|
| 52 |
+
"paper-lantern-02",
|
| 53 |
+
"marble-stairs-01",
|
| 54 |
+
"marble-stairs-02",
|
| 55 |
+
"lemon-peel-01",
|
| 56 |
+
"lemon-peel-02",
|
| 57 |
+
"trail-junction-01",
|
| 58 |
+
"trail-junction-02",
|
| 59 |
+
"copper-pan-01",
|
| 60 |
+
"copper-pan-02",
|
| 61 |
+
"plum-jam-01",
|
| 62 |
+
"plum-jam-02",
|
| 63 |
+
"woven-rug-01",
|
| 64 |
+
"woven-rug-02",
|
| 65 |
+
"ginger-tea-01",
|
| 66 |
+
"ginger-tea-02",
|
| 67 |
+
"valve-handle-01",
|
| 68 |
+
"valve-handle-02",
|
| 69 |
+
"small-funnel-01",
|
| 70 |
+
"small-funnel-02",
|
| 71 |
+
"orange-crate-01",
|
| 72 |
+
"orange-crate-02",
|
| 73 |
+
"linen-drawer-01",
|
| 74 |
+
"linen-drawer-02",
|
| 75 |
+
"box-chalk-01",
|
| 76 |
+
"box-chalk-02",
|
| 77 |
+
"silk-thread-01",
|
| 78 |
+
"silk-thread-02",
|
| 79 |
+
"winding-path-01",
|
| 80 |
+
"winding-path-02",
|
| 81 |
+
"island-postcard-01",
|
| 82 |
+
"island-postcard-02",
|
| 83 |
+
"oak-stool-01",
|
| 84 |
+
"oak-stool-02",
|
| 85 |
+
"blue-scarf-01",
|
| 86 |
+
"blue-scarf-02",
|
| 87 |
+
"skating-gloves-01",
|
| 88 |
+
"skating-gloves-02",
|
| 89 |
+
"weekend-route-01",
|
| 90 |
+
"weekend-route-02",
|
| 91 |
+
"garden-ladder-01",
|
| 92 |
+
"garden-ladder-02",
|
| 93 |
+
"canvas-apron-01",
|
| 94 |
+
"canvas-apron-02",
|
| 95 |
+
"concert-seat-01",
|
| 96 |
+
"concert-seat-02",
|
| 97 |
+
"faded-map-01",
|
| 98 |
+
"faded-map-02",
|
| 99 |
+
"soup-ladle-01",
|
| 100 |
+
"soup-ladle-02",
|
| 101 |
+
"quoted-brochure-01",
|
| 102 |
+
"quoted-brochure-02",
|
| 103 |
+
"quoted-rehearsal-01",
|
| 104 |
+
"quoted-rehearsal-02",
|
| 105 |
+
"quoted-audio-note-01",
|
| 106 |
+
"quoted-audio-note-02",
|
| 107 |
+
"very-steep-01",
|
| 108 |
+
"very-steep-02",
|
| 109 |
+
"long-winter-01",
|
| 110 |
+
"long-winter-02",
|
| 111 |
+
"no-extra-salt-01",
|
| 112 |
+
"no-extra-salt-02",
|
| 113 |
+
"had-breakfast-01",
|
| 114 |
+
"had-breakfast-02",
|
| 115 |
+
"literal-python-01",
|
| 116 |
+
"literal-python-02",
|
| 117 |
+
"literal-path-01",
|
| 118 |
+
"literal-path-02",
|
| 119 |
+
"literal-camel-01",
|
| 120 |
+
"literal-camel-02",
|
| 121 |
+
"literal-iphone-01",
|
| 122 |
+
"literal-iphone-02",
|
| 123 |
+
"correction-reservation-01",
|
| 124 |
+
"correction-reservation-02",
|
| 125 |
+
"unfinished-paint-01",
|
| 126 |
+
"unfinished-paint-02",
|
| 127 |
+
"unfinished-melody-01",
|
| 128 |
+
"unfinished-melody-02",
|
| 129 |
+
"instruction-marigold-01",
|
| 130 |
+
"instruction-marigold-02",
|
| 131 |
+
"numeric-repeat-01",
|
| 132 |
+
"numeric-repeat-02",
|
| 133 |
+
"hedge-feeling-01",
|
| 134 |
+
"hedge-feeling-02",
|
| 135 |
+
"discourse-literal-01",
|
| 136 |
+
"discourse-literal-02",
|
| 137 |
+
"grammar-that-01",
|
| 138 |
+
"grammar-that-02",
|
| 139 |
+
"grammar-is-01",
|
| 140 |
+
"grammar-is-02",
|
| 141 |
+
"emphatic-more-01",
|
| 142 |
+
"emphatic-more-02",
|
| 143 |
+
"metalinguistic-duplicates-01",
|
| 144 |
+
"metalinguistic-duplicates-02",
|
| 145 |
+
"two-hesitations-01",
|
| 146 |
+
"two-hesitations-02",
|
| 147 |
+
"filler-no-commas-01",
|
| 148 |
+
"filler-no-commas-02",
|
| 149 |
+
"filler-question-01",
|
| 150 |
+
"filler-question-02",
|
| 151 |
+
"filler-fragment-01",
|
| 152 |
+
"filler-fragment-02",
|
| 153 |
+
"filler-longer-01",
|
| 154 |
+
"filler-longer-02",
|
| 155 |
+
"only-hesitation-01",
|
| 156 |
+
"only-hesitation-02",
|
| 157 |
+
"repeat-tentative-01",
|
| 158 |
+
"repeat-tentative-02",
|
| 159 |
+
"repeat-negative-01",
|
| 160 |
+
"repeat-negative-02",
|
| 161 |
+
"repeat-literal-context-01",
|
| 162 |
+
"repeat-literal-context-02",
|
| 163 |
+
"repeat-multiple-01",
|
| 164 |
+
"repeat-multiple-02",
|
| 165 |
+
"repeat-with-filler-01",
|
| 166 |
+
"repeat-with-filler-02"
|
| 167 |
+
],
|
| 168 |
+
"valid_ids": [
|
| 169 |
+
"ceramic-shelf-01",
|
| 170 |
+
"ceramic-shelf-02",
|
| 171 |
+
"bicycle-chain-01",
|
| 172 |
+
"bicycle-chain-02",
|
| 173 |
+
"dried-rosemary-01",
|
| 174 |
+
"dried-rosemary-02",
|
| 175 |
+
"library-atlas-01",
|
| 176 |
+
"library-atlas-02",
|
| 177 |
+
"embroidered-bag-01",
|
| 178 |
+
"embroidered-bag-02",
|
| 179 |
+
"daylight-window-01",
|
| 180 |
+
"daylight-window-02",
|
| 181 |
+
"ticket-desk-01",
|
| 182 |
+
"ticket-desk-02",
|
| 183 |
+
"roof-rain-01",
|
| 184 |
+
"roof-rain-02",
|
| 185 |
+
"sketch-frame-01",
|
| 186 |
+
"sketch-frame-02",
|
| 187 |
+
"quoted-puppet-01",
|
| 188 |
+
"quoted-puppet-02",
|
| 189 |
+
"correction-colour-01",
|
| 190 |
+
"correction-colour-02",
|
| 191 |
+
"correction-approval-01",
|
| 192 |
+
"correction-approval-02",
|
| 193 |
+
"correction-direction-01",
|
| 194 |
+
"correction-direction-02",
|
| 195 |
+
"instruction-dialogue-01",
|
| 196 |
+
"instruction-dialogue-02",
|
| 197 |
+
"numeric-contrast-01",
|
| 198 |
+
"numeric-contrast-02",
|
| 199 |
+
"repeat-soft-request-01",
|
| 200 |
+
"repeat-soft-request-02"
|
| 201 |
+
],
|
| 202 |
+
"train_families": [
|
| 203 |
+
"blue-scarf",
|
| 204 |
+
"box-chalk",
|
| 205 |
+
"canvas-apron",
|
| 206 |
+
"concert-seat",
|
| 207 |
+
"copper-pan",
|
| 208 |
+
"correction-reservation",
|
| 209 |
+
"courtyard-bench",
|
| 210 |
+
"discourse-literal",
|
| 211 |
+
"emphatic-more",
|
| 212 |
+
"faded-map",
|
| 213 |
+
"ferry-ramp",
|
| 214 |
+
"filler-fragment",
|
| 215 |
+
"filler-longer",
|
| 216 |
+
"filler-no-commas",
|
| 217 |
+
"filler-question",
|
| 218 |
+
"garden-ladder",
|
| 219 |
+
"ginger-tea",
|
| 220 |
+
"grammar-is",
|
| 221 |
+
"grammar-that",
|
| 222 |
+
"had-breakfast",
|
| 223 |
+
"hedge-feeling",
|
| 224 |
+
"instruction-marigold",
|
| 225 |
+
"island-postcard",
|
| 226 |
+
"lemon-peel",
|
| 227 |
+
"linen-drawer",
|
| 228 |
+
"literal-camel",
|
| 229 |
+
"literal-iphone",
|
| 230 |
+
"literal-path",
|
| 231 |
+
"literal-python",
|
| 232 |
+
"long-winter",
|
| 233 |
+
"marble-stairs",
|
| 234 |
+
"metalinguistic-duplicates",
|
| 235 |
+
"no-extra-salt",
|
| 236 |
+
"numeric-repeat",
|
| 237 |
+
"oak-stool",
|
| 238 |
+
"only-hesitation",
|
| 239 |
+
"orange-crate",
|
| 240 |
+
"paper-lantern",
|
| 241 |
+
"plum-jam",
|
| 242 |
+
"quoted-audio-note",
|
| 243 |
+
"quoted-brochure",
|
| 244 |
+
"quoted-rehearsal",
|
| 245 |
+
"repeat-literal-context",
|
| 246 |
+
"repeat-multiple",
|
| 247 |
+
"repeat-negative",
|
| 248 |
+
"repeat-tentative",
|
| 249 |
+
"repeat-with-filler",
|
| 250 |
+
"seedling-trays",
|
| 251 |
+
"silk-thread",
|
| 252 |
+
"skating-gloves",
|
| 253 |
+
"small-funnel",
|
| 254 |
+
"soup-ladle",
|
| 255 |
+
"spare-reed",
|
| 256 |
+
"storm-shutters",
|
| 257 |
+
"trail-junction",
|
| 258 |
+
"two-hesitations",
|
| 259 |
+
"unfinished-melody",
|
| 260 |
+
"unfinished-paint",
|
| 261 |
+
"valve-handle",
|
| 262 |
+
"very-steep",
|
| 263 |
+
"weekend-route",
|
| 264 |
+
"winding-path",
|
| 265 |
+
"wool-pattern",
|
| 266 |
+
"woven-rug"
|
| 267 |
+
],
|
| 268 |
+
"valid_families": [
|
| 269 |
+
"bicycle-chain",
|
| 270 |
+
"ceramic-shelf",
|
| 271 |
+
"correction-approval",
|
| 272 |
+
"correction-colour",
|
| 273 |
+
"correction-direction",
|
| 274 |
+
"daylight-window",
|
| 275 |
+
"dried-rosemary",
|
| 276 |
+
"embroidered-bag",
|
| 277 |
+
"instruction-dialogue",
|
| 278 |
+
"library-atlas",
|
| 279 |
+
"numeric-contrast",
|
| 280 |
+
"quoted-puppet",
|
| 281 |
+
"repeat-soft-request",
|
| 282 |
+
"roof-rain",
|
| 283 |
+
"sketch-frame",
|
| 284 |
+
"ticket-desk"
|
| 285 |
+
],
|
| 286 |
+
"selection_policy": "Final fixed-epoch model. Threshold chosen on validation only: minimize cases losing required words, then changed no-ops, then maximize strict accepted references; prefer higher threshold on ties.",
|
| 287 |
+
"gold_renderer_mismatches": [],
|
| 288 |
+
"epochs": [
|
| 289 |
+
{
|
| 290 |
+
"epoch": 1,
|
| 291 |
+
"mean_batch_loss": 0.46413037180900574
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"epoch": 2,
|
| 295 |
+
"mean_batch_loss": 0.3076215647161007
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"epoch": 3,
|
| 299 |
+
"mean_batch_loss": 0.21633667964488268
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"epoch": 4,
|
| 303 |
+
"mean_batch_loss": 0.13570373295806348
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"epoch": 5,
|
| 307 |
+
"mean_batch_loss": 0.10943305736873299
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"epoch": 6,
|
| 311 |
+
"mean_batch_loss": 0.08478387643117458
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 7,
|
| 315 |
+
"mean_batch_loss": 0.06221661943709478
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"epoch": 8,
|
| 319 |
+
"mean_batch_loss": 0.03604193188948557
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"epoch": 9,
|
| 323 |
+
"mean_batch_loss": 0.06867107070866041
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"epoch": 10,
|
| 327 |
+
"mean_batch_loss": 0.05189189137308858
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"epoch": 11,
|
| 331 |
+
"mean_batch_loss": 0.04755593434674665
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"epoch": 12,
|
| 335 |
+
"mean_batch_loss": 0.045788399802404456
|
| 336 |
+
}
|
| 337 |
+
],
|
| 338 |
+
"threshold": 0.99,
|
| 339 |
+
"validation_thresholds": [
|
| 340 |
+
{
|
| 341 |
+
"threshold": 0.5,
|
| 342 |
+
"unique_cases": 32,
|
| 343 |
+
"accepted_unique": 27,
|
| 344 |
+
"cases_missing_required_words": 0,
|
| 345 |
+
"cases_with_new_words": 0,
|
| 346 |
+
"no_op_cases": 17,
|
| 347 |
+
"changed_no_op_cases": 0,
|
| 348 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"threshold": 0.7,
|
| 352 |
+
"unique_cases": 32,
|
| 353 |
+
"accepted_unique": 27,
|
| 354 |
+
"cases_missing_required_words": 0,
|
| 355 |
+
"cases_with_new_words": 0,
|
| 356 |
+
"no_op_cases": 17,
|
| 357 |
+
"changed_no_op_cases": 0,
|
| 358 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"threshold": 0.8,
|
| 362 |
+
"unique_cases": 32,
|
| 363 |
+
"accepted_unique": 27,
|
| 364 |
+
"cases_missing_required_words": 0,
|
| 365 |
+
"cases_with_new_words": 0,
|
| 366 |
+
"no_op_cases": 17,
|
| 367 |
+
"changed_no_op_cases": 0,
|
| 368 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"threshold": 0.9,
|
| 372 |
+
"unique_cases": 32,
|
| 373 |
+
"accepted_unique": 27,
|
| 374 |
+
"cases_missing_required_words": 0,
|
| 375 |
+
"cases_with_new_words": 0,
|
| 376 |
+
"no_op_cases": 17,
|
| 377 |
+
"changed_no_op_cases": 0,
|
| 378 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"threshold": 0.95,
|
| 382 |
+
"unique_cases": 32,
|
| 383 |
+
"accepted_unique": 27,
|
| 384 |
+
"cases_missing_required_words": 0,
|
| 385 |
+
"cases_with_new_words": 0,
|
| 386 |
+
"no_op_cases": 17,
|
| 387 |
+
"changed_no_op_cases": 0,
|
| 388 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"threshold": 0.99,
|
| 392 |
+
"unique_cases": 32,
|
| 393 |
+
"accepted_unique": 27,
|
| 394 |
+
"cases_missing_required_words": 0,
|
| 395 |
+
"cases_with_new_words": 0,
|
| 396 |
+
"no_op_cases": 17,
|
| 397 |
+
"changed_no_op_cases": 0,
|
| 398 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"threshold": 1.0,
|
| 402 |
+
"unique_cases": 32,
|
| 403 |
+
"accepted_unique": 17,
|
| 404 |
+
"cases_missing_required_words": 0,
|
| 405 |
+
"cases_with_new_words": 0,
|
| 406 |
+
"no_op_cases": 17,
|
| 407 |
+
"changed_no_op_cases": 0,
|
| 408 |
+
"scope": "Lexical subsequence diagnostics and exact no-op preservation; not semantic safety. Repeats are timing observations, not independent quality cases."
|
| 409 |
+
}
|
| 410 |
+
],
|
| 411 |
+
"model_sha256": "1d7ec6c86525c1d1072a1889b23493df20fc9f59d6c9e0f412e3b5a3fa086208",
|
| 412 |
+
"training_seconds": 4.683
|
| 413 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"local_files_only": false,
|
| 7 |
+
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|