JoseCarlosGarcia95 commited on
Commit
62a73ef
·
verified ·
1 Parent(s): 2d8b5b4

Publish Privacy Filter Mini checkpoint 4000

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
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,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Valendra Privacy Filter
2
+
3
+ This project uses Qwen/Qwen3-0.6B-Base, distributed by the Qwen team under
4
+ the Apache License 2.0: https://huggingface.co/Qwen/Qwen3-0.6B-Base
5
+
6
+ Prepared datasets may contain or be derived from:
7
+
8
+ - OpenPII 1M, by Ai4Privacy / Ai Suisse SA, licensed CC BY 4.0:
9
+ https://huggingface.co/datasets/ai4privacy/pii-masking-openpii-1m
10
+ - Nemotron-PII, by NVIDIA Corporation, licensed CC BY 4.0:
11
+ https://huggingface.co/datasets/nvidia/Nemotron-PII
12
+
13
+ Dataset licenses and attribution requirements apply independently of this
14
+ project's Apache 2.0 code license. See the README for source revisions and
15
+ additional provenance.
README.md CHANGED
@@ -1,3 +1,105 @@
1
  ---
 
 
 
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ - es
5
  license: apache-2.0
6
+ library_name: transformers
7
+ pipeline_tag: token-classification
8
+ base_model: Qwen/Qwen3-0.6B-Base
9
+ datasets:
10
+ - ai4privacy/pii-masking-openpii-1m
11
+ - nvidia/Nemotron-PII
12
+ tags:
13
+ - pii
14
+ - privacy
15
+ - named-entity-recognition
16
+ - safetensors
17
  ---
18
+
19
+ # Valendra Privacy Filter Mini
20
+
21
+ An **experimental**, locally runnable token-classification model for finding potentially sensitive spans in English and Spanish text. This is a full fine-tune of the [Qwen3-0.6B-Base](https://huggingface.co/Qwen/Qwen3-0.6B-Base) backbone with a 41-label BIOES classification head; it is not a text-generation model.
22
+
23
+ This release contains the validation-selected **step-4,000 checkpoint** from an early mixed-data fine-tuning phase. It is a research snapshot, not a validated production privacy or anonymization system. The Safetensors checkpoint contains FP32 weights, approximately 2.38 GB on disk; it is not quantized.
24
+
25
+ ## Labels
26
+
27
+ The output vocabulary consists of `O` and the `B-`, `I-`, `E-`, and `S-` variants of ten categories:
28
+
29
+ `PERSON`, `EMAIL`, `PHONE`, `ADDRESS`, `GOVERNMENT_ID`, `FINANCIAL_ID`, `SECRET`, `IP_ADDRESS`, `DATE_OF_BIRTH`, and `URL`.
30
+
31
+ Character offsets and complete entities must be reconstructed from token outputs. Generic dates were not automatically treated as birth dates. The model may split one sensitive value into adjacent fragments with different types, including a secret split into `PERSON` and `SECRET` fragments.
32
+
33
+ ## Source code
34
+
35
+ The training, inference and comparison pipeline is maintained at [valendra-tech/valendra-privacy-filter](https://github.com/valendra-tech/valendra-privacy-filter) under the Apache License 2.0. The evaluation reported below used the original constrained decoder at [commit `a855583`](https://github.com/valendra-tech/valendra-privacy-filter/tree/a8555839c8aee1a57b34122a89350d15711518c2). The checkpoint itself loads with the standard Transformers implementation, without custom remote code.
36
+
37
+ ## Loading with Transformers
38
+
39
+ The checkpoint loads with the standard `Qwen3ForTokenClassification` implementation and does not require `trust_remote_code`. The tested version is Transformers 4.55.4 with PyTorch 2.8.0.
40
+
41
+ ```python
42
+ import torch
43
+ from transformers import AutoModelForTokenClassification, AutoTokenizer
44
+
45
+ model_id = "valendra/privacy-filter-mini"
46
+ tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
47
+ model = AutoModelForTokenClassification.from_pretrained(
48
+ model_id, use_safetensors=True, trust_remote_code=False
49
+ ).eval()
50
+
51
+ text = "Contact me at demo@example.org."
52
+ inputs = tokenizer(
53
+ text, return_tensors="pt", return_offsets_mapping=True,
54
+ add_special_tokens=False, truncation=False,
55
+ )
56
+ offsets = inputs.pop("offset_mapping")[0].tolist()
57
+ if inputs["input_ids"].shape[1] > 512:
58
+ raise ValueError("Use overlapping windows for texts longer than 512 tokens")
59
+
60
+ with torch.inference_mode():
61
+ logits = model(**inputs).logits[0]
62
+
63
+ tags = logits.argmax(dim=-1).tolist()
64
+ print([(model.config.id2label[tag], start, end)
65
+ for tag, (start, end) in zip(tags, offsets)])
66
+ ```
67
+
68
+ This minimal example returns **per-token argmax tags**, not a redaction pipeline. Independent argmax can produce invalid BIOES sequences and does not reproduce the evaluation below. The evaluated implementation used constrained Viterbi decoding, original Unicode character offsets, and 512-token windows with a 64-token overlap. Longer texts require careful windowing and offset reconciliation; do not silently truncate sensitive input. Token and span scores are not calibrated probabilities.
69
+
70
+ ## Training and provenance
71
+
72
+ - Base: `Qwen/Qwen3-0.6B-Base`, revision `da87bfb608c14b7cf20ba1ce41287e8de496c0cd`; causal attention; the full backbone and classification head were trainable.
73
+ - Data: 268,298 mixed training documents from OpenPII, NVIDIA Nemotron-PII and project-generated synthetic data; Spanish training windows were repeated four times per epoch.
74
+ - The mixed-data phase initialized both backbone and classifier weights from a prior step-13,500 checkpoint, with a new AdamW optimizer and learning-rate schedule. Training used BF16 autocast with FP32 master parameters and optimizer states.
75
+ - Released weights: step 4,000 of the mixed-data phase; Safetensors SHA-256 `130ea7b3a1de096aa5a1c32500d82a8157546c83607d5f71e361df0710fb9d7b`.
76
+ - Mixed dataset manifest SHA-256: `9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18`.
77
+
78
+ The inference artifact contains only model and tokenizer files; the training datasets, optimizer state and other checkpoints are not included. The repository also contains license, attribution and aggregate evaluation files.
79
+
80
+ ## Evaluation
81
+
82
+ The following results use complete synthetic reserved splits and the original constrained decoder, before the adjacent-secret issue noted above is addressed. All models processed the same documents sequentially on an RTX 4090. Valendra and GLiNER used BF16; OpenAI used its native BF16/FP32 parameters. `Untyped F1` requires exact character-span boundaries without requiring a matching category. `Typed-common F1` additionally requires the correct category among PERSON, EMAIL, PHONE, ADDRESS, URL and SECRET. Model label policies and GLiNER prompts differ.
83
+
84
+ | Split | Documents | Model | Untyped precision | Untyped recall | Untyped F1 | Typed-common F1 |
85
+ | --- | ---: | --- | ---: | ---: | ---: | ---: |
86
+ | Test | 22,262 | Valendra, step 4,000 | 0.805 | 0.905 | 0.852 | 0.801 |
87
+ | Test | 22,262 | OpenAI Privacy Filter | 0.813 | 0.656 | 0.727 | 0.605 |
88
+ | Test | 22,262 | NVIDIA GLiNER-PII | 0.504 | 0.573 | 0.536 | 0.369 |
89
+ | Challenge | 14,461 | Valendra, step 4,000 | 0.575 | 0.672 | 0.620 | 0.564 |
90
+ | Challenge | 14,461 | OpenAI Privacy Filter | 0.728 | 0.678 | 0.702 | 0.587 |
91
+ | Challenge | 14,461 | NVIDIA GLiNER-PII | 0.386 | 0.364 | 0.374 | 0.246 |
92
+
93
+ The checkpoint was selected using validation, and both test splits are synthetic. Each split contains only two clean negative documents, so these results do not provide a reliable negative-document false-positive rate. Template, exact-text and selected-identifier overlap checks are heuristic and cannot prove complete independence. Both Valendra and GLiNER were trained on Nemotron-derived data. These results should not be interpreted as a real-world ranking or a guarantee of anonymization.
94
+
95
+ On the test split, Valendra exactly matched 2,500 of 5,000 annotated URLs. On the challenge split, it had no exact-boundary matches for 1,982 address annotations or 2,478 IP address annotations; partial or expanded detections also count as failures under this metric. Separately sourced, independently annotated data and more negative examples are needed to assess deployment suitability.
96
+
97
+ The aggregate-only [test report](evaluation/test.json) and [challenge report](evaluation/challenge.json) include model revisions, configuration, counts, language breakdowns and runtime measurements. They contain no input texts or predicted values.
98
+
99
+ ## Attribution and licenses
100
+
101
+ - Model and code license: [Apache License 2.0](LICENSE). The base model is distributed by the Qwen team under Apache 2.0.
102
+ - [OpenPII 1M](https://huggingface.co/datasets/ai4privacy/pii-masking-openpii-1m), Ai4Privacy / Ai Suisse SA, CC BY 4.0; revision `ecfdc547f4a0955600cfe6ab98ba2a162207fcc0`.
103
+ - [Nemotron-PII](https://huggingface.co/datasets/nvidia/Nemotron-PII), NVIDIA Corporation, CC BY 4.0; revision `b70ffaf5ff39e079776134c5bf4381f00a9fd1ed`.
104
+
105
+ Dataset licenses and attribution requirements are separate from the model license. See [NOTICE](NOTICE).
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForTokenClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PERSON",
15
+ "2": "I-PERSON",
16
+ "3": "E-PERSON",
17
+ "4": "S-PERSON",
18
+ "5": "B-EMAIL",
19
+ "6": "I-EMAIL",
20
+ "7": "E-EMAIL",
21
+ "8": "S-EMAIL",
22
+ "9": "B-PHONE",
23
+ "10": "I-PHONE",
24
+ "11": "E-PHONE",
25
+ "12": "S-PHONE",
26
+ "13": "B-ADDRESS",
27
+ "14": "I-ADDRESS",
28
+ "15": "E-ADDRESS",
29
+ "16": "S-ADDRESS",
30
+ "17": "B-GOVERNMENT_ID",
31
+ "18": "I-GOVERNMENT_ID",
32
+ "19": "E-GOVERNMENT_ID",
33
+ "20": "S-GOVERNMENT_ID",
34
+ "21": "B-FINANCIAL_ID",
35
+ "22": "I-FINANCIAL_ID",
36
+ "23": "E-FINANCIAL_ID",
37
+ "24": "S-FINANCIAL_ID",
38
+ "25": "B-SECRET",
39
+ "26": "I-SECRET",
40
+ "27": "E-SECRET",
41
+ "28": "S-SECRET",
42
+ "29": "B-IP_ADDRESS",
43
+ "30": "I-IP_ADDRESS",
44
+ "31": "E-IP_ADDRESS",
45
+ "32": "S-IP_ADDRESS",
46
+ "33": "B-DATE_OF_BIRTH",
47
+ "34": "I-DATE_OF_BIRTH",
48
+ "35": "E-DATE_OF_BIRTH",
49
+ "36": "S-DATE_OF_BIRTH",
50
+ "37": "B-URL",
51
+ "38": "I-URL",
52
+ "39": "E-URL",
53
+ "40": "S-URL"
54
+ },
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 3072,
57
+ "label2id": {
58
+ "B-ADDRESS": 13,
59
+ "B-DATE_OF_BIRTH": 33,
60
+ "B-EMAIL": 5,
61
+ "B-FINANCIAL_ID": 21,
62
+ "B-GOVERNMENT_ID": 17,
63
+ "B-IP_ADDRESS": 29,
64
+ "B-PERSON": 1,
65
+ "B-PHONE": 9,
66
+ "B-SECRET": 25,
67
+ "B-URL": 37,
68
+ "E-ADDRESS": 15,
69
+ "E-DATE_OF_BIRTH": 35,
70
+ "E-EMAIL": 7,
71
+ "E-FINANCIAL_ID": 23,
72
+ "E-GOVERNMENT_ID": 19,
73
+ "E-IP_ADDRESS": 31,
74
+ "E-PERSON": 3,
75
+ "E-PHONE": 11,
76
+ "E-SECRET": 27,
77
+ "E-URL": 39,
78
+ "I-ADDRESS": 14,
79
+ "I-DATE_OF_BIRTH": 34,
80
+ "I-EMAIL": 6,
81
+ "I-FINANCIAL_ID": 22,
82
+ "I-GOVERNMENT_ID": 18,
83
+ "I-IP_ADDRESS": 30,
84
+ "I-PERSON": 2,
85
+ "I-PHONE": 10,
86
+ "I-SECRET": 26,
87
+ "I-URL": 38,
88
+ "O": 0,
89
+ "S-ADDRESS": 16,
90
+ "S-DATE_OF_BIRTH": 36,
91
+ "S-EMAIL": 8,
92
+ "S-FINANCIAL_ID": 24,
93
+ "S-GOVERNMENT_ID": 20,
94
+ "S-IP_ADDRESS": 32,
95
+ "S-PERSON": 4,
96
+ "S-PHONE": 12,
97
+ "S-SECRET": 28,
98
+ "S-URL": 40
99
+ },
100
+ "layer_types": [
101
+ "full_attention",
102
+ "full_attention",
103
+ "full_attention",
104
+ "full_attention",
105
+ "full_attention",
106
+ "full_attention",
107
+ "full_attention",
108
+ "full_attention",
109
+ "full_attention",
110
+ "full_attention",
111
+ "full_attention",
112
+ "full_attention",
113
+ "full_attention",
114
+ "full_attention",
115
+ "full_attention",
116
+ "full_attention",
117
+ "full_attention",
118
+ "full_attention",
119
+ "full_attention",
120
+ "full_attention",
121
+ "full_attention",
122
+ "full_attention",
123
+ "full_attention",
124
+ "full_attention",
125
+ "full_attention",
126
+ "full_attention",
127
+ "full_attention",
128
+ "full_attention"
129
+ ],
130
+ "max_position_embeddings": 32768,
131
+ "max_window_layers": 28,
132
+ "model_type": "qwen3",
133
+ "num_attention_heads": 16,
134
+ "num_hidden_layers": 28,
135
+ "num_key_value_heads": 8,
136
+ "privacy_attention_mode": "causal",
137
+ "privacy_initialization_weights_sha256": "1f989d08382dce6598f94a307ba6a8ec23fb1f0b103bf55408b1b1d4c4fddc64",
138
+ "privacy_minimum_stopping_epoch": 1.0,
139
+ "rms_norm_eps": 1e-06,
140
+ "rope_scaling": null,
141
+ "rope_theta": 1000000,
142
+ "sliding_window": null,
143
+ "tie_word_embeddings": true,
144
+ "torch_dtype": "float32",
145
+ "transformers_version": "4.55.4",
146
+ "use_cache": false,
147
+ "use_sliding_window": false,
148
+ "vocab_size": 151936
149
+ }
evaluation/challenge.json ADDED
@@ -0,0 +1,919 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
3
+ "split": "challenge",
4
+ "documents": 14461,
5
+ "models": {
6
+ "valendra": {
7
+ "metadata": {
8
+ "model": "valendra",
9
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
10
+ "split": "challenge",
11
+ "document_order_sha256": "b7add247b64759824241aee97f400c291c878c1a3a16b8f8358d8fc9b733be84",
12
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
13
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
14
+ "documents": 14461,
15
+ "limit": null,
16
+ "sample_seed": null,
17
+ "common_categories": [
18
+ "ADDRESS",
19
+ "EMAIL",
20
+ "PERSON",
21
+ "PHONE",
22
+ "SECRET",
23
+ "URL"
24
+ ],
25
+ "device": "cuda",
26
+ "hardware": "NVIDIA GeForce RTX 4090",
27
+ "warmup_documents": 2,
28
+ "batch_size": 1,
29
+ "scoring": "exact_character_spans_v1",
30
+ "model_details": {
31
+ "requested_precision": "bf16",
32
+ "quantization": "none",
33
+ "torch_version": "2.8.0+cu128",
34
+ "model_id": "Qwen/Qwen3-0.6B-Base",
35
+ "weights_sha256": "130ea7b3a1de096aa5a1c32500d82a8157546c83607d5f71e361df0710fb9d7b",
36
+ "parameter_dtypes": {
37
+ "torch.bfloat16": 596091945
38
+ },
39
+ "attention_mode": "causal",
40
+ "max_length": 512,
41
+ "overlap": 64,
42
+ "transformers_version": "4.55.4",
43
+ "span_scores": true,
44
+ "model_revision": "da87bfb608c14b7cf20ba1ce41287e8de496c0cd",
45
+ "training_dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
46
+ "training_protocol_sha256": "3d55cc7f064fc68f3774d2078d8227b946308ffa4c6242412a83874ee898f073",
47
+ "load_seconds": 5.278955338988453,
48
+ "label_mapping": {
49
+ "PERSON": "PERSON",
50
+ "EMAIL": "EMAIL",
51
+ "PHONE": "PHONE",
52
+ "ADDRESS": "ADDRESS",
53
+ "GOVERNMENT_ID": "GOVERNMENT_ID",
54
+ "FINANCIAL_ID": "FINANCIAL_ID",
55
+ "SECRET": "SECRET",
56
+ "IP_ADDRESS": "IP_ADDRESS",
57
+ "DATE_OF_BIRTH": "DATE_OF_BIRTH",
58
+ "URL": "URL"
59
+ }
60
+ }
61
+ },
62
+ "metrics": {
63
+ "documents": 14461,
64
+ "untyped": {
65
+ "tp": 28169,
66
+ "fp": 20817,
67
+ "fn": 13721,
68
+ "precision": 0.5750418486914629,
69
+ "recall": 0.6724516591071855,
70
+ "f1": 0.6199436594920551,
71
+ "f2": 0.6504160778772179
72
+ },
73
+ "typed_common": {
74
+ "tp": 18595,
75
+ "fp": 17937,
76
+ "fn": 10840,
77
+ "precision": 0.5090058031315011,
78
+ "recall": 0.6317309325632751,
79
+ "f1": 0.5637667318507739,
80
+ "f2": 0.6026693113461937
81
+ },
82
+ "common_categories": [
83
+ "ADDRESS",
84
+ "EMAIL",
85
+ "PERSON",
86
+ "PHONE",
87
+ "SECRET",
88
+ "URL"
89
+ ],
90
+ "typed_by_category": {
91
+ "ADDRESS": {
92
+ "tp": 0,
93
+ "fp": 8429,
94
+ "fn": 1982,
95
+ "precision": 0.0,
96
+ "recall": 0.0,
97
+ "f1": 0.0,
98
+ "f2": 0.0
99
+ },
100
+ "EMAIL": {
101
+ "tp": 2499,
102
+ "fp": 377,
103
+ "fn": 0,
104
+ "precision": 0.8689151599443672,
105
+ "recall": 1.0,
106
+ "f1": 0.9298604651162791,
107
+ "f2": 0.9707116221255438
108
+ },
109
+ "PERSON": {
110
+ "tp": 6427,
111
+ "fp": 1317,
112
+ "fn": 1050,
113
+ "precision": 0.8299328512396694,
114
+ "recall": 0.8595693459943827,
115
+ "f1": 0.8444911635240785,
116
+ "f2": 0.853473919048125
117
+ },
118
+ "PHONE": {
119
+ "tp": 2478,
120
+ "fp": 6,
121
+ "fn": 0,
122
+ "precision": 0.9975845410628019,
123
+ "recall": 1.0,
124
+ "f1": 0.9987908101571946,
125
+ "f2": 0.999515972894482
126
+ },
127
+ "SECRET": {
128
+ "tp": 4691,
129
+ "fp": 2808,
130
+ "fn": 2808,
131
+ "precision": 0.6255500733431124,
132
+ "recall": 0.6255500733431124,
133
+ "f1": 0.6255500733431124,
134
+ "f2": 0.6255500733431124
135
+ },
136
+ "URL": {
137
+ "tp": 2500,
138
+ "fp": 5000,
139
+ "fn": 5000,
140
+ "precision": 0.3333333333333333,
141
+ "recall": 0.3333333333333333,
142
+ "f1": 0.3333333333333333,
143
+ "f2": 0.3333333333333333
144
+ }
145
+ },
146
+ "untyped_recall_by_gold_category": {
147
+ "ADDRESS": {
148
+ "matched": 0,
149
+ "total": 1982,
150
+ "recall": 0.0
151
+ },
152
+ "DATE_OF_BIRTH": {
153
+ "matched": 2500,
154
+ "total": 2500,
155
+ "recall": 1.0
156
+ },
157
+ "EMAIL": {
158
+ "matched": 2499,
159
+ "total": 2499,
160
+ "recall": 1.0
161
+ },
162
+ "FINANCIAL_ID": {
163
+ "matched": 4978,
164
+ "total": 4978,
165
+ "recall": 1.0
166
+ },
167
+ "GOVERNMENT_ID": {
168
+ "matched": 2096,
169
+ "total": 2499,
170
+ "recall": 0.8387354941976791
171
+ },
172
+ "IP_ADDRESS": {
173
+ "matched": 0,
174
+ "total": 2478,
175
+ "recall": 0.0
176
+ },
177
+ "PERSON": {
178
+ "matched": 6427,
179
+ "total": 7477,
180
+ "recall": 0.8595693459943827
181
+ },
182
+ "PHONE": {
183
+ "matched": 2478,
184
+ "total": 2478,
185
+ "recall": 1.0
186
+ },
187
+ "SECRET": {
188
+ "matched": 4691,
189
+ "total": 7499,
190
+ "recall": 0.6255500733431124
191
+ },
192
+ "URL": {
193
+ "matched": 2500,
194
+ "total": 7500,
195
+ "recall": 0.3333333333333333
196
+ }
197
+ },
198
+ "by_language": {
199
+ "en": {
200
+ "untyped": {
201
+ "tp": 12413,
202
+ "fp": 6659,
203
+ "fn": 3569,
204
+ "precision": 0.6508494127516778,
205
+ "recall": 0.7766862720560631,
206
+ "f1": 0.7082216009585212,
207
+ "f2": 0.7477710843373494
208
+ },
209
+ "typed_common": {
210
+ "tp": 7413,
211
+ "fp": 6658,
212
+ "fn": 3569,
213
+ "precision": 0.5268282282709118,
214
+ "recall": 0.6750136587142597,
215
+ "f1": 0.5917854149203688,
216
+ "f2": 0.6390627424610767
217
+ }
218
+ },
219
+ "es": {
220
+ "untyped": {
221
+ "tp": 15756,
222
+ "fp": 14158,
223
+ "fn": 10152,
224
+ "precision": 0.526709901718259,
225
+ "recall": 0.6081519221861973,
226
+ "f1": 0.5645086166744295,
227
+ "f2": 0.5899090949934854
228
+ },
229
+ "typed_common": {
230
+ "tp": 11182,
231
+ "fp": 11279,
232
+ "fn": 7271,
233
+ "precision": 0.49784070166065625,
234
+ "recall": 0.6059719286836829,
235
+ "f1": 0.5466099623600724,
236
+ "f2": 0.5807443416118745
237
+ }
238
+ }
239
+ },
240
+ "by_source": {
241
+ "synthetic": {
242
+ "untyped": {
243
+ "tp": 28169,
244
+ "fp": 20817,
245
+ "fn": 13721,
246
+ "precision": 0.5750418486914629,
247
+ "recall": 0.6724516591071855,
248
+ "f1": 0.6199436594920551,
249
+ "f2": 0.6504160778772179
250
+ },
251
+ "typed_common": {
252
+ "tp": 18595,
253
+ "fp": 17937,
254
+ "fn": 10840,
255
+ "precision": 0.5090058031315011,
256
+ "recall": 0.6317309325632751,
257
+ "f1": 0.5637667318507739,
258
+ "f2": 0.6026693113461937
259
+ }
260
+ }
261
+ },
262
+ "typed_excluded_gold": {
263
+ "GOVERNMENT_ID": 2499,
264
+ "DATE_OF_BIRTH": 2500,
265
+ "IP_ADDRESS": 2478,
266
+ "FINANCIAL_ID": 4978
267
+ },
268
+ "unmapped_predictions": {},
269
+ "ignored_predictions": 0,
270
+ "false_positives_per_document": 1.43952700366503,
271
+ "negative_documents": {
272
+ "count": 2,
273
+ "with_false_positive": 2,
274
+ "false_positive_rate": 1.0
275
+ }
276
+ },
277
+ "performance": {
278
+ "latency_ms": {
279
+ "p50": 32.25508285686374,
280
+ "p95": 36.32426890544593,
281
+ "p99": 38.85766505263746
282
+ },
283
+ "documents_per_second": 30.52227684407281,
284
+ "characters_per_second": 3498.987195854014,
285
+ "input_tokens_per_second": 1522.7726649514334,
286
+ "input_tokens": 721467,
287
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
288
+ "inference_seconds": 473.7851004325785,
289
+ "end_to_end_seconds": 479.30525300791487,
290
+ "sampled_peak_rss_bytes": 2073497600,
291
+ "peak_vram_allocated_bytes": 1203220480,
292
+ "peak_vram_reserved_bytes": 1218445312,
293
+ "cpu_process_percent_one_core": 218.9168579762411
294
+ }
295
+ },
296
+ "openai": {
297
+ "metadata": {
298
+ "model": "openai",
299
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
300
+ "split": "challenge",
301
+ "document_order_sha256": "b7add247b64759824241aee97f400c291c878c1a3a16b8f8358d8fc9b733be84",
302
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
303
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
304
+ "documents": 14461,
305
+ "limit": null,
306
+ "sample_seed": null,
307
+ "common_categories": [
308
+ "ADDRESS",
309
+ "EMAIL",
310
+ "PERSON",
311
+ "PHONE",
312
+ "SECRET",
313
+ "URL"
314
+ ],
315
+ "device": "cuda",
316
+ "hardware": "NVIDIA GeForce RTX 4090",
317
+ "warmup_documents": 2,
318
+ "batch_size": 1,
319
+ "scoring": "exact_character_spans_v1",
320
+ "model_details": {
321
+ "requested_precision": "native",
322
+ "quantization": "none",
323
+ "torch_version": "2.8.0+cu128",
324
+ "model_id": "openai/privacy-filter",
325
+ "model_revision": "7ffa9a043d54d1be65afb281eddf0ffbe629385b",
326
+ "runtime_revision": "f7f00ca7fb869683eb732c010299d901457f19c3",
327
+ "license": "Apache-2.0",
328
+ "weights_sha256": "9c262cbe68a0c8a50590a648ef8341a2b7d3be1fa11dfb79893fe0b03ce57b5c",
329
+ "parameter_dtypes": {
330
+ "torch.bfloat16": 1399475840,
331
+ "torch.float32": 10992
332
+ },
333
+ "runtime_context_window": 128000,
334
+ "decode_mode": "viterbi",
335
+ "calibration_sha256": "bbc8611ef08a55ed72d64856cbbbb9a91db8dfa881f0a92e2afbad6e4bbc775a",
336
+ "span_scores": false,
337
+ "opf_version": "0.1.0",
338
+ "tiktoken_version": "0.11.0",
339
+ "load_seconds": 4.347642426146194,
340
+ "label_mapping": {
341
+ "private_person": "PERSON",
342
+ "private_email": "EMAIL",
343
+ "private_phone": "PHONE",
344
+ "private_address": "ADDRESS",
345
+ "private_url": "URL",
346
+ "secret": "SECRET",
347
+ "private_date": null,
348
+ "account_number": null
349
+ }
350
+ }
351
+ },
352
+ "metrics": {
353
+ "documents": 14461,
354
+ "untyped": {
355
+ "tp": 28402,
356
+ "fp": 10624,
357
+ "fn": 13488,
358
+ "precision": 0.7277712294367857,
359
+ "recall": 0.6780138457865839,
360
+ "f1": 0.7020119630233822,
361
+ "f2": 0.6874134742915783
362
+ },
363
+ "typed_common": {
364
+ "tp": 16642,
365
+ "fp": 10673,
366
+ "fn": 12793,
367
+ "precision": 0.6092623100860333,
368
+ "recall": 0.5653813487344997,
369
+ "f1": 0.5865022026431719,
370
+ "f2": 0.5736444796801213
371
+ },
372
+ "common_categories": [
373
+ "ADDRESS",
374
+ "EMAIL",
375
+ "PERSON",
376
+ "PHONE",
377
+ "SECRET",
378
+ "URL"
379
+ ],
380
+ "typed_by_category": {
381
+ "ADDRESS": {
382
+ "tp": 187,
383
+ "fp": 5517,
384
+ "fn": 1795,
385
+ "precision": 0.032784011220196356,
386
+ "recall": 0.09434914228052473,
387
+ "f1": 0.04865990111891751,
388
+ "f2": 0.06858861502347419
389
+ },
390
+ "EMAIL": {
391
+ "tp": 2444,
392
+ "fp": 33,
393
+ "fn": 55,
394
+ "precision": 0.9866774323778764,
395
+ "recall": 0.9779911964785915,
396
+ "f1": 0.9823151125401929,
397
+ "f2": 0.9797161869638419
398
+ },
399
+ "PERSON": {
400
+ "tp": 6602,
401
+ "fp": 1081,
402
+ "fn": 875,
403
+ "precision": 0.859299752700768,
404
+ "recall": 0.882974454995319,
405
+ "f1": 0.8709762532981531,
406
+ "f2": 0.8781357239764838
407
+ },
408
+ "PHONE": {
409
+ "tp": 2419,
410
+ "fp": 64,
411
+ "fn": 59,
412
+ "precision": 0.9742247281514297,
413
+ "recall": 0.9761904761904762,
414
+ "f1": 0.9752066115702479,
415
+ "f2": 0.9757966922146027
416
+ },
417
+ "SECRET": {
418
+ "tp": 11,
419
+ "fp": 568,
420
+ "fn": 7488,
421
+ "precision": 0.018998272884283247,
422
+ "recall": 0.0014668622482997733,
423
+ "f1": 0.0027234463976231744,
424
+ "f2": 0.0017988552739165984
425
+ },
426
+ "URL": {
427
+ "tp": 4979,
428
+ "fp": 3410,
429
+ "fn": 2521,
430
+ "precision": 0.5935153176779115,
431
+ "recall": 0.6638666666666667,
432
+ "f1": 0.6267228900497198,
433
+ "f2": 0.648493057907213
434
+ }
435
+ },
436
+ "untyped_recall_by_gold_category": {
437
+ "ADDRESS": {
438
+ "matched": 187,
439
+ "total": 1982,
440
+ "recall": 0.09434914228052473
441
+ },
442
+ "DATE_OF_BIRTH": {
443
+ "matched": 2500,
444
+ "total": 2500,
445
+ "recall": 1.0
446
+ },
447
+ "EMAIL": {
448
+ "matched": 2444,
449
+ "total": 2499,
450
+ "recall": 0.9779911964785915
451
+ },
452
+ "FINANCIAL_ID": {
453
+ "matched": 4655,
454
+ "total": 4978,
455
+ "recall": 0.9351145038167938
456
+ },
457
+ "GOVERNMENT_ID": {
458
+ "matched": 2421,
459
+ "total": 2499,
460
+ "recall": 0.9687875150060024
461
+ },
462
+ "IP_ADDRESS": {
463
+ "matched": 326,
464
+ "total": 2478,
465
+ "recall": 0.13155770782889428
466
+ },
467
+ "PERSON": {
468
+ "matched": 6634,
469
+ "total": 7477,
470
+ "recall": 0.8872542463554902
471
+ },
472
+ "PHONE": {
473
+ "matched": 2419,
474
+ "total": 2478,
475
+ "recall": 0.9761904761904762
476
+ },
477
+ "SECRET": {
478
+ "matched": 1837,
479
+ "total": 7499,
480
+ "recall": 0.24496599546606215
481
+ },
482
+ "URL": {
483
+ "matched": 4979,
484
+ "total": 7500,
485
+ "recall": 0.6638666666666667
486
+ }
487
+ },
488
+ "by_language": {
489
+ "en": {
490
+ "untyped": {
491
+ "tp": 9841,
492
+ "fp": 5819,
493
+ "fn": 6141,
494
+ "precision": 0.6284163473818646,
495
+ "recall": 0.6157552246277062,
496
+ "f1": 0.6220213640098603,
497
+ "f2": 0.6182464693169825
498
+ },
499
+ "typed_common": {
500
+ "tp": 5139,
501
+ "fp": 5761,
502
+ "fn": 5843,
503
+ "precision": 0.4714678899082569,
504
+ "recall": 0.46794755053724274,
505
+ "f1": 0.4697011242116808,
506
+ "f2": 0.4686474064346684
507
+ }
508
+ },
509
+ "es": {
510
+ "untyped": {
511
+ "tp": 18561,
512
+ "fp": 4805,
513
+ "fn": 7347,
514
+ "precision": 0.7943593255157065,
515
+ "recall": 0.7164196387216304,
516
+ "f1": 0.7533790640094168,
517
+ "f2": 0.7307595395203074
518
+ },
519
+ "typed_common": {
520
+ "tp": 11503,
521
+ "fp": 4912,
522
+ "fn": 6950,
523
+ "precision": 0.7007614986293025,
524
+ "recall": 0.6233674741234487,
525
+ "f1": 0.659802684409774,
526
+ "f2": 0.6374477706229841
527
+ }
528
+ }
529
+ },
530
+ "by_source": {
531
+ "synthetic": {
532
+ "untyped": {
533
+ "tp": 28402,
534
+ "fp": 10624,
535
+ "fn": 13488,
536
+ "precision": 0.7277712294367857,
537
+ "recall": 0.6780138457865839,
538
+ "f1": 0.7020119630233822,
539
+ "f2": 0.6874134742915783
540
+ },
541
+ "typed_common": {
542
+ "tp": 16642,
543
+ "fp": 10673,
544
+ "fn": 12793,
545
+ "precision": 0.6092623100860333,
546
+ "recall": 0.5653813487344997,
547
+ "f1": 0.5865022026431719,
548
+ "f2": 0.5736444796801213
549
+ }
550
+ }
551
+ },
552
+ "typed_excluded_gold": {
553
+ "GOVERNMENT_ID": 2499,
554
+ "DATE_OF_BIRTH": 2500,
555
+ "IP_ADDRESS": 2478,
556
+ "FINANCIAL_ID": 4978
557
+ },
558
+ "unmapped_predictions": {
559
+ "account_number": 9206,
560
+ "private_date": 2505
561
+ },
562
+ "ignored_predictions": 0,
563
+ "false_positives_per_document": 0.7346656524445059,
564
+ "negative_documents": {
565
+ "count": 2,
566
+ "with_false_positive": 2,
567
+ "false_positive_rate": 1.0
568
+ }
569
+ },
570
+ "performance": {
571
+ "latency_ms": {
572
+ "p50": 18.598005874082446,
573
+ "p95": 20.177082857117057,
574
+ "p99": 22.28398541919887
575
+ },
576
+ "documents_per_second": 53.1927473556665,
577
+ "characters_per_second": 6097.86559700633,
578
+ "input_tokens_per_second": 1904.7829560142147,
579
+ "input_tokens": 517835,
580
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
581
+ "inference_seconds": 271.8603704243433,
582
+ "end_to_end_seconds": 275.67499247402884,
583
+ "sampled_peak_rss_bytes": 1649799168,
584
+ "peak_vram_allocated_bytes": 3080668160,
585
+ "peak_vram_reserved_bytes": 3332374528,
586
+ "cpu_process_percent_one_core": 274.424601669762
587
+ }
588
+ },
589
+ "gliner": {
590
+ "metadata": {
591
+ "model": "gliner",
592
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
593
+ "split": "challenge",
594
+ "document_order_sha256": "b7add247b64759824241aee97f400c291c878c1a3a16b8f8358d8fc9b733be84",
595
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
596
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
597
+ "documents": 14461,
598
+ "limit": null,
599
+ "sample_seed": null,
600
+ "common_categories": [
601
+ "ADDRESS",
602
+ "EMAIL",
603
+ "PERSON",
604
+ "PHONE",
605
+ "SECRET",
606
+ "URL"
607
+ ],
608
+ "device": "cuda",
609
+ "hardware": "NVIDIA GeForce RTX 4090",
610
+ "warmup_documents": 2,
611
+ "batch_size": 1,
612
+ "scoring": "exact_character_spans_v1",
613
+ "model_details": {
614
+ "requested_precision": "bf16",
615
+ "quantization": "none",
616
+ "torch_version": "2.8.0+cu128",
617
+ "model_id": "nvidia/gliner-PII",
618
+ "model_revision": "bd23e8ef4425fd04e34c5204ab49ffaa706eae79",
619
+ "license": "NVIDIA-Open-Model-License",
620
+ "weights_sha256": "a4dfd0dcbd718acc86dca65fa99f1097d2796c8d7a681e1bc42f40f946c03802",
621
+ "parameter_dtypes": {
622
+ "torch.bfloat16": 445463040
623
+ },
624
+ "gliner_version": "0.2.24",
625
+ "transformers_version": "4.57.3",
626
+ "label_prompts": [
627
+ "first_name",
628
+ "last_name",
629
+ "name",
630
+ "email",
631
+ "phone_number",
632
+ "street_address",
633
+ "address",
634
+ "url",
635
+ "api_key",
636
+ "password",
637
+ "http_cookie",
638
+ "cvv",
639
+ "pin",
640
+ "national_id",
641
+ "ssn",
642
+ "tax_id",
643
+ "account_number",
644
+ "bank_routing_number",
645
+ "credit_debit_card",
646
+ "swift_bic",
647
+ "date_of_birth",
648
+ "ipv4",
649
+ "ipv6"
650
+ ],
651
+ "threshold": 0.3,
652
+ "overlap_words": 32,
653
+ "max_words": 384,
654
+ "max_encoder_tokens": 512,
655
+ "span_scores": true,
656
+ "load_seconds": 11.4082525849808,
657
+ "label_mapping": {
658
+ "first_name": "PERSON",
659
+ "last_name": "PERSON",
660
+ "name": "PERSON",
661
+ "email": "EMAIL",
662
+ "phone_number": "PHONE",
663
+ "street_address": "ADDRESS",
664
+ "address": "ADDRESS",
665
+ "url": "URL",
666
+ "api_key": "SECRET",
667
+ "password": "SECRET",
668
+ "http_cookie": "SECRET",
669
+ "cvv": "SECRET",
670
+ "pin": "SECRET",
671
+ "national_id": "GOVERNMENT_ID",
672
+ "ssn": "GOVERNMENT_ID",
673
+ "tax_id": "GOVERNMENT_ID",
674
+ "account_number": "FINANCIAL_ID",
675
+ "bank_routing_number": "FINANCIAL_ID",
676
+ "credit_debit_card": "FINANCIAL_ID",
677
+ "swift_bic": "FINANCIAL_ID",
678
+ "date_of_birth": "DATE_OF_BIRTH",
679
+ "ipv4": "IP_ADDRESS",
680
+ "ipv6": "IP_ADDRESS"
681
+ }
682
+ }
683
+ },
684
+ "metrics": {
685
+ "documents": 14461,
686
+ "untyped": {
687
+ "tp": 15238,
688
+ "fp": 24262,
689
+ "fn": 26652,
690
+ "precision": 0.38577215189873415,
691
+ "recall": 0.3637622344234901,
692
+ "f1": 0.3744440348937216,
693
+ "f2": 0.3679609774944461
694
+ },
695
+ "typed_common": {
696
+ "tp": 7790,
697
+ "fp": 26030,
698
+ "fn": 21645,
699
+ "precision": 0.2303370786516854,
700
+ "recall": 0.2646509257686428,
701
+ "f1": 0.24630463994941112,
702
+ "f2": 0.2569939297967802
703
+ },
704
+ "common_categories": [
705
+ "ADDRESS",
706
+ "EMAIL",
707
+ "PERSON",
708
+ "PHONE",
709
+ "SECRET",
710
+ "URL"
711
+ ],
712
+ "typed_by_category": {
713
+ "ADDRESS": {
714
+ "tp": 286,
715
+ "fp": 1621,
716
+ "fn": 1696,
717
+ "precision": 0.14997378080755114,
718
+ "recall": 0.1442986881937437,
719
+ "f1": 0.14708151195680125,
720
+ "f2": 0.14539908490086428
721
+ },
722
+ "EMAIL": {
723
+ "tp": 2499,
724
+ "fp": 1,
725
+ "fn": 0,
726
+ "precision": 0.9996,
727
+ "recall": 1.0,
728
+ "f1": 0.9997999599919984,
729
+ "f2": 0.9999199743918054
730
+ },
731
+ "PERSON": {
732
+ "tp": 6,
733
+ "fp": 17470,
734
+ "fn": 7471,
735
+ "precision": 0.0003433279926756695,
736
+ "recall": 0.0008024608800320985,
737
+ "f1": 0.00048090409970745,
738
+ "f2": 0.0006331251055208511
739
+ },
740
+ "PHONE": {
741
+ "tp": 0,
742
+ "fp": 1,
743
+ "fn": 2478,
744
+ "precision": 0.0,
745
+ "recall": 0.0,
746
+ "f1": 0.0,
747
+ "f2": 0.0
748
+ },
749
+ "SECRET": {
750
+ "tp": 2499,
751
+ "fp": 6937,
752
+ "fn": 5000,
753
+ "precision": 0.26483679525222553,
754
+ "recall": 0.3332444325910121,
755
+ "f1": 0.2951284322409211,
756
+ "f2": 0.31687461959829577
757
+ },
758
+ "URL": {
759
+ "tp": 2500,
760
+ "fp": 0,
761
+ "fn": 5000,
762
+ "precision": 1.0,
763
+ "recall": 0.3333333333333333,
764
+ "f1": 0.5,
765
+ "f2": 0.3846153846153846
766
+ }
767
+ },
768
+ "untyped_recall_by_gold_category": {
769
+ "ADDRESS": {
770
+ "matched": 286,
771
+ "total": 1982,
772
+ "recall": 0.1442986881937437
773
+ },
774
+ "DATE_OF_BIRTH": {
775
+ "matched": 2500,
776
+ "total": 2500,
777
+ "recall": 1.0
778
+ },
779
+ "EMAIL": {
780
+ "matched": 2499,
781
+ "total": 2499,
782
+ "recall": 1.0
783
+ },
784
+ "FINANCIAL_ID": {
785
+ "matched": 2498,
786
+ "total": 4978,
787
+ "recall": 0.5018079550020088
788
+ },
789
+ "GOVERNMENT_ID": {
790
+ "matched": 2449,
791
+ "total": 2499,
792
+ "recall": 0.9799919967987195
793
+ },
794
+ "IP_ADDRESS": {
795
+ "matched": 1,
796
+ "total": 2478,
797
+ "recall": 0.0004035512510088781
798
+ },
799
+ "PERSON": {
800
+ "matched": 6,
801
+ "total": 7477,
802
+ "recall": 0.0008024608800320985
803
+ },
804
+ "PHONE": {
805
+ "matched": 0,
806
+ "total": 2478,
807
+ "recall": 0.0
808
+ },
809
+ "SECRET": {
810
+ "matched": 2499,
811
+ "total": 7499,
812
+ "recall": 0.3332444325910121
813
+ },
814
+ "URL": {
815
+ "matched": 2500,
816
+ "total": 7500,
817
+ "recall": 0.3333333333333333
818
+ }
819
+ },
820
+ "by_language": {
821
+ "en": {
822
+ "untyped": {
823
+ "tp": 7784,
824
+ "fp": 11083,
825
+ "fn": 8198,
826
+ "precision": 0.4125722160385859,
827
+ "recall": 0.48704792892003507,
828
+ "f1": 0.446727309248472,
829
+ "f2": 0.47007669545262404
830
+ },
831
+ "typed_common": {
832
+ "tp": 2786,
833
+ "fp": 11077,
834
+ "fn": 8196,
835
+ "precision": 0.2009666017456539,
836
+ "recall": 0.25368785285011836,
837
+ "f1": 0.22427047695713423,
838
+ "f2": 0.24104099254209135
839
+ }
840
+ },
841
+ "es": {
842
+ "untyped": {
843
+ "tp": 7454,
844
+ "fp": 13179,
845
+ "fn": 18454,
846
+ "precision": 0.36126593321378375,
847
+ "recall": 0.287710359734445,
848
+ "f1": 0.32031971809802107,
849
+ "f2": 0.29992355047680364
850
+ },
851
+ "typed_common": {
852
+ "tp": 5004,
853
+ "fp": 14953,
854
+ "fn": 13449,
855
+ "precision": 0.2507390890414391,
856
+ "recall": 0.2711754186311169,
857
+ "f1": 0.26055714657641244,
858
+ "f2": 0.2668259232795487
859
+ }
860
+ }
861
+ },
862
+ "by_source": {
863
+ "synthetic": {
864
+ "untyped": {
865
+ "tp": 15238,
866
+ "fp": 24262,
867
+ "fn": 26652,
868
+ "precision": 0.38577215189873415,
869
+ "recall": 0.3637622344234901,
870
+ "f1": 0.3744440348937216,
871
+ "f2": 0.3679609774944461
872
+ },
873
+ "typed_common": {
874
+ "tp": 7790,
875
+ "fp": 26030,
876
+ "fn": 21645,
877
+ "precision": 0.2303370786516854,
878
+ "recall": 0.2646509257686428,
879
+ "f1": 0.24630463994941112,
880
+ "f2": 0.2569939297967802
881
+ }
882
+ }
883
+ },
884
+ "typed_excluded_gold": {
885
+ "GOVERNMENT_ID": 2499,
886
+ "DATE_OF_BIRTH": 2500,
887
+ "FINANCIAL_ID": 4978,
888
+ "IP_ADDRESS": 2478
889
+ },
890
+ "unmapped_predictions": {},
891
+ "ignored_predictions": 0,
892
+ "false_positives_per_document": 1.6777539589240025,
893
+ "negative_documents": {
894
+ "count": 2,
895
+ "with_false_positive": 2,
896
+ "false_positive_rate": 1.0
897
+ }
898
+ },
899
+ "performance": {
900
+ "latency_ms": {
901
+ "p50": 40.188657119870186,
902
+ "p95": 43.96042600274086,
903
+ "p99": 46.425058972090476
904
+ },
905
+ "documents_per_second": 24.748330706898397,
906
+ "characters_per_second": 2837.078397020506,
907
+ "input_tokens_per_second": 1000.718373156295,
908
+ "input_tokens": 584742,
909
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
910
+ "inference_seconds": 584.3222385891713,
911
+ "end_to_end_seconds": 590.5962648310233,
912
+ "sampled_peak_rss_bytes": 2059366400,
913
+ "peak_vram_allocated_bytes": 915900928,
914
+ "peak_vram_reserved_bytes": 937426944,
915
+ "cpu_process_percent_one_core": 100.08867905202999
916
+ }
917
+ }
918
+ }
919
+ }
evaluation/test.json ADDED
@@ -0,0 +1,979 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
3
+ "split": "test",
4
+ "documents": 22262,
5
+ "models": {
6
+ "valendra": {
7
+ "metadata": {
8
+ "model": "valendra",
9
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
10
+ "split": "test",
11
+ "document_order_sha256": "ca8c5376148ae463bfce0b324436e7f8e43091c3b9c6c3e1d54ca0bf52596f5a",
12
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
13
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
14
+ "documents": 22262,
15
+ "limit": null,
16
+ "sample_seed": null,
17
+ "common_categories": [
18
+ "ADDRESS",
19
+ "EMAIL",
20
+ "PERSON",
21
+ "PHONE",
22
+ "SECRET",
23
+ "URL"
24
+ ],
25
+ "device": "cuda",
26
+ "hardware": "NVIDIA GeForce RTX 4090",
27
+ "warmup_documents": 2,
28
+ "batch_size": 1,
29
+ "scoring": "exact_character_spans_v1",
30
+ "model_details": {
31
+ "requested_precision": "bf16",
32
+ "quantization": "none",
33
+ "torch_version": "2.8.0+cu128",
34
+ "model_id": "Qwen/Qwen3-0.6B-Base",
35
+ "weights_sha256": "130ea7b3a1de096aa5a1c32500d82a8157546c83607d5f71e361df0710fb9d7b",
36
+ "parameter_dtypes": {
37
+ "torch.bfloat16": 596091945
38
+ },
39
+ "attention_mode": "causal",
40
+ "max_length": 512,
41
+ "overlap": 64,
42
+ "transformers_version": "4.55.4",
43
+ "span_scores": true,
44
+ "model_revision": "da87bfb608c14b7cf20ba1ce41287e8de496c0cd",
45
+ "training_dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
46
+ "training_protocol_sha256": "3d55cc7f064fc68f3774d2078d8227b946308ffa4c6242412a83874ee898f073",
47
+ "load_seconds": 5.230109900934622,
48
+ "label_mapping": {
49
+ "PERSON": "PERSON",
50
+ "EMAIL": "EMAIL",
51
+ "PHONE": "PHONE",
52
+ "ADDRESS": "ADDRESS",
53
+ "GOVERNMENT_ID": "GOVERNMENT_ID",
54
+ "FINANCIAL_ID": "FINANCIAL_ID",
55
+ "SECRET": "SECRET",
56
+ "IP_ADDRESS": "IP_ADDRESS",
57
+ "DATE_OF_BIRTH": "DATE_OF_BIRTH",
58
+ "URL": "URL"
59
+ }
60
+ }
61
+ },
62
+ "metrics": {
63
+ "documents": 22262,
64
+ "untyped": {
65
+ "tp": 60977,
66
+ "fp": 14750,
67
+ "fn": 6384,
68
+ "precision": 0.8052213873519353,
69
+ "recall": 0.9052270601683466,
70
+ "f1": 0.85230068209773,
71
+ "f2": 0.8832868346413807
72
+ },
73
+ "typed_common": {
74
+ "tp": 42487,
75
+ "fp": 14719,
76
+ "fn": 6437,
77
+ "precision": 0.7427018144949831,
78
+ "recall": 0.8684285831084948,
79
+ "f1": 0.8006595684537832,
80
+ "f2": 0.8399894030098616
81
+ },
82
+ "common_categories": [
83
+ "ADDRESS",
84
+ "EMAIL",
85
+ "PERSON",
86
+ "PHONE",
87
+ "SECRET",
88
+ "URL"
89
+ ],
90
+ "typed_by_category": {
91
+ "ADDRESS": {
92
+ "tp": 11425,
93
+ "fp": 10695,
94
+ "fn": 2962,
95
+ "precision": 0.516500904159132,
96
+ "recall": 0.7941196913880587,
97
+ "f1": 0.6259073602322841,
98
+ "f2": 0.7170382085655471
99
+ },
100
+ "EMAIL": {
101
+ "tp": 4669,
102
+ "fp": 23,
103
+ "fn": 15,
104
+ "precision": 0.9950980392156863,
105
+ "recall": 0.996797608881298,
106
+ "f1": 0.9959470989761092,
107
+ "f2": 0.9964572306641625
108
+ },
109
+ "PERSON": {
110
+ "tp": 14703,
111
+ "fp": 1321,
112
+ "fn": 802,
113
+ "precision": 0.9175611582626061,
114
+ "recall": 0.9482747500806191,
115
+ "f1": 0.9326651654032795,
116
+ "f2": 0.941968633078776
117
+ },
118
+ "PHONE": {
119
+ "tp": 1690,
120
+ "fp": 178,
121
+ "fn": 158,
122
+ "precision": 0.9047109207708779,
123
+ "recall": 0.9145021645021645,
124
+ "f1": 0.9095801937567277,
125
+ "f2": 0.9125269978401728
126
+ },
127
+ "SECRET": {
128
+ "tp": 7500,
129
+ "fp": 2499,
130
+ "fn": 0,
131
+ "precision": 0.7500750075007501,
132
+ "recall": 1.0,
133
+ "f1": 0.8571918395336876,
134
+ "f2": 0.9375234380859522
135
+ },
136
+ "URL": {
137
+ "tp": 2500,
138
+ "fp": 3,
139
+ "fn": 2500,
140
+ "precision": 0.9988014382740711,
141
+ "recall": 0.5,
142
+ "f1": 0.666400106624017,
143
+ "f2": 0.555481491356708
144
+ }
145
+ },
146
+ "untyped_recall_by_gold_category": {
147
+ "ADDRESS": {
148
+ "matched": 11527,
149
+ "total": 14387,
150
+ "recall": 0.8012094251755056
151
+ },
152
+ "DATE_OF_BIRTH": {
153
+ "matched": 2500,
154
+ "total": 2500,
155
+ "recall": 1.0
156
+ },
157
+ "EMAIL": {
158
+ "matched": 4670,
159
+ "total": 4684,
160
+ "recall": 0.9970111016225448
161
+ },
162
+ "FINANCIAL_ID": {
163
+ "matched": 4202,
164
+ "total": 4229,
165
+ "recall": 0.9936155119413573
166
+ },
167
+ "GOVERNMENT_ID": {
168
+ "matched": 9165,
169
+ "total": 9208,
170
+ "recall": 0.9953301476976543
171
+ },
172
+ "IP_ADDRESS": {
173
+ "matched": 2500,
174
+ "total": 2500,
175
+ "recall": 1.0
176
+ },
177
+ "PERSON": {
178
+ "matched": 14723,
179
+ "total": 15505,
180
+ "recall": 0.9495646565623992
181
+ },
182
+ "PHONE": {
183
+ "matched": 1690,
184
+ "total": 1848,
185
+ "recall": 0.9145021645021645
186
+ },
187
+ "SECRET": {
188
+ "matched": 7500,
189
+ "total": 7500,
190
+ "recall": 1.0
191
+ },
192
+ "URL": {
193
+ "matched": 2500,
194
+ "total": 5000,
195
+ "recall": 0.5
196
+ }
197
+ },
198
+ "by_language": {
199
+ "en": {
200
+ "untyped": {
201
+ "tp": 36451,
202
+ "fp": 1163,
203
+ "fn": 1266,
204
+ "precision": 0.9690806614558409,
205
+ "recall": 0.966434233899833,
206
+ "f1": 0.9677556384489785,
207
+ "f2": 0.966962362453709
208
+ },
209
+ "typed_common": {
210
+ "tp": 22343,
211
+ "fp": 1123,
212
+ "fn": 1298,
213
+ "precision": 0.9521435268047388,
214
+ "recall": 0.9450953851359926,
215
+ "f1": 0.9486063642346148,
216
+ "f2": 0.9464966533932051
217
+ }
218
+ },
219
+ "es": {
220
+ "untyped": {
221
+ "tp": 24526,
222
+ "fp": 13587,
223
+ "fn": 5118,
224
+ "precision": 0.6435074646446095,
225
+ "recall": 0.8273512346511942,
226
+ "f1": 0.7239399619227534,
227
+ "f2": 0.7826331140028975
228
+ },
229
+ "typed_common": {
230
+ "tp": 20144,
231
+ "fp": 13596,
232
+ "fn": 5139,
233
+ "precision": 0.597036158861885,
234
+ "recall": 0.7967408930902187,
235
+ "f1": 0.6825813665859072,
236
+ "f2": 0.746782134171659
237
+ }
238
+ }
239
+ },
240
+ "by_source": {
241
+ "openpii": {
242
+ "untyped": {
243
+ "tp": 31658,
244
+ "fp": 585,
245
+ "fn": 703,
246
+ "precision": 0.9818565269981081,
247
+ "recall": 0.9782763202620438,
248
+ "f1": 0.9800631539842733,
249
+ "f2": 0.9789902713266991
250
+ },
251
+ "typed_common": {
252
+ "tp": 23178,
253
+ "fp": 545,
254
+ "fn": 746,
255
+ "precision": 0.9770265143531593,
256
+ "recall": 0.9688179234241766,
257
+ "f1": 0.9729049048208702,
258
+ "f2": 0.9704485885830564
259
+ }
260
+ },
261
+ "synthetic": {
262
+ "untyped": {
263
+ "tp": 29319,
264
+ "fp": 14165,
265
+ "fn": 5681,
266
+ "precision": 0.6742479992640972,
267
+ "recall": 0.8376857142857143,
268
+ "f1": 0.7471331736404873,
269
+ "f2": 0.7989524972204661
270
+ },
271
+ "typed_common": {
272
+ "tp": 19309,
273
+ "fp": 14174,
274
+ "fn": 5691,
275
+ "precision": 0.5766807036406535,
276
+ "recall": 0.77236,
277
+ "f1": 0.6603286425114991,
278
+ "f2": 0.7232756231130556
279
+ }
280
+ }
281
+ },
282
+ "typed_excluded_gold": {
283
+ "DATE_OF_BIRTH": 2500,
284
+ "GOVERNMENT_ID": 9208,
285
+ "IP_ADDRESS": 2500,
286
+ "FINANCIAL_ID": 4229
287
+ },
288
+ "unmapped_predictions": {},
289
+ "ignored_predictions": 3673,
290
+ "false_positives_per_document": 0.6625640104213458,
291
+ "negative_documents": {
292
+ "count": 2,
293
+ "with_false_positive": 2,
294
+ "false_positive_rate": 1.0
295
+ }
296
+ },
297
+ "performance": {
298
+ "latency_ms": {
299
+ "p50": 33.09264197014272,
300
+ "p95": 37.26600594818592,
301
+ "p99": 40.458257521968335
302
+ },
303
+ "documents_per_second": 29.708196863320453,
304
+ "characters_per_second": 5214.450451661882,
305
+ "input_tokens_per_second": 1761.4764185639576,
306
+ "input_tokens": 1319972,
307
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
308
+ "inference_seconds": 749.355475945631,
309
+ "end_to_end_seconds": 759.7900253238622,
310
+ "sampled_peak_rss_bytes": 2160828416,
311
+ "peak_vram_allocated_bytes": 1218100736,
312
+ "peak_vram_reserved_bytes": 1245708288,
313
+ "cpu_process_percent_one_core": 232.7156110329722
314
+ }
315
+ },
316
+ "openai": {
317
+ "metadata": {
318
+ "model": "openai",
319
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
320
+ "split": "test",
321
+ "document_order_sha256": "ca8c5376148ae463bfce0b324436e7f8e43091c3b9c6c3e1d54ca0bf52596f5a",
322
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
323
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
324
+ "documents": 22262,
325
+ "limit": null,
326
+ "sample_seed": null,
327
+ "common_categories": [
328
+ "ADDRESS",
329
+ "EMAIL",
330
+ "PERSON",
331
+ "PHONE",
332
+ "SECRET",
333
+ "URL"
334
+ ],
335
+ "device": "cuda",
336
+ "hardware": "NVIDIA GeForce RTX 4090",
337
+ "warmup_documents": 2,
338
+ "batch_size": 1,
339
+ "scoring": "exact_character_spans_v1",
340
+ "model_details": {
341
+ "requested_precision": "native",
342
+ "quantization": "none",
343
+ "torch_version": "2.8.0+cu128",
344
+ "model_id": "openai/privacy-filter",
345
+ "model_revision": "7ffa9a043d54d1be65afb281eddf0ffbe629385b",
346
+ "runtime_revision": "f7f00ca7fb869683eb732c010299d901457f19c3",
347
+ "license": "Apache-2.0",
348
+ "weights_sha256": "9c262cbe68a0c8a50590a648ef8341a2b7d3be1fa11dfb79893fe0b03ce57b5c",
349
+ "parameter_dtypes": {
350
+ "torch.bfloat16": 1399475840,
351
+ "torch.float32": 10992
352
+ },
353
+ "runtime_context_window": 128000,
354
+ "decode_mode": "viterbi",
355
+ "calibration_sha256": "bbc8611ef08a55ed72d64856cbbbb9a91db8dfa881f0a92e2afbad6e4bbc775a",
356
+ "span_scores": false,
357
+ "opf_version": "0.1.0",
358
+ "tiktoken_version": "0.11.0",
359
+ "load_seconds": 4.162106472067535,
360
+ "label_mapping": {
361
+ "private_person": "PERSON",
362
+ "private_email": "EMAIL",
363
+ "private_phone": "PHONE",
364
+ "private_address": "ADDRESS",
365
+ "private_url": "URL",
366
+ "secret": "SECRET",
367
+ "private_date": null,
368
+ "account_number": null
369
+ }
370
+ }
371
+ },
372
+ "metrics": {
373
+ "documents": 22262,
374
+ "untyped": {
375
+ "tp": 44220,
376
+ "fp": 10153,
377
+ "fn": 23141,
378
+ "precision": 0.8132712927372041,
379
+ "recall": 0.6564629384955687,
380
+ "f1": 0.7265020454433437,
381
+ "f2": 0.6827930590426073
382
+ },
383
+ "typed_common": {
384
+ "tp": 26775,
385
+ "fp": 12780,
386
+ "fn": 22149,
387
+ "precision": 0.676905574516496,
388
+ "recall": 0.5472774098601914,
389
+ "f1": 0.6052283592716916,
390
+ "f2": 0.5690730326332302
391
+ },
392
+ "common_categories": [
393
+ "ADDRESS",
394
+ "EMAIL",
395
+ "PERSON",
396
+ "PHONE",
397
+ "SECRET",
398
+ "URL"
399
+ ],
400
+ "typed_by_category": {
401
+ "ADDRESS": {
402
+ "tp": 3545,
403
+ "fp": 7427,
404
+ "fn": 10842,
405
+ "precision": 0.3230951512942034,
406
+ "recall": 0.24640300271078056,
407
+ "f1": 0.2795851571434205,
408
+ "f2": 0.25868359603035607
409
+ },
410
+ "EMAIL": {
411
+ "tp": 4593,
412
+ "fp": 43,
413
+ "fn": 91,
414
+ "precision": 0.9907247627264884,
415
+ "recall": 0.9805721605465414,
416
+ "f1": 0.9856223175965665,
417
+ "f2": 0.9825860003422898
418
+ },
419
+ "PERSON": {
420
+ "tp": 9295,
421
+ "fp": 2126,
422
+ "fn": 6210,
423
+ "precision": 0.8138516767358375,
424
+ "recall": 0.599484037407288,
425
+ "f1": 0.690410755403699,
426
+ "f2": 0.6328209038547951
427
+ },
428
+ "PHONE": {
429
+ "tp": 1561,
430
+ "fp": 526,
431
+ "fn": 287,
432
+ "precision": 0.747963584091998,
433
+ "recall": 0.8446969696969697,
434
+ "f1": 0.7933926302414231,
435
+ "f2": 0.8233990927313009
436
+ },
437
+ "SECRET": {
438
+ "tp": 3198,
439
+ "fp": 149,
440
+ "fn": 4302,
441
+ "precision": 0.9554825216611891,
442
+ "recall": 0.4264,
443
+ "f1": 0.5896561261178206,
444
+ "f2": 0.4795034036045221
445
+ },
446
+ "URL": {
447
+ "tp": 4583,
448
+ "fp": 2509,
449
+ "fn": 417,
450
+ "precision": 0.6462210941906373,
451
+ "recall": 0.9166,
452
+ "f1": 0.7580218326166059,
453
+ "f2": 0.8458216447659825
454
+ }
455
+ },
456
+ "untyped_recall_by_gold_category": {
457
+ "ADDRESS": {
458
+ "matched": 3798,
459
+ "total": 14387,
460
+ "recall": 0.26398832279140894
461
+ },
462
+ "DATE_OF_BIRTH": {
463
+ "matched": 2499,
464
+ "total": 2500,
465
+ "recall": 0.9996
466
+ },
467
+ "EMAIL": {
468
+ "matched": 4593,
469
+ "total": 4684,
470
+ "recall": 0.9805721605465414
471
+ },
472
+ "FINANCIAL_ID": {
473
+ "matched": 2131,
474
+ "total": 4229,
475
+ "recall": 0.5039016315913928
476
+ },
477
+ "GOVERNMENT_ID": {
478
+ "matched": 8672,
479
+ "total": 9208,
480
+ "recall": 0.9417897480451781
481
+ },
482
+ "IP_ADDRESS": {
483
+ "matched": 2500,
484
+ "total": 2500,
485
+ "recall": 1.0
486
+ },
487
+ "PERSON": {
488
+ "matched": 9936,
489
+ "total": 15505,
490
+ "recall": 0.6408255401483393
491
+ },
492
+ "PHONE": {
493
+ "matched": 1574,
494
+ "total": 1848,
495
+ "recall": 0.8517316017316018
496
+ },
497
+ "SECRET": {
498
+ "matched": 3868,
499
+ "total": 7500,
500
+ "recall": 0.5157333333333334
501
+ },
502
+ "URL": {
503
+ "matched": 4649,
504
+ "total": 5000,
505
+ "recall": 0.9298
506
+ }
507
+ },
508
+ "by_language": {
509
+ "en": {
510
+ "untyped": {
511
+ "tp": 21877,
512
+ "fp": 3818,
513
+ "fn": 15840,
514
+ "precision": 0.8514107803074528,
515
+ "recall": 0.5800302250974362,
516
+ "f1": 0.6899955844319686,
517
+ "f2": 0.6195239093128232
518
+ },
519
+ "typed_common": {
520
+ "tp": 10196,
521
+ "fp": 3402,
522
+ "fn": 13445,
523
+ "precision": 0.7498161494337403,
524
+ "recall": 0.4312846326297534,
525
+ "f1": 0.5475979483874432,
526
+ "f2": 0.47133004197407596
527
+ }
528
+ },
529
+ "es": {
530
+ "untyped": {
531
+ "tp": 22343,
532
+ "fp": 6335,
533
+ "fn": 7301,
534
+ "precision": 0.7790989608759328,
535
+ "recall": 0.7537107003103495,
536
+ "f1": 0.7661945749459895,
537
+ "f2": 0.7586551129341138
538
+ },
539
+ "typed_common": {
540
+ "tp": 16579,
541
+ "fp": 9378,
542
+ "fn": 8704,
543
+ "precision": 0.6387101745193975,
544
+ "recall": 0.6557370565201914,
545
+ "f1": 0.647111631537861,
546
+ "f2": 0.6522594402347961
547
+ }
548
+ }
549
+ },
550
+ "by_source": {
551
+ "openpii": {
552
+ "untyped": {
553
+ "tp": 18323,
554
+ "fp": 3410,
555
+ "fn": 14038,
556
+ "precision": 0.8430957530023466,
557
+ "recall": 0.5662062359012392,
558
+ "f1": 0.6774503641808703,
559
+ "f2": 0.6060114964577946
560
+ },
561
+ "typed_common": {
562
+ "tp": 10379,
563
+ "fp": 3932,
564
+ "fn": 13545,
565
+ "precision": 0.7252463140241772,
566
+ "recall": 0.43383213509446583,
567
+ "f1": 0.5429057146593436,
568
+ "f2": 0.47174270728226386
569
+ }
570
+ },
571
+ "synthetic": {
572
+ "untyped": {
573
+ "tp": 25897,
574
+ "fp": 6743,
575
+ "fn": 9103,
576
+ "precision": 0.7934129901960785,
577
+ "recall": 0.7399142857142857,
578
+ "f1": 0.7657303370786517,
579
+ "f2": 0.7500289620018536
580
+ },
581
+ "typed_common": {
582
+ "tp": 16396,
583
+ "fp": 8848,
584
+ "fn": 8604,
585
+ "precision": 0.6495008714942164,
586
+ "recall": 0.65584,
587
+ "f1": 0.6526550433882652,
588
+ "f2": 0.6545622944013286
589
+ }
590
+ }
591
+ },
592
+ "typed_excluded_gold": {
593
+ "DATE_OF_BIRTH": 2500,
594
+ "GOVERNMENT_ID": 9208,
595
+ "IP_ADDRESS": 2500,
596
+ "FINANCIAL_ID": 4229
597
+ },
598
+ "unmapped_predictions": {
599
+ "private_date": 2556,
600
+ "account_number": 12262
601
+ },
602
+ "ignored_predictions": 9562,
603
+ "false_positives_per_document": 0.4560686371395203,
604
+ "negative_documents": {
605
+ "count": 2,
606
+ "with_false_positive": 1,
607
+ "false_positive_rate": 0.5
608
+ }
609
+ },
610
+ "performance": {
611
+ "latency_ms": {
612
+ "p50": 18.734499579295516,
613
+ "p95": 23.633455566596243,
614
+ "p99": 27.425626609474417
615
+ },
616
+ "documents_per_second": 51.418454390774706,
617
+ "characters_per_second": 9025.084354842385,
618
+ "input_tokens_per_second": 2411.1402536192577,
619
+ "input_tokens": 1043921,
620
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
621
+ "inference_seconds": 432.95739367837086,
622
+ "end_to_end_seconds": 438.70551711996086,
623
+ "sampled_peak_rss_bytes": 1698627584,
624
+ "peak_vram_allocated_bytes": 3093583360,
625
+ "peak_vram_reserved_bytes": 3334471680,
626
+ "cpu_process_percent_one_core": 274.4118669633264
627
+ }
628
+ },
629
+ "gliner": {
630
+ "metadata": {
631
+ "model": "gliner",
632
+ "dataset_manifest_sha256": "9af56087c7655f676c1cb64d214ed2d9d1a5cac78e09aaaee59abd16cd3a0f18",
633
+ "split": "test",
634
+ "document_order_sha256": "ca8c5376148ae463bfce0b324436e7f8e43091c3b9c6c3e1d54ca0bf52596f5a",
635
+ "comparison_config_sha256": "808bf293786e733f809daa21722423c7c35719265e0ff977e809d6730f7873bb",
636
+ "implementation_sha256": "4cf94a19586c67811e411a011bdfe680e82c1f2c844920dfe2be00ff8080e5f5",
637
+ "documents": 22262,
638
+ "limit": null,
639
+ "sample_seed": null,
640
+ "common_categories": [
641
+ "ADDRESS",
642
+ "EMAIL",
643
+ "PERSON",
644
+ "PHONE",
645
+ "SECRET",
646
+ "URL"
647
+ ],
648
+ "device": "cuda",
649
+ "hardware": "NVIDIA GeForce RTX 4090",
650
+ "warmup_documents": 2,
651
+ "batch_size": 1,
652
+ "scoring": "exact_character_spans_v1",
653
+ "model_details": {
654
+ "requested_precision": "bf16",
655
+ "quantization": "none",
656
+ "torch_version": "2.8.0+cu128",
657
+ "model_id": "nvidia/gliner-PII",
658
+ "model_revision": "bd23e8ef4425fd04e34c5204ab49ffaa706eae79",
659
+ "license": "NVIDIA-Open-Model-License",
660
+ "weights_sha256": "a4dfd0dcbd718acc86dca65fa99f1097d2796c8d7a681e1bc42f40f946c03802",
661
+ "parameter_dtypes": {
662
+ "torch.bfloat16": 445463040
663
+ },
664
+ "gliner_version": "0.2.24",
665
+ "transformers_version": "4.57.3",
666
+ "label_prompts": [
667
+ "first_name",
668
+ "last_name",
669
+ "name",
670
+ "email",
671
+ "phone_number",
672
+ "street_address",
673
+ "address",
674
+ "url",
675
+ "api_key",
676
+ "password",
677
+ "http_cookie",
678
+ "cvv",
679
+ "pin",
680
+ "national_id",
681
+ "ssn",
682
+ "tax_id",
683
+ "account_number",
684
+ "bank_routing_number",
685
+ "credit_debit_card",
686
+ "swift_bic",
687
+ "date_of_birth",
688
+ "ipv4",
689
+ "ipv6"
690
+ ],
691
+ "threshold": 0.3,
692
+ "overlap_words": 32,
693
+ "max_words": 384,
694
+ "max_encoder_tokens": 512,
695
+ "span_scores": true,
696
+ "load_seconds": 11.514702324056998,
697
+ "label_mapping": {
698
+ "first_name": "PERSON",
699
+ "last_name": "PERSON",
700
+ "name": "PERSON",
701
+ "email": "EMAIL",
702
+ "phone_number": "PHONE",
703
+ "street_address": "ADDRESS",
704
+ "address": "ADDRESS",
705
+ "url": "URL",
706
+ "api_key": "SECRET",
707
+ "password": "SECRET",
708
+ "http_cookie": "SECRET",
709
+ "cvv": "SECRET",
710
+ "pin": "SECRET",
711
+ "national_id": "GOVERNMENT_ID",
712
+ "ssn": "GOVERNMENT_ID",
713
+ "tax_id": "GOVERNMENT_ID",
714
+ "account_number": "FINANCIAL_ID",
715
+ "bank_routing_number": "FINANCIAL_ID",
716
+ "credit_debit_card": "FINANCIAL_ID",
717
+ "swift_bic": "FINANCIAL_ID",
718
+ "date_of_birth": "DATE_OF_BIRTH",
719
+ "ipv4": "IP_ADDRESS",
720
+ "ipv6": "IP_ADDRESS"
721
+ }
722
+ }
723
+ },
724
+ "metrics": {
725
+ "documents": 22262,
726
+ "untyped": {
727
+ "tp": 38604,
728
+ "fp": 38046,
729
+ "fn": 28757,
730
+ "precision": 0.5036399217221135,
731
+ "recall": 0.5730912545835127,
732
+ "f1": 0.536125712619175,
733
+ "f2": 0.5577097551532243
734
+ },
735
+ "typed_common": {
736
+ "tp": 20006,
737
+ "fp": 39425,
738
+ "fn": 28918,
739
+ "precision": 0.33662566673958033,
740
+ "recall": 0.4089199574850789,
741
+ "f1": 0.3692676849245536,
742
+ "f2": 0.39207923896725944
743
+ },
744
+ "common_categories": [
745
+ "ADDRESS",
746
+ "EMAIL",
747
+ "PERSON",
748
+ "PHONE",
749
+ "SECRET",
750
+ "URL"
751
+ ],
752
+ "typed_by_category": {
753
+ "ADDRESS": {
754
+ "tp": 1893,
755
+ "fp": 5266,
756
+ "fn": 12494,
757
+ "precision": 0.2644224053638776,
758
+ "recall": 0.13157711823173698,
759
+ "f1": 0.17571707045391255,
760
+ "f2": 0.14627474616347538
761
+ },
762
+ "EMAIL": {
763
+ "tp": 4673,
764
+ "fp": 88,
765
+ "fn": 11,
766
+ "precision": 0.9815164881327452,
767
+ "recall": 0.9976515798462853,
768
+ "f1": 0.9895182636315512,
769
+ "f2": 0.9943822615653062
770
+ },
771
+ "PERSON": {
772
+ "tp": 1773,
773
+ "fp": 32615,
774
+ "fn": 13732,
775
+ "precision": 0.051558683261602886,
776
+ "recall": 0.11435020960980329,
777
+ "f1": 0.07107209428176298,
778
+ "f2": 0.09195294996265871
779
+ },
780
+ "PHONE": {
781
+ "tp": 1667,
782
+ "fp": 183,
783
+ "fn": 181,
784
+ "precision": 0.9010810810810811,
785
+ "recall": 0.9020562770562771,
786
+ "f1": 0.9015684153596538,
787
+ "f2": 0.9018610690326769
788
+ },
789
+ "SECRET": {
790
+ "tp": 7500,
791
+ "fp": 1264,
792
+ "fn": 0,
793
+ "precision": 0.8557736193518941,
794
+ "recall": 1.0,
795
+ "f1": 0.9222823413674373,
796
+ "f2": 0.9673924259622331
797
+ },
798
+ "URL": {
799
+ "tp": 2500,
800
+ "fp": 9,
801
+ "fn": 2500,
802
+ "precision": 0.9964129135113591,
803
+ "recall": 0.5,
804
+ "f1": 0.6658676255160474,
805
+ "f2": 0.5553334221866809
806
+ }
807
+ },
808
+ "untyped_recall_by_gold_category": {
809
+ "ADDRESS": {
810
+ "matched": 2801,
811
+ "total": 14387,
812
+ "recall": 0.1946896503788142
813
+ },
814
+ "DATE_OF_BIRTH": {
815
+ "matched": 2500,
816
+ "total": 2500,
817
+ "recall": 1.0
818
+ },
819
+ "EMAIL": {
820
+ "matched": 4673,
821
+ "total": 4684,
822
+ "recall": 0.9976515798462853
823
+ },
824
+ "FINANCIAL_ID": {
825
+ "matched": 4091,
826
+ "total": 4229,
827
+ "recall": 0.967368172144715
828
+ },
829
+ "GOVERNMENT_ID": {
830
+ "matched": 8516,
831
+ "total": 9208,
832
+ "recall": 0.924847958297133
833
+ },
834
+ "IP_ADDRESS": {
835
+ "matched": 2500,
836
+ "total": 2500,
837
+ "recall": 1.0
838
+ },
839
+ "PERSON": {
840
+ "matched": 1796,
841
+ "total": 15505,
842
+ "recall": 0.11583360206385038
843
+ },
844
+ "PHONE": {
845
+ "matched": 1727,
846
+ "total": 1848,
847
+ "recall": 0.9345238095238095
848
+ },
849
+ "SECRET": {
850
+ "matched": 7500,
851
+ "total": 7500,
852
+ "recall": 1.0
853
+ },
854
+ "URL": {
855
+ "matched": 2500,
856
+ "total": 5000,
857
+ "recall": 0.5
858
+ }
859
+ },
860
+ "by_language": {
861
+ "en": {
862
+ "untyped": {
863
+ "tp": 22563,
864
+ "fp": 19048,
865
+ "fn": 15154,
866
+ "precision": 0.5422364278676312,
867
+ "recall": 0.5982183100458679,
868
+ "f1": 0.5688533682936667,
869
+ "f2": 0.586115887966999
870
+ },
871
+ "typed_common": {
872
+ "tp": 8490,
873
+ "fp": 20097,
874
+ "fn": 15151,
875
+ "precision": 0.2969881414629027,
876
+ "recall": 0.35912186455733686,
877
+ "f1": 0.32511296622501334,
878
+ "f2": 0.34469878441912777
879
+ }
880
+ },
881
+ "es": {
882
+ "untyped": {
883
+ "tp": 16041,
884
+ "fp": 18998,
885
+ "fn": 13603,
886
+ "precision": 0.4578041610776563,
887
+ "recall": 0.5411213061665092,
888
+ "f1": 0.4959881267102639,
889
+ "f2": 0.5221169807635974
890
+ },
891
+ "typed_common": {
892
+ "tp": 11516,
893
+ "fp": 19328,
894
+ "fn": 13767,
895
+ "precision": 0.3733627285695759,
896
+ "recall": 0.45548392200292687,
897
+ "f1": 0.4103550875692626,
898
+ "f2": 0.4362914469297448
899
+ }
900
+ }
901
+ },
902
+ "by_source": {
903
+ "openpii": {
904
+ "untyped": {
905
+ "tp": 16079,
906
+ "fp": 18136,
907
+ "fn": 16282,
908
+ "precision": 0.469940084758147,
909
+ "recall": 0.49686350854423533,
910
+ "f1": 0.4830269166065849,
911
+ "f2": 0.491234823627176
912
+ },
913
+ "typed_common": {
914
+ "tp": 7485,
915
+ "fp": 19502,
916
+ "fn": 16439,
917
+ "precision": 0.2773557638863156,
918
+ "recall": 0.31286574151479685,
919
+ "f1": 0.29404254483314024,
920
+ "f2": 0.30505449002714313
921
+ }
922
+ },
923
+ "synthetic": {
924
+ "untyped": {
925
+ "tp": 22525,
926
+ "fp": 19910,
927
+ "fn": 12475,
928
+ "precision": 0.530811829857429,
929
+ "recall": 0.6435714285714286,
930
+ "f1": 0.5817782656421515,
931
+ "f2": 0.6173431633184421
932
+ },
933
+ "typed_common": {
934
+ "tp": 12521,
935
+ "fp": 19923,
936
+ "fn": 12479,
937
+ "precision": 0.3859265195413636,
938
+ "recall": 0.50084,
939
+ "f1": 0.4359376088016155,
940
+ "f2": 0.47269034459847187
941
+ }
942
+ }
943
+ },
944
+ "typed_excluded_gold": {
945
+ "DATE_OF_BIRTH": 2500,
946
+ "GOVERNMENT_ID": 9208,
947
+ "IP_ADDRESS": 2500,
948
+ "FINANCIAL_ID": 4229
949
+ },
950
+ "unmapped_predictions": {},
951
+ "ignored_predictions": 7486,
952
+ "false_positives_per_document": 1.7090108705417304,
953
+ "negative_documents": {
954
+ "count": 2,
955
+ "with_false_positive": 2,
956
+ "false_positive_rate": 1.0
957
+ }
958
+ },
959
+ "performance": {
960
+ "latency_ms": {
961
+ "p50": 38.92561804968864,
962
+ "p95": 50.08259153692052,
963
+ "p99": 59.749936242587864
964
+ },
965
+ "documents_per_second": 24.541077877489485,
966
+ "characters_per_second": 4307.505945624785,
967
+ "input_tokens_per_second": 1203.8577138053818,
968
+ "input_tokens": 1092058,
969
+ "input_token_definition": "model tokenizer on original text; excludes prompt and repeated windows",
970
+ "inference_seconds": 907.1321199147496,
971
+ "end_to_end_seconds": 918.7948913769796,
972
+ "sampled_peak_rss_bytes": 2114744320,
973
+ "peak_vram_allocated_bytes": 981291520,
974
+ "peak_vram_reserved_bytes": 1019215872,
975
+ "cpu_process_percent_one_core": 100.08653820678396
976
+ }
977
+ }
978
+ }
979
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130ea7b3a1de096aa5a1c32500d82a8157546c83607d5f71e361df0710fb9d7b
3
+ size 2384403244
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|endoftext|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff