tnh0527 commited on
Commit
8ac074c
·
verified ·
1 Parent(s): 662a100

Publish gliclass-std-base-v3-daecore-5facet-qint8-v2 (five-file qualified bundle, model card, license, notice)

Browse files
Files changed (9) hide show
  1. LICENSE +201 -0
  2. NOTICE +14 -0
  3. README.md +469 -0
  4. classifier-metadata.json +78 -0
  5. config.json +76 -0
  6. model.onnx +3 -0
  7. publication-manifest.json +53 -0
  8. tokenizer.json +0 -0
  9. tokenizer_config.json +76 -0
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
NOTICE ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Daecore five-facet memory classifier (gliclass-std-base-v3-daecore-5facet-qint8-v2)
2
+ Copyright 2026 the Daecore maintainers. Licensed under the Apache License, Version 2.0.
3
+
4
+ This model is a modified derivative of knowledgator/gliclass-base-v3.0
5
+ (https://huggingface.co/knowledgator/gliclass-base-v3.0, revision
6
+ 77a70e6cd52e602ed18184ef37d18bdd3741e3d5), licensed under the Apache License,
7
+ Version 2.0. That model builds on microsoft/deberta-v3-base
8
+ (https://huggingface.co/microsoft/deberta-v3-base), licensed under the MIT
9
+ License. Neither upstream author endorses this derivative.
10
+
11
+ Changes from the upstream model are described in MODIFICATIONS.md: a
12
+ supervised fine-tune on five memory facets, an ONNX export, and INT8
13
+ quantization of the token-embedding table. The upstream weights are not
14
+ distributed unmodified here.
README.md ADDED
@@ -0,0 +1,469 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: knowledgator/gliclass-base-v3.0
4
+ pipeline_tag: text-classification
5
+ tags:
6
+ - gliclass
7
+ - deberta-v3
8
+ - multi-label-classification
9
+ - fine-tuned
10
+ - onnx
11
+ - int8
12
+ ---
13
+
14
+ # GLiClass Base v3, five-facet memory classifier
15
+
16
+ ## Summary
17
+
18
+ This model tags passages of working notes and documentation with five
19
+ independent facets: `trap`, `decision`, `constraint`, `mechanism`, and
20
+ `procedure`. It is a supervised fine-tune of
21
+ [`knowledgator/gliclass-base-v3.0`](https://huggingface.co/knowledgator/gliclass-base-v3.0)
22
+ trained on 59,886 labeled passages and shipped as a 452.8 MB ONNX bundle
23
+ qualified on CPU, CUDA, and DirectML.
24
+
25
+ On a frozen 1,300-row held-out panel drawn from three unseen document families,
26
+ it reached macro average precision 0.9676 against 0.8526 for the previous
27
+ classifier, a paired gain of 0.1150 with every facet improving. At 90% recall it
28
+ is 0.902 precise on average against 0.719 before. The gain concentrates on the
29
+ two hard facets: decision rose from 0.678 to 0.914 average precision and
30
+ procedure from 0.817 to 0.958.
31
+
32
+ Two caveats travel with every number below. All labels, for training and for
33
+ evaluation, are frontier-model judgments under a frozen protocol, not human
34
+ annotations. All evaluation panels are generated documents, chosen because they
35
+ span far more domains and document shapes than the operator's own corpus; how
36
+ the model behaves on unrelated real documents has not been measured.
37
+
38
+ ## Model details
39
+
40
+ | Item | Value |
41
+ |---|---|
42
+ | Architecture | GLiClass single-pass label-conditioned classifier on a DeBERTa-v3 base backbone |
43
+ | Parameters | 186.5M |
44
+ | Input contract | 768 tokens per passage, five label prompts |
45
+ | Output | five independent posteriors in [0, 1], temperature-scaled per facet |
46
+ | Serialized artifact | `model.onnx`, 452,812,018 bytes, opset 17 |
47
+ | Quantization | signed INT8 on the token-embedding matrix only; the transformer body stays FP32 |
48
+ | Threshold tables | two frozen operating views, `contract` and `recall_leaning` |
49
+ | Deployment state | promotion-qualified; activation as the shipped default is a separate step |
50
+
51
+ The artifact size follows from the quantization choice: the 128k-entry
52
+ embedding table, about 98M parameters, is stored at one byte per weight while
53
+ the 88M-parameter body stays at four. Full-graph INT8 was not qualified.
54
+
55
+ ## Intended use
56
+
57
+ The model stamps passages inside a local-first memory system so that retrieval
58
+ can weight evidence by kind. The full posterior map is the product; thresholds
59
+ are advisory views for consumers that need a hard label. It is not a safety
60
+ classifier, a factuality judge, or an authority detector, and it should not be
61
+ used to filter what a retrieval system is allowed to return.
62
+
63
+ ## Task and labels
64
+
65
+ Each facet answers one question about a passage:
66
+
67
+ - `trap`: it names a specific mistake, hazard, pitfall, or failure mode.
68
+ - `decision`: it makes or records a choice among alternatives.
69
+ - `constraint`: it states a rule, policy, invariant, or restricting condition.
70
+ - `mechanism`: it explains how something works.
71
+ - `procedure`: it gives sequenced steps for carrying out a task.
72
+
73
+ Facets overlap freely. The hardest boundary is between a passage that makes a
74
+ decision and one that merely discusses or mentions one. Labels distinguish
75
+ "performs" from "mentions only", and mentions-only rows count as negatives for
76
+ both training and evaluation.
77
+
78
+ **Label provenance.** Every label was produced by a language model applying the
79
+ same one-sentence facet definitions the classifier sees. Training rows received
80
+ one primary judgment from GPT-5.6 (Sol, medium reasoning), with a frozen
81
+ 400-row cross-model audit by GPT-5.6 (Terra, high) and a Sol-high tiebreak only
82
+ where the two disagreed semantically. Calibration and promotion panels used two
83
+ independent Sol-high sessions per row plus a third Sol-xhigh session that saw
84
+ only the disputed fields. Unresolved fields stay unresolved and are masked per
85
+ facet; nothing unresolved becomes a negative.
86
+
87
+ Before adopting model judges, the operator labeled about fifty passages by
88
+ hand and compared. The hand labels were not reliable enough to serve as an
89
+ answer key: attention drifted toward one or two facets per passage, and rows
90
+ came out either under- or over-labeled relative to the definitions. Frontier
91
+ judgments applied the definitions more evenly, so they became the label
92
+ instrument. The consequence is stated plainly in every result: scores measure
93
+ agreement with that instrument, not with human ground truth.
94
+
95
+ ## Training data
96
+
97
+ | Lane | Rows | Origin |
98
+ |---|---:|---|
99
+ | Final training set | 59,886 | 54,803 generated, 5,083 from the operator's own project documentation |
100
+
101
+ Generated documents come from fictional organizations written as complete
102
+ documents (procedures, incident reports, decision records, design notes) and
103
+ then passed through the production parser. They were preferred over the
104
+ operator's real corpus for both training and evaluation because they cover many
105
+ more domains, document shapes, and organizational settings; the real corpus is
106
+ one person's projects and too narrow to generalize from.
107
+
108
+ Splits are by whole source family, never by row. The seven families reserved
109
+ for calibration and promotion were removed from training along with 3,875
110
+ predecessor training rows that shared them. Calibration and promotion families
111
+ are disjoint from each other and from training by family, document lineage,
112
+ exact passage identity, and lexical near-duplicate screening.
113
+
114
+ The final fit used weighted binary cross-entropy with a 2.0 multiplier on
115
+ mentions-only hard negatives, learning rate 2e-5, batch 4 with 8 accumulation
116
+ steps, four epochs, and an equal-weight average of the checkpoints from epochs
117
+ 2 through 4. Generated and real rows were weighted equally.
118
+
119
+ ## Evaluation data
120
+
121
+ | Panel | Rows | Families | Origin | Role |
122
+ |---|---:|---:|---|---|
123
+ | Calibration | 1,700 | 4 | generated | fit temperatures and threshold tables; no evaluation authority |
124
+ | Promotion | 1,300 | 3 | generated | one sealed read; the numbers reported below |
125
+
126
+ Promotion-panel support per facet, with mentions-only rows counted as
127
+ negatives. Prevalence equals the average precision a random ranker would score.
128
+
129
+ | Facet | Positive | Mentions only | Negative | Unresolved | Prevalence |
130
+ |---|---:|---:|---:|---:|---:|
131
+ | trap | 933 | 62 | 305 | 0 | 0.718 |
132
+ | decision | 598 | 398 | 303 | 1 | 0.460 |
133
+ | constraint | 1,187 | 32 | 81 | 0 | 0.913 |
134
+ | mechanism | 892 | 62 | 343 | 3 | 0.688 |
135
+ | procedure | 485 | 277 | 531 | 7 | 0.375 |
136
+
137
+ The macro random floor is 0.631. Constraint is near saturation at 0.913
138
+ prevalence, so its average precision carries little information and the macro
139
+ average leans on the other four facets. The panel was deliberately enriched for
140
+ hard decision and procedure rows; it is not a natural-traffic sample.
141
+
142
+ ## Evaluation protocol
143
+
144
+ The promotion plan was frozen on 2026-08-12 before the candidate was scored:
145
+ one read of the panel, bootstrap seed 20260812, 10,000 draws resampling whole
146
+ source families, 95% one-sided bounds, and zero permitted stamp flips between
147
+ the reference scorer and the production ONNX adapter. Pass criteria were
148
+ pre-registered on the decision facet under its frozen contract threshold:
149
+ precision at least 0.70 with a one-sided 95% lower bound at least 0.60, and
150
+ recall at least 0.50. Threshold tables were fitted on the calibration panel and
151
+ bound into the prediction receipt; nothing was tuned on the promotion panel.
152
+
153
+ Average precision and precision at fixed recall are the primary metrics because
154
+ they do not depend on a threshold. Brier score and 10-bin expected calibration
155
+ error report probability quality separately from ranking quality.
156
+
157
+ ## Results
158
+
159
+ Promotion panel, 1,300 rows, three families, single sealed read. "Previous"
160
+ is the classifier this model replaces.
161
+
162
+ | Facet | Prevalence | AP, this model | AP, previous | P@R90, this model | P@R90, previous | P@R95, this model | P@R95, previous |
163
+ |---|---:|---:|---:|---:|---:|---:|---:|
164
+ | trap | 0.718 | 0.9864 | 0.8931 | 0.960 | 0.832 | 0.935 | 0.784 |
165
+ | decision | 0.460 | 0.9135 | 0.6783 | 0.741 | 0.504 | 0.658 | 0.484 |
166
+ | constraint | 0.913 | 0.9986 | 0.9884 | 0.996 | 0.956 | 0.995 | 0.942 |
167
+ | mechanism | 0.688 | 0.9817 | 0.8865 | 0.926 | 0.777 | 0.891 | 0.736 |
168
+ | procedure | 0.375 | 0.9578 | 0.8167 | 0.886 | 0.528 | 0.822 | 0.489 |
169
+ | macro | 0.631 | 0.9676 | 0.8526 | 0.902 | 0.719 | 0.860 | 0.687 |
170
+
171
+ The macro gain is 0.1150. The same candidate gained 0.1200 on the separate
172
+ calibration panel, so the two panels agree within 0.005. The one-sided 95%
173
+ lower bound on the macro precision gain under the frozen contract thresholds is
174
+ 0.009; the decision-facet precision gain has a negative lower bound, because the
175
+ previous classifier's decision threshold was so strict that it predicted only 26
176
+ positives at 92% precision and 4% recall.
177
+
178
+ ![Per-facet precision-recall curves on the promotion panel for the promoted model, the previous classifier, and the linear baseline](figures/promotion_precision_recall.svg)
179
+
180
+ **Frozen-threshold operating points on the promotion panel.** The `contract`
181
+ table is the stricter view; the pre-registered gates apply to decision.
182
+
183
+ | Facet | Threshold | Precision | Recall | Predicted positive |
184
+ |---|---:|---:|---:|---:|
185
+ | trap | 0.976 | 0.995 | 0.636 | 596 |
186
+ | decision | 0.485 | 0.890 | 0.703 | 473 |
187
+ | constraint | 0.993 | 1.000 | 0.802 | 952 |
188
+ | mechanism | 0.900 | 0.992 | 0.655 | 591 |
189
+ | procedure | 0.578 | 0.946 | 0.715 | 371 |
190
+
191
+ The recall denominators in this table do not all match the support table above.
192
+ Where a facet has unresolved rows, the promoted model's recall is computed over a
193
+ slightly larger set: decision 599 against 598 positives, mechanism 895 against
194
+ 892, procedure 491 against 485. The previous classifier is scored over the
195
+ support counts, except procedure at 487. The gaps track the per-facet unresolved
196
+ rows, which the sealed read did not mask identically for the two models. The
197
+ effect is conservative for the promoted model — a larger denominator lowers its
198
+ recall — and no gate outcome changes.
199
+
200
+ Decision passed all three gates: precision 0.890 against a 0.70 floor, a
201
+ one-sided 95% lower bound of 0.872 against 0.60, and recall 0.703 against 0.50.
202
+ The operating point encodes a product judgment: surfacing a non-decision as a
203
+ decision is treated as worse than missing one. The `recall_leaning` table
204
+ (decision threshold 0.193) exists for consumers with the opposite preference.
205
+
206
+ **Calibration.** Per-facet temperatures fitted on the calibration panel were
207
+ 1.89 (trap), 2.40 (decision), 1.69 (constraint), 1.50 (mechanism), and 2.05
208
+ (procedure). On the promotion panel the calibrated posteriors score macro Brier
209
+ 0.072 and macro expected calibration error 0.039, against 0.349 and 0.374 for
210
+ the previous classifier.
211
+
212
+ ![Per-facet reliability diagrams of the promoted model's calibrated probabilities on the promotion panel](figures/promotion_reliability.svg)
213
+
214
+ Held-family slices are diagnostic only: macro average precision was 0.962,
215
+ 0.967, and 0.974 across the three families for this model and 0.851, 0.850, and
216
+ 0.859 for the previous one.
217
+
218
+ ## Baselines and comparisons
219
+
220
+ Ordered by how directly each comparison can be checked.
221
+
222
+ **Previous classifier.** A ModernBERT-base sequence-classification head used as
223
+ a zero-shot entailment judge: one pass per facet, five passes per passage. Its
224
+ staged bundle declares `ModernBertForSequenceClassification` over the two
225
+ labels `entailment` and `not_entailment`, 22 layers at hidden size 768, and a
226
+ 599,027,211-byte FP32 `model.onnx` — about 1.3 times the promoted artifact for
227
+ five times the work per passage. Its frozen thresholds were fitted on an older
228
+ population and artifact, which is why its contract recall collapsed to 0.001 on
229
+ trap and 0.040 on decision on this panel; the threshold-free columns above are
230
+ the fair comparison.
231
+
232
+ **Lexical baseline.** A word-level TF-IDF (1-2 grams, 200k features) with one
233
+ balanced logistic-regression head per facet, trained on the same 59,886 rows
234
+ and scored on the same 1,300-row panel under the same label rules.
235
+
236
+ | Facet | Floor | TF-IDF + LR | This model | Previous |
237
+ |---|---:|---:|---:|---:|
238
+ | trap | 0.718 | 0.970 | 0.986 | 0.893 |
239
+ | decision | 0.460 | 0.847 | 0.914 | 0.678 |
240
+ | constraint | 0.913 | 0.997 | 0.999 | 0.988 |
241
+ | mechanism | 0.688 | 0.963 | 0.982 | 0.886 |
242
+ | procedure | 0.375 | 0.914 | 0.958 | 0.817 |
243
+ | macro AP | 0.631 | 0.938 | 0.968 | 0.853 |
244
+ | macro P@R90 | | 0.834 | 0.902 | 0.719 |
245
+ | macro P@R95 | | 0.786 | 0.860 | 0.687 |
246
+
247
+ The linear model lands 0.029 macro average precision below this model and well
248
+ above the previous classifier. Much of the task is lexical on generated text.
249
+ The fine-tune earns its size at high recall on the hard facets: at 95% recall it
250
+ is 9 points more precise on decision and 17 points more precise on procedure
251
+ than the linear model, and those are the operating regions the memory system
252
+ runs in.
253
+
254
+ ![Average precision by facet on the promotion panel against the random floor](figures/promotion_average_precision.svg)
255
+
256
+ **Zero-shot frontier models.** A score-blind 300-row subsample of the promotion
257
+ panel, 100 rows per family, scored under one shared prompt, output schema, and
258
+ label set; each external model returned one confidence per facet. This sample
259
+ is not independent of the promotion read, and each external configuration was
260
+ run once, so run-to-run variance is not estimated. Subsample support: trap
261
+ 213/87, decision 137/163, constraint 271/29, mechanism 194/105 with one
262
+ unresolved, procedure 106/194 (positive/negative).
263
+
264
+ | Model | Setup | Macro AP | Decision AP | Procedure AP | Macro P@R90 |
265
+ |---|---|---:|---:|---:|---:|
266
+ | This model | supervised fine-tune | 0.9671 | 0.9140 | 0.9500 | 0.8872 |
267
+ | GPT-5.4 | zero-shot, high reasoning | 0.9242 | 0.7885 | 0.9177 | 0.8016 |
268
+ | GPT-5.5 | zero-shot, high reasoning | 0.9162 | 0.7691 | 0.9210 | 0.8064 |
269
+ | GPT-5.5 | zero-shot, low reasoning | 0.9082 | 0.7127 | 0.9209 | 0.7924 |
270
+ | GPT-5.4 | zero-shot, low reasoning | 0.8734 | 0.6985 | 0.8337 | 0.6705 |
271
+ | Previous classifier | prior local model | 0.8368 | 0.5992 | 0.8387 | 0.7007 |
272
+ | GPT-5.3-Codex-Spark | zero-shot, low reasoning | 0.8086 | 0.5387 | 0.7684 | 0.7156 |
273
+ | Nemotron 3 Ultra 550B-A55B | zero-shot, reasoning off | 0.7356 | 0.5474 | 0.7163 | 0.6144 |
274
+ | Gemma 4 26B-A4B IT | zero-shot, reasoning off | 0.7103 | 0.4970 | 0.6707 | 0.6144 |
275
+
276
+ Paired macro average-precision differences from this model, with family-grouped
277
+ 95% intervals: GPT-5.4 high −0.0428 [−0.0523, −0.0339]; GPT-5.5 high −0.0508
278
+ [−0.0548, −0.0366]; GPT-5.5 low −0.0588 [−0.0666, −0.0442]; GPT-5.4 low
279
+ −0.0937 [−0.1015, −0.0827]. Every interval excludes parity. Raising reasoning
280
+ effort improved GPT-5.4 by 0.0509 [0.0456, 0.0589] and GPT-5.5 by 0.0080
281
+ [0.0014, 0.0204]; it narrows the gap without closing it. Two unplanned repeats
282
+ of the Spark run spanned 0.8086 to 0.8496, a spread of 0.041 that nearly
283
+ matches the smallest GPT gap and exceeds every one of the four interval widths,
284
+ which is the reason single runs are flagged above.
285
+
286
+ The open-weight rows are kept for completeness but carry a scoring caveat:
287
+ their confidences were much coarser than the classifier's posteriors, and once
288
+ tied zero scores had to be admitted at high recall their P@R90 fell to the
289
+ sample's macro prevalence. Their deltas (−0.23 and −0.26) are partly an artifact
290
+ of that coarseness.
291
+
292
+ This comparison shows task specialization, not general capability. The
293
+ classifier was trained on roughly 60,000 examples of how the label instrument
294
+ applies the definitions; the external models saw the definitions once. Where a
295
+ frontier model and this classifier disagree on a row, the panel cannot say which
296
+ is right.
297
+
298
+ ## How the recipe was chosen
299
+
300
+ Selection ran on generated development panels held out by whole document
301
+ family; none of them carried promotion authority. Numbers are macro average
302
+ precision unless stated.
303
+
304
+ 1. **Data first.** On a 1,000-row eight-family development panel (858 fully
305
+ resolved rows, random floor 0.654) with the larger GLiClass backbone, training
306
+ on the predecessor's data alone scored 0.929 and adding more of the operator's
307
+ real documents scored 0.929; adding twelve generated document families scored
308
+ 0.968. Two loss-side branches on top of that baseline were rejected: a data
309
+ curriculum tied it (+0.0005, interval spanning zero) with worse calibration,
310
+ and a robust-loss variant lost (−0.0018, interval entirely below zero).
311
+ 2. **Targeted reserve.** Appending the independently reviewed generated reserve
312
+ added +0.0025 [+0.0009, +0.0039].
313
+ 3. **Context window.** Widening the input from 416 to 768 tokens added +0.0048
314
+ [+0.0028, +0.0068] on development and +0.0033 [+0.0011, +0.0065] on a
315
+ separate held-out set. A counterfactual-projector branch on minimal pairs
316
+ changed nothing (+0.0001) and was dropped.
317
+ 4. **Backbone size.** With the full data and a matched recipe on a 5,298-row
318
+ eight-family panel, the larger backbone beat the base by 0.0042 average
319
+ precision and 0.0152 at 90% recall [+0.0015, +0.0451], but cost 2.6 times
320
+ the artifact bytes, 2.4 times the training time, and 1.7 times peak GPU
321
+ memory, while the base scored 1.8 times as many rows per second. The base was
322
+ selected as the product architecture.
323
+ 5. **Backbone variant and window.** On the standard GLiClass Base v3
324
+ (DeBERTa-v3) backbone, 768 tokens scored 0.928 against 0.914 at 512, with
325
+ procedure moving from 0.765 to 0.821. The backbone declares a 512-position
326
+ limit; the 768-token contract is a measured improvement, retained because
327
+ every trial confirmed it.
328
+ 6. **Final fit.** The frozen recipe was trained once on all 59,886 rows,
329
+ calibrated, compressed, and read once on the promotion panel.
330
+
331
+ What did not help, in one place: more real documents without generated
332
+ diversity, the data curriculum, the robust loss, the counterfactual projector,
333
+ and the larger backbone at its cost. Better and more diverse examples, boundary
334
+ cases, and a wider context did the work.
335
+
336
+ ## Runtime
337
+
338
+ The shipped artifact is the INT8 bundle. Quantization was qualified as a compression step, not
339
+ a retrain: the FP32 export and the INT8 export were scored on the same 5,298-row eight-family
340
+ panel and compared directly.
341
+
342
+ | Item | Value |
343
+ |---|---|
344
+ | FP32 export | 747,319,179 bytes |
345
+ | INT8 export | 452,812,018 bytes, 39.4% smaller |
346
+ | Quantization | signed INT8 weights, per-channel off, reduce-range off, one operator type; 24 constant-identity nodes folded |
347
+ | Toolchain | onnx 1.21.0, onnxruntime 1.24.4, opset 17 |
348
+ | Macro average-precision change, INT8 minus FP32 | +0.000119, family-grouped 95% interval [-0.000038, +0.000187] |
349
+ | Posterior absolute error, INT8 against FP32 | mean 0.00088, p95 0.00483, maximum 0.0516 |
350
+ | Production adapter against the reference scorer | maximum posterior delta 9.06e-6 against an allowed 1e-4; zero stamp flips under both threshold tables across 1,300 rows |
351
+ | Local CPU scoring rate | 3.74 passages per second at batch 16 over 5,298 rows, peak resident set 4.18 GB |
352
+
353
+ The compression interval spans zero, so INT8 is not measurably worse than FP32 on that panel.
354
+ That read is a diagnostic: it carries no promotion authority and set no thresholds.
355
+
356
+ The scoring rate above comes from the run that produced the compression score receipt
357
+ `5505e117…`, on this artifact, through the production CPU path, as an aggregate over a whole
358
+ panel.
359
+
360
+ Provider qualification (2026-09-06, ONNX Runtime 1.24.4, one NVIDIA RTX 3060 Ti with 8 GB)
361
+ ran the same graph through the production adapter on three execution providers, with CUDA's
362
+ TensorFloat-32 disabled (enabled, posteriors drifted 7.5e-4 from the CPU reference). Every
363
+ matrix product stays on the accelerator; the only CPU-resident work under CUDA or DirectML
364
+ is shape bookkeeping and the rank-0 scalars of the attention scale.
365
+
366
+ | Provider | Posterior delta vs CPU (418 passages) | Stamp flips | Single passage p50 | Batched rate |
367
+ |---|---|---|---|---|
368
+ | CPU | reference | 0 | 331 ms | 1.5 passages/s |
369
+ | CUDA | 2e-6 | 0 | 19 ms | 56 passages/s |
370
+ | DirectML | 3e-6 | 0 | 74 ms | 33 passages/s |
371
+
372
+ Batched rates use eight-row batches planned against the device's free memory: throughput is
373
+ flat beyond four rows on both accelerators, and larger batches at the 768-token ceiling exceed
374
+ 8 GB and page silently on Windows. Device memory per row at 768 tokens is about 208 MiB on
375
+ CUDA and 277 MiB on DirectML above a resident session of 657 MiB and 481 MiB respectively.
376
+
377
+ ## Evidence status
378
+
379
+ | Evidence | Status |
380
+ |---|---|
381
+ | Promotion results, gates, and calibration | as recorded from the sealed 2026-08-12 read |
382
+ | Artifact identity, size, and quantization settings | verified 2026-09-04 against the quantization receipt |
383
+ | Compression equivalence | as recorded; diagnostic authority only |
384
+ | Production-adapter parity | as recorded from the promotion read |
385
+ | Linear baseline | re-run 2026-09-04 from the recorded inputs; byte-identical |
386
+ | Figures | regenerated 2026-09-04 from the recorded inputs; byte-identical |
387
+ | Previous-classifier identity | verified 2026-09-04 against the staged bundle's own config |
388
+ | Frontier-model comparisons | as recorded; single runs on a subsample that is not independent of the promotion read |
389
+ | Serving throughput | 3.74 passages per second, as recorded from the scoring run bound to the compression score receipt |
390
+ | Per-passage latency percentiles | not measured |
391
+
392
+ ## Limitations, ranked
393
+
394
+ 1. **Labels are model judgments.** All scores measure agreement with a frozen
395
+ frontier-model instrument. There is no human-adjudicated answer key, by the
396
+ operator's explicit decision after the hand-labeling trial described above.
397
+ Resolving evidence would be a human-adjudicated sample; none is planned.
398
+ 2. **Panels are generated text.** Absolute performance on unrelated real
399
+ documents is unmeasured for this artifact. Resolving evidence would be a
400
+ multi-domain real-document panel labeled under the same protocol.
401
+ 3. **Three families in the promotion panel.** The reported intervals capture
402
+ sampling noise within three similar generated families, not variation across
403
+ domains. More families would widen and honest-size the intervals.
404
+ 4. **No seed replicate.** Every winner was trained once. Hardware and compute
405
+ budget, not design, set that limit; the smallest selection margins above
406
+ (0.0042 between backbones, 0.0005 for the curriculum) are within a plausible
407
+ seed effect.
408
+ 5. **Lexical headroom is thin.** A linear model sits 0.029 macro average
409
+ precision below this model. The advantage is real but lives at high recall
410
+ on decision and procedure, and should be read that way.
411
+ 6. **Frontier comparisons are single runs** on a non-independent subsample with
412
+ coarse external confidences.
413
+ 7. **Decision stays the hardest facet.** 398 of the 1,300 promotion rows mention
414
+ a decision without making one; that boundary is where the remaining error
415
+ concentrates.
416
+ 8. **Serving cost is measured on one machine.** The provider table in the runtime
417
+ section comes from a single 8 GB NVIDIA card and a four-core CPU budget; other
418
+ hosts will land elsewhere, and cold-start cost is not separated from warm batches.
419
+ 9. **Not yet the shipped default.** The artifact is promotion-qualified; the
420
+ activation, restamp, and rollback steps are separate operations.
421
+
422
+ ## Reproducibility
423
+
424
+ - Base model: `knowledgator/gliclass-base-v3.0`, revision pinned in
425
+ `gliclass_final_fit_campaign.json`.
426
+ - Training rows: 59,886; manifest and lane digests in
427
+ `gliclass_final_fit_campaign.json` and `history/gliclass_std_base_v3_5facet_promotion_results.json`.
428
+ - Promotion protocol: `gliclass_std_base_v3_5facet_promotion.json` (frozen
429
+ 2026-08-12, seed 20260812, 10,000 family-cluster draws). Three digests in the
430
+ results record do not reproduce from anything published or retained.
431
+ `promotion_plan_sha256` describes the private sealed plan, not this tracked
432
+ public-safe copy. `panel_sha256` and `predictions_sha256` were transcribed
433
+ faithfully from the sealed promotion report, but the private panel and
434
+ predictions files that survive today hash to different values, so the exact
435
+ bytes the sealed read scored are gone. The results themselves are the record.
436
+ - Calibration and thresholds: `gliclass_std_base_v3_5facet_calibration.json`,
437
+ `gliclass_std_base_v3_5facet_thresholds.json`; fitted values in the promotion
438
+ results record.
439
+ - Artifact: `model.onnx` SHA-256
440
+ `690e50920e7780db5ecd14e4b209f0d3c86199214063e8bb59d399c93861324c`,
441
+ 452,812,018 bytes; candidate manifest
442
+ `ed8c1f8febe961624a698c97a3035e8ca5caa582718fd5a8f93f962c8106b942`.
443
+ - Baselines: `history/linear_baseline_results.json`, reproduced byte-identical
444
+ from the promoted training rows and the frozen evaluation lane with
445
+ `python -m classifier.scripts.qualification.linear_baseline --train
446
+ <private>/classifier/campaigns/gliclass_standard_base_v3_final_fit_v2_training/train.jsonl
447
+ --panel <private>/source_allocations/classifier_final_repartition_v1/lanes/classifier-evaluation.jsonl`.
448
+ The external-model protocols and results sit under `history/`. Those
449
+ comparison plans pin the SHA-256 of the four scripts that produced them, and
450
+ two of the four — `eval/scripts/decision_grade_runner.py` and
451
+ `eval/scripts/isolated_codex.py` — have changed since. The plans therefore no
452
+ longer load and are sealed records of what was run, not re-runnable commands.
453
+ - Figures: all three regenerate byte-identical with
454
+ `python eval/classifier/scripts/qualification/figures.py` against the promotion
455
+ run's private `predictions.json`, `panel.json`, and `linear-baseline-scores.json`.
456
+ - Entry point: `python -m classifier.scripts.promotion.evaluation`, which
457
+ reproduces the plan's live bindings and verifies each against its recorded
458
+ digest.
459
+
460
+ ## License and attribution
461
+
462
+ This derivative is published under the Apache License, Version 2.0, following the
463
+ upstream model. It is a modified derivative of
464
+ [`knowledgator/gliclass-base-v3.0`](https://huggingface.co/knowledgator/gliclass-base-v3.0)
465
+ (Apache-2.0, revision `77a70e6cd52e602ed18184ef37d18bdd3741e3d5`), which builds on
466
+ [`microsoft/deberta-v3-base`](https://huggingface.co/microsoft/deberta-v3-base) (MIT).
467
+ Neither upstream author endorses this derivative. The changes — a supervised five-facet
468
+ fine-tune, an ONNX export, INT8 quantization of the token-embedding table, and per-facet
469
+ calibration — are listed in the `NOTICE` file that accompanies this model.
classifier-metadata.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "gliclass-single-pass",
3
+ "classifier_version": "gliclass-std-base-v3-daecore-5facet-qint8-v2",
4
+ "facet_order": [
5
+ "trap",
6
+ "decision",
7
+ "constraint",
8
+ "mechanism",
9
+ "procedure"
10
+ ],
11
+ "files": {
12
+ "config.json": {
13
+ "sha256": "9bad60c87ac3e047bc838ca7e6897a6fe265180eeffce4e62aabc1e9c828d606",
14
+ "size": 2118
15
+ },
16
+ "model.onnx": {
17
+ "sha256": "690e50920e7780db5ecd14e4b209f0d3c86199214063e8bb59d399c93861324c",
18
+ "size": 452812018
19
+ },
20
+ "tokenizer.json": {
21
+ "sha256": "519648948c4c59da1af88f2cf2c8b4f84417b5c673981bc9809abf84cda1b7cc",
22
+ "size": 8649234
23
+ },
24
+ "tokenizer_config.json": {
25
+ "sha256": "9d5220b355d2cb9a7df69deccca45509ce1c9a857990fb1047c48403b0f6ddfb",
26
+ "size": 1692
27
+ }
28
+ },
29
+ "preprocessing": {
30
+ "label_prompts": {
31
+ "constraint": "This text states a rule, policy, convention, invariant, or factual condition that materially restricts action.",
32
+ "decision": "This text records a decision or commitment that chooses one option over alternatives.",
33
+ "mechanism": "This text explains how a system, process, component, or structure is organized, connected, or works.",
34
+ "procedure": "This text gives sequenced actions or steps for carrying out a task or operation.",
35
+ "trap": "This text warns about a specific mistake, hazard, pitfall, or failure mode."
36
+ },
37
+ "label_token": "<<LABEL>>",
38
+ "max_length": 768,
39
+ "prompt_first": true,
40
+ "schema": "daecore.gliclass-preprocessing.v1",
41
+ "separator_token": "<<SEP>>"
42
+ },
43
+ "probability_calibration": {
44
+ "method": "per-facet-temperature-scaling",
45
+ "probability_clip": 1e-06,
46
+ "temperatures": {
47
+ "constraint": 1.6869790276494951,
48
+ "decision": 2.4036524709979896,
49
+ "mechanism": 1.501092485229896,
50
+ "procedure": 2.0450110042733725,
51
+ "trap": 1.8898163065802225
52
+ }
53
+ },
54
+ "schema_version": 3,
55
+ "source_candidate_sha256": "ed8c1f8febe961624a698c97a3035e8ca5caa582718fd5a8f93f962c8106b942",
56
+ "threshold_tables": {
57
+ "contract": {
58
+ "values": {
59
+ "constraint": 0.9928175,
60
+ "decision": 0.48485,
61
+ "mechanism": 0.8998575,
62
+ "procedure": 0.5776285,
63
+ "trap": 0.9759885
64
+ },
65
+ "version": "gliclass-std-base-v3-daecore-5facet-qint8-v2-contract"
66
+ },
67
+ "recall_leaning": {
68
+ "values": {
69
+ "constraint": 0.9059865,
70
+ "decision": 0.192514,
71
+ "mechanism": 0.5053545,
72
+ "procedure": 0.201766,
73
+ "trap": 0.715311
74
+ },
75
+ "version": "gliclass-std-base-v3-daecore-5facet-qint8-v2-recall"
76
+ }
77
+ }
78
+ }
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture_type": "uni-encoder",
3
+ "architectures": [
4
+ "GLiClassModel"
5
+ ],
6
+ "class_token_index": 128001,
7
+ "class_token_pooling": "first",
8
+ "contrastive_loss_coef": 0.0,
9
+ "cross_encoder_config": null,
10
+ "dropout": 0.1,
11
+ "dtype": "float32",
12
+ "embed_class_token": true,
13
+ "encoder_config": {
14
+ "_attn_implementation_autoset": false,
15
+ "_name_or_path": "microsoft/deberta-v3-base",
16
+ "attention_probs_dropout_prob": 0.1,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "layer_norm_eps": 1e-07,
23
+ "legacy": true,
24
+ "max_position_embeddings": 512,
25
+ "max_relative_positions": -1,
26
+ "model_type": "deberta-v2",
27
+ "norm_rel_ebd": "layer_norm",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pooler_dropout": 0,
31
+ "pooler_hidden_act": "gelu",
32
+ "pooler_hidden_size": 768,
33
+ "pos_att_type": [
34
+ "p2c",
35
+ "c2p"
36
+ ],
37
+ "position_biased_input": false,
38
+ "position_buckets": 256,
39
+ "relative_attention": true,
40
+ "share_att_key": true,
41
+ "type_vocab_size": 0,
42
+ "vocab_size": 128003
43
+ },
44
+ "encoder_layer_id": -1,
45
+ "encoder_model_name": "microsoft/deberta-v3-base",
46
+ "example_token_index": 128005,
47
+ "extract_text_features": false,
48
+ "focal_loss_alpha": -1,
49
+ "focal_loss_gamma": -1,
50
+ "focal_loss_reduction": "none",
51
+ "hidden_size": 768,
52
+ "ignore_index": -100,
53
+ "initializer_range": 0.03,
54
+ "label_model_config": null,
55
+ "label_model_name": null,
56
+ "layer_wise": false,
57
+ "logit_scale_init_value": 2.6592,
58
+ "max_labels_alloc": "dynamic",
59
+ "max_num_classes": 25,
60
+ "model_type": "GLiClass",
61
+ "normalize_features": false,
62
+ "pooling_strategy": "first",
63
+ "problem_type": "multi_label_classification",
64
+ "projector_hidden_act": "gelu",
65
+ "prompt_first": true,
66
+ "scorer_attn_dropout": 0.1,
67
+ "scorer_mlp_hidden_size": 1024,
68
+ "scorer_num_heads": 16,
69
+ "scorer_type": "mlp",
70
+ "squeeze_layers": false,
71
+ "text_token_index": 128002,
72
+ "transformers_version": "4.57.6",
73
+ "use_lstm": false,
74
+ "use_segment_embeddings": false,
75
+ "vocab_size": 128003
76
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:690e50920e7780db5ecd14e4b209f0d3c86199214063e8bb59d399c93861324c
3
+ size 452812018
publication-manifest.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "daecore.classifier-publication-manifest",
3
+ "staged_at": "2026-09-06T22:38:02+00:00",
4
+ "public_repo": "Daecore/gliclass-std-base-v3-5facet-qint8-v2",
5
+ "classifier_version": "gliclass-std-base-v3-daecore-5facet-qint8-v2",
6
+ "upstream": {
7
+ "model_id": "knowledgator/gliclass-base-v3.0",
8
+ "revision": "77a70e6cd52e602ed18184ef37d18bdd3741e3d5"
9
+ },
10
+ "files": {
11
+ "model.onnx": {
12
+ "sha256": "690e50920e7780db5ecd14e4b209f0d3c86199214063e8bb59d399c93861324c",
13
+ "size": 452812018,
14
+ "binding": "candidate manifest (file hash)"
15
+ },
16
+ "tokenizer.json": {
17
+ "sha256": "519648948c4c59da1af88f2cf2c8b4f84417b5c673981bc9809abf84cda1b7cc",
18
+ "size": 8649234,
19
+ "binding": "candidate manifest (file hash)"
20
+ },
21
+ "config.json": {
22
+ "sha256": "9bad60c87ac3e047bc838ca7e6897a6fe265180eeffce4e62aabc1e9c828d606",
23
+ "size": 2118,
24
+ "binding": "candidate manifest (file hash)"
25
+ },
26
+ "tokenizer_config.json": {
27
+ "sha256": "9d5220b355d2cb9a7df69deccca45509ce1c9a857990fb1047c48403b0f6ddfb",
28
+ "size": 1692,
29
+ "binding": "candidate manifest (file hash)"
30
+ },
31
+ "classifier-metadata.json": {
32
+ "sha256": "00d8c3b36be47f96ddd113bd6ddbf525c3599de27064c68ef7a1aacf4c0408e5",
33
+ "size": 2596,
34
+ "canonical_sha256": "1918aa0c392e6582a7028a4a2482166714080958602f6234f145dd294fb01996",
35
+ "binding": "nominee receipt runtime_metadata_sha256 (canonical JSON hash)"
36
+ },
37
+ "README.md": {
38
+ "sha256": "e7dc7ef045a4daa57f85e2213da0fe7273322737417bd16147afe8adfc73b01b",
39
+ "size": 26973,
40
+ "binding": "packaging record"
41
+ },
42
+ "LICENSE": {
43
+ "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
44
+ "size": 11357,
45
+ "binding": "packaging record"
46
+ },
47
+ "NOTICE": {
48
+ "sha256": "71c772c9388cdbdf68ca17f9e2f7f85f1ed7c210a326885a5bd64ed06bb44b3c",
49
+ "size": 822,
50
+ "binding": "packaging record"
51
+ }
52
+ }
53
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[CLS]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[SEP]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[UNK]",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "128000": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "128001": {
45
+ "content": "<<LABEL>>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": false
51
+ },
52
+ "128002": {
53
+ "content": "<<SEP>>",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": false
59
+ }
60
+ },
61
+ "bos_token": "[CLS]",
62
+ "clean_up_tokenization_spaces": true,
63
+ "cls_token": "[CLS]",
64
+ "do_lower_case": false,
65
+ "eos_token": "[SEP]",
66
+ "extra_special_tokens": {},
67
+ "mask_token": "[MASK]",
68
+ "model_max_length": 1000000000000000019884624838656,
69
+ "pad_token": "[PAD]",
70
+ "sep_token": "[SEP]",
71
+ "sp_model_kwargs": {},
72
+ "split_by_punct": false,
73
+ "tokenizer_class": "DebertaV2Tokenizer",
74
+ "unk_token": "[UNK]",
75
+ "vocab_type": "spm"
76
+ }