Token Classification
Transformers
Core ML
ONNX
Safetensors
bert
pii
pii-detection
pii-masking
redaction
privacy
on-device
distillation
Eval Results (legacy)
Instructions to use amsintelligence/masker-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amsintelligence/masker-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="amsintelligence/masker-mini")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("amsintelligence/masker-mini") model = AutoModelForTokenClassification.from_pretrained("amsintelligence/masker-mini", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit Β·
8b00143
0
Parent(s):
Release: masker-mini
Browse files- .gitattributes +35 -0
- LICENSE +91 -0
- NOTICE +9 -0
- README.md +216 -0
- added_tokens.json +3 -0
- config.json +126 -0
- coreml/masker_mini_4bit.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- coreml/masker_mini_4bit.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- coreml/masker_mini_4bit.mlpackage/Manifest.json +18 -0
- model.safetensors +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int4.onnx +3 -0
- special_tokens_map.json +51 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +858 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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
|
LICENSE
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Offchain Studio Source License, Version 1.0
|
| 2 |
+
|
| 3 |
+
Dated: 6 July 2026
|
| 4 |
+
|
| 5 |
+
Licensor: Offchain Studio, registered with the Dutch Chamber of Commerce (Kamer van Koophandel) under KvK number 92717810.
|
| 6 |
+
|
| 7 |
+
This is a source-available license. It is not an open source license as defined by the Open Source Initiative, because it limits free use by size.
|
| 8 |
+
|
| 9 |
+
## 1. Acceptance
|
| 10 |
+
|
| 11 |
+
By using the Software you agree to this license. If you do not agree, you have no license. The obligations in this license are both conditions of the licenses granted to you and independent obligations you owe the Licensor.
|
| 12 |
+
|
| 13 |
+
## 2. Definitions
|
| 14 |
+
|
| 15 |
+
- **Licensor** means Offchain Studio, KvK number 92717810.
|
| 16 |
+
- **Software** means each work that the Licensor releases under this license, including its source code, model weights, and documentation, as identified in the notice that accompanies that work.
|
| 17 |
+
- **Notice** means the file the Licensor distributes with the Software that identifies the Software, its functional category, the Licensor, and the contact address for commercial licensing.
|
| 18 |
+
- **Output** means any data the Software produces, including predictions, labels, redactions, embeddings, logits, and generated text.
|
| 19 |
+
- **You** means the individual or legal entity exercising rights under this license.
|
| 20 |
+
- **Your Company** means you, together with every entity that controls you, is controlled by you, or is under common control with you. Control means holding a majority of voting rights, or the power to direct management by contract or otherwise.
|
| 21 |
+
- **Use** means anything you do with the Software that requires one of the licenses granted here.
|
| 22 |
+
- **Monthly Active Devices** (**MAD**) means the number of distinct end-user devices on which the Software executes at least once during a calendar month, counted across all applications and services of Your Company.
|
| 23 |
+
- **Revenue** means the total worldwide gross revenue of Your Company over its most recent completed financial year, determined under the accounting standards Your Company applies to its statutory accounts.
|
| 24 |
+
- **Permitted Use** has the meaning given in Section 4.
|
| 25 |
+
- **Commercial License** means a separate written license from the Licensor covering use beyond Permitted Use.
|
| 26 |
+
|
| 27 |
+
## 3. Copyright and Patent License
|
| 28 |
+
|
| 29 |
+
Subject to this license, the Licensor grants you a worldwide, royalty-free, non-exclusive license to use, reproduce, modify, create derivative works of, and distribute the Software, solely for Permitted Use.
|
| 30 |
+
|
| 31 |
+
The Licensor also grants you, for Permitted Use, a license under patent claims the Licensor can license that you would infringe by using the Software as provided. This patent license ends immediately if you or Your Company assert, in any forum, that the Software infringes a patent.
|
| 32 |
+
|
| 33 |
+
## 4. Permitted Use (free tier)
|
| 34 |
+
|
| 35 |
+
Your Use is Permitted Use only while **both** of the following are true for Your Company:
|
| 36 |
+
|
| 37 |
+
(a) MAD does not exceed **150,000** in any calendar month; and
|
| 38 |
+
|
| 39 |
+
(b) Revenue does not exceed **EUR 1,000,000**.
|
| 40 |
+
|
| 41 |
+
If **either** threshold is exceeded, your Use stops being Permitted Use, and you need a Commercial License to continue using the Software.
|
| 42 |
+
|
| 43 |
+
## 5. Commercial License
|
| 44 |
+
|
| 45 |
+
If your Use is not Permitted Use, you must obtain a Commercial License before you continue using the Software.
|
| 46 |
+
|
| 47 |
+
The Licensor will offer a Commercial License on fair and reasonable terms, and will not discriminate between licensees in comparable situations. Request one at the contact address stated in the Notice.
|
| 48 |
+
|
| 49 |
+
## 6. Restrictions on training other models
|
| 50 |
+
|
| 51 |
+
Section 3 lets you modify the Software and create derivative works of it for Permitted Use. This section limits how you may use the Software and its Output to build a separate model.
|
| 52 |
+
|
| 53 |
+
You may not use the Software, its Output, or logs of its Output to train, fine-tune, distill, or otherwise develop a machine learning model that provides functionality substantially similar to the Software. Where the Notice states a functional category for the Software, a model that provides functionality in that category is treated as substantially similar. Creating a derivative work of the Software itself under Section 3 is not restricted by this section.
|
| 54 |
+
|
| 55 |
+
This restriction is a contractual obligation and does not depend on whether copyright protects the Output. The Licensor expressly reserves, under Article 4(3) of Directive (EU) 2019/790, the right to opt out of text and data mining of the Software and its Output.
|
| 56 |
+
|
| 57 |
+
## 7. Conditions on distribution
|
| 58 |
+
|
| 59 |
+
When you distribute the Software or a derivative of it, you must:
|
| 60 |
+
|
| 61 |
+
(a) include a copy of this license, or its URL, and a copy of the Notice; and
|
| 62 |
+
|
| 63 |
+
(b) keep intact all copyright and license notices, and any line beginning "Required Notice:" that the Licensor includes with the Software.
|
| 64 |
+
|
| 65 |
+
You may not sublicense the Software. Each recipient receives its license directly from the Licensor under these terms.
|
| 66 |
+
|
| 67 |
+
## 8. Verification
|
| 68 |
+
|
| 69 |
+
Once per calendar year, on 14 days' written notice, the Licensor may ask you to confirm in writing Your Company's MAD and Revenue for the relevant period. You must respond accurately. The Licensor will keep that information confidential and use it only to check compliance with this license.
|
| 70 |
+
|
| 71 |
+
## 9. Term and termination
|
| 72 |
+
|
| 73 |
+
This license lasts as long as the Licensor holds copyright in the Software.
|
| 74 |
+
|
| 75 |
+
If you breach this license, your licenses end automatically. If the Licensor notifies you of the breach in writing, and you cure it and take reasonable steps to correct past breaches within 30 days of that notice, your licenses are reinstated. This reinstatement applies only to your first such notice. A later breach ends your licenses permanently.
|
| 76 |
+
|
| 77 |
+
## 10. No warranty
|
| 78 |
+
|
| 79 |
+
To the maximum extent permitted by law, the Software is provided "as is", without any warranty or condition. The Licensor does not warrant that the Software is error-free, accurate, or fit for any particular purpose.
|
| 80 |
+
|
| 81 |
+
## 11. Liability
|
| 82 |
+
|
| 83 |
+
To the maximum extent permitted by law, the Licensor is not liable for any damage arising out of this license or out of use of the Software. This limitation does not apply to damage caused by the Licensor's intent (opzet) or deliberate recklessness (bewuste roekeloosheid), and does not exclude any liability that cannot be excluded under mandatory Dutch law.
|
| 84 |
+
|
| 85 |
+
## 12. Governing law and jurisdiction
|
| 86 |
+
|
| 87 |
+
This license is governed by the laws of the Netherlands, excluding its conflict-of-law rules and the UN Convention on Contracts for the International Sale of Goods (CISG). Disputes arising out of or relating to this license are submitted exclusively to the District Court of Amsterdam (Rechtbank Amsterdam), without prejudice to any jurisdiction that mandatory law assigns elsewhere, including mandatory consumer rules.
|
| 88 |
+
|
| 89 |
+
## 13. Miscellaneous
|
| 90 |
+
|
| 91 |
+
If any provision of this license is held unenforceable, the rest stays in effect, and the unenforceable provision applies to the maximum extent permitted. For Permitted Use, this license is the entire agreement about the Software between you and the Licensor. Only the Licensor can change this license, by publishing a new version.
|
NOTICE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This work is licensed under the Offchain Studio Source License, Version 1.0.
|
| 2 |
+
Full terms: https://ai.basement.dev/license
|
| 3 |
+
|
| 4 |
+
Software: MASKER-MINI
|
| 5 |
+
Functional category: PII detection and redaction
|
| 6 |
+
Licensor: Offchain Studio, KvK 92717810
|
| 7 |
+
Commercial license requests: licensing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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: offchain-studio-source-license-1.0
|
| 4 |
+
license_link: https://ai.basement.dev/license
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: token-classification
|
| 7 |
+
base_model: amsintelligence/masker
|
| 8 |
+
base_model_relation: finetune
|
| 9 |
+
datasets:
|
| 10 |
+
- ai4privacy/pii-masking-openpii-1m
|
| 11 |
+
language:
|
| 12 |
+
- bg
|
| 13 |
+
- cs
|
| 14 |
+
- da
|
| 15 |
+
- de
|
| 16 |
+
- el
|
| 17 |
+
- en
|
| 18 |
+
- es
|
| 19 |
+
- et
|
| 20 |
+
- fi
|
| 21 |
+
- fr
|
| 22 |
+
- hr
|
| 23 |
+
- hu
|
| 24 |
+
- it
|
| 25 |
+
- lt
|
| 26 |
+
- lv
|
| 27 |
+
- nl
|
| 28 |
+
- pl
|
| 29 |
+
- pt
|
| 30 |
+
- ro
|
| 31 |
+
- sk
|
| 32 |
+
- sl
|
| 33 |
+
- sr
|
| 34 |
+
- sv
|
| 35 |
+
tags:
|
| 36 |
+
- token-classification
|
| 37 |
+
- pii
|
| 38 |
+
- pii-detection
|
| 39 |
+
- pii-masking
|
| 40 |
+
- redaction
|
| 41 |
+
- privacy
|
| 42 |
+
- on-device
|
| 43 |
+
- onnx
|
| 44 |
+
- coreml
|
| 45 |
+
- distillation
|
| 46 |
+
metrics:
|
| 47 |
+
- f1
|
| 48 |
+
model-index:
|
| 49 |
+
- name: masker-mini
|
| 50 |
+
results:
|
| 51 |
+
- task:
|
| 52 |
+
type: token-classification
|
| 53 |
+
name: PII span detection
|
| 54 |
+
dataset:
|
| 55 |
+
name: pii-masking-openpii-1m (validation)
|
| 56 |
+
type: ai4privacy/pii-masking-openpii-1m
|
| 57 |
+
metrics:
|
| 58 |
+
- type: f1
|
| 59 |
+
name: Strict span F1
|
| 60 |
+
value: 0.965
|
| 61 |
+
- type: f1
|
| 62 |
+
name: Typed F1
|
| 63 |
+
value: 0.991
|
| 64 |
+
- type: recall
|
| 65 |
+
name: Leak-safe recall
|
| 66 |
+
value: 0.998
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
# Masker Mini
|
| 70 |
+
|
| 71 |
+
**Masker-mini** is the on-device sibling of
|
| 72 |
+
[**masker**](https://huggingface.co/amsintelligence/masker): a 6-layer distilled
|
| 73 |
+
PII detector for **23 European languages** that keeps ~99% of the teacher's
|
| 74 |
+
strict-span F1 while shrinking to as little as **17 MB** (4-bit Core ML).
|
| 75 |
+
|
| 76 |
+
It runs fully offline, no PII leaves the device.
|
| 77 |
+
|
| 78 |
+
| artifact | format | size | strict F1 |
|
| 79 |
+
| ----------------------------------- | ------------------------ | --------- | --------- |
|
| 80 |
+
| `model.safetensors` | PyTorch fp16 | 68 MB | 0.965 |
|
| 81 |
+
| `onnx/model_fp16.onnx` | ONNX fp16 (portable) | 68 MB | 0.965 |
|
| 82 |
+
| `onnx/model_int4.onnx` | ONNX 4-bit (ONNX Runtime) | **22 MB** | 0.965 |
|
| 83 |
+
| `coreml/masker_mini_4bit.mlpackage` | Core ML 4-bit (Apple NE) | **17 MB** | 0.965 |
|
| 84 |
+
|
| 85 |
+
## Model type & training
|
| 86 |
+
|
| 87 |
+
Masker Mini is a **6-layer BERT-architecture token classifier** (hidden size 384,
|
| 88 |
+
12 heads, ~35.6M parameters), a MiniLM-class encoder. It is trained by **knowledge
|
| 89 |
+
distillation** from `masker`.
|
| 90 |
+
|
| 91 |
+
After distillation the vocabulary was frequency-pruned,
|
| 92 |
+
shrinking the embedding table to land the whole network at ~35.6M parameters.
|
| 93 |
+
|
| 94 |
+
Three deployment artifacts are provided:
|
| 95 |
+
|
| 96 |
+
- **ONNX fp16** (68 MB): portable, runs anywhere via ONNX Runtime
|
| 97 |
+
(Android / iOS / web / server); numerically identical to the PyTorch model.
|
| 98 |
+
- **ONNX 4-bit** (22 MB): weight-only block quantization (`MatMulNBits` +
|
| 99 |
+
`GatherBlockQuantized`) of the Linear layers _and_ the embedding table. Needs
|
| 100 |
+
ONNX Runtime β₯ 1.18 for the 4-bit ops; 99.8% token-faithful to fp16.
|
| 101 |
+
- **Core ML, 4-bit palettized** (17 MB): weight-only k-means palettization for
|
| 102 |
+
the Apple Neural Engine (iOS 18 / macOS 15+). Palettization is effectively
|
| 103 |
+
lossless here (Ξ strict F1 = β0.0002 vs fp16).
|
| 104 |
+
|
| 105 |
+
It emits the **same 12 entity types** as
|
| 106 |
+
[masker](https://huggingface.co/amsintelligence/masker) (48 BIOES labels + `O`)
|
| 107 |
+
and slots into the same rules-layer pipeline for structured PII.
|
| 108 |
+
|
| 109 |
+
## Usage
|
| 110 |
+
|
| 111 |
+
For a plain PyTorch / Transformers quick start, the snippet on the
|
| 112 |
+
[masker](https://huggingface.co/amsintelligence/masker) card runs unchanged, just
|
| 113 |
+
point it at `amsintelligence/masker-mini`.
|
| 114 |
+
|
| 115 |
+
What this repo is actually for is the two on-device builds:
|
| 116 |
+
|
| 117 |
+
**ONNX Runtime** (portable for Android, iOS, web, server)
|
| 118 |
+
|
| 119 |
+
```python
|
| 120 |
+
import onnxruntime as ort, numpy as np
|
| 121 |
+
from transformers import AutoTokenizer
|
| 122 |
+
|
| 123 |
+
tok = AutoTokenizer.from_pretrained("amsintelligence/masker-mini")
|
| 124 |
+
sess = ort.InferenceSession("onnx/model_fp16.onnx")
|
| 125 |
+
text = "Stuur de factuur naar Sanne de Groot in Utrecht."
|
| 126 |
+
feed = {k: v.astype(np.int64) for k, v in tok(text, return_tensors="np").items()}
|
| 127 |
+
logits = sess.run(None, feed)[0] # [1, seq_len, 49] BIOES logits -> argmax + decode
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
For the smallest portable build, swap in `onnx/model_int4.onnx` (22 MB, 4-bit) β
|
| 131 |
+
same inputs/outputs, needs ONNX Runtime β₯ 1.18.
|
| 132 |
+
|
| 133 |
+
**Core ML**, add `coreml/masker_mini_4bit.mlpackage` to an Xcode target.
|
| 134 |
+
|
| 135 |
+
Inputs `input_ids`, `attention_mask`, `token_type_ids`
|
| 136 |
+
(`Int32`, fixed length 256); output `logits`. The BIOESβspan decode is the same
|
| 137 |
+
handful of lines shown on the masker card.
|
| 138 |
+
|
| 139 |
+
## Evaluation
|
| 140 |
+
|
| 141 |
+
openpii-1m validation, span-level, boundary-exact. **In-distribution β see
|
| 142 |
+
Limitations.** Numbers below are the **4-bit Core ML** build (fp16/PyTorch are
|
| 143 |
+
within Β±0.001).
|
| 144 |
+
|
| 145 |
+
**Overall:** strict F1 **0.965** Β· typed F1 0.991 Β· leak-safe recall 0.998.
|
| 146 |
+
Distillation gap vs the masker teacher (0.982): **β0.007**.
|
| 147 |
+
|
| 148 |
+
**Per-type strict F1**
|
| 149 |
+
|
| 150 |
+
| entity | F1 | entity | F1 |
|
| 151 |
+
| ------------- | ----- | --------------- | ----- |
|
| 152 |
+
| DATE | 0.999 | AGE | 0.969 |
|
| 153 |
+
| EMAIL | 0.999 | BUILDING_NUMBER | 0.969 |
|
| 154 |
+
| CREDIT_CARD | 0.999 | CITY | 0.954 |
|
| 155 |
+
| PHONE | 0.998 | STREET_NAME | 0.922 |
|
| 156 |
+
| GOVERNMENT_ID | 0.998 | GIVEN_NAME | 0.910 |
|
| 157 |
+
| ZIP_CODE | 0.994 | SURNAME | 0.900 |
|
| 158 |
+
|
| 159 |
+
**By language**
|
| 160 |
+
|
| 161 |
+
| split | strict F1 |
|
| 162 |
+
| ------------------------------ | ------------- |
|
| 163 |
+
| English | 0.974 |
|
| 164 |
+
| Non-English (22 langs, pooled) | 0.971 |
|
| 165 |
+
| Dutch (flagship) | 0.968 |
|
| 166 |
+
| Per-language range | 0.960 - 0.983 |
|
| 167 |
+
|
| 168 |
+
## Limitations & biases
|
| 169 |
+
|
| 170 |
+
- **This is a compressed model.** It trails the full-size masker by ~0.7 strict-F1
|
| 171 |
+
points, and the loss is not uniform: it lands almost entirely on `GIVEN_NAME` /
|
| 172 |
+
`SURNAME`, plus `CITY` / `STREET_NAME` from the reduced 64K vocabulary. Structured
|
| 173 |
+
types (email, phone, IDs, cards, dates) stay β₯ 0.99. The one language-specific
|
| 174 |
+
soft spot is Dutch person-name boundaries (_tussenvoegsels_). If you need the top
|
| 175 |
+
half-point back, use masker.
|
| 176 |
+
- Scores are **in-distribution** (synthetic openpii), treat them as an upper
|
| 177 |
+
bound, measure on your own text, and design for residual leakage rather than
|
| 178 |
+
assuming full coverage.
|
| 179 |
+
|
| 180 |
+
## Credits & attribution
|
| 181 |
+
|
| 182 |
+
Distilled from **masker**, which is itself a derivative of:
|
| 183 |
+
|
| 184 |
+
- **Backbone / tokenizer lineage:** [`microsoft/mdeberta-v3-base`](https://huggingface.co/microsoft/mdeberta-v3-base)
|
| 185 |
+
by Microsoft; **MIT License** (masker-mini reuses mDeBERTa's SentencePiece
|
| 186 |
+
tokenizer). DeBERTaV3: He, Gao & Chen, 2021
|
| 187 |
+
([arXiv:2111.09543](https://arxiv.org/abs/2111.09543)).
|
| 188 |
+
- **Training data:** [`ai4privacy/pii-masking-openpii-1m`](https://huggingface.co/datasets/ai4privacy/pii-masking-openpii-1m)
|
| 189 |
+
by **Ai4Privacy**; **CC-BY-4.0**. Attribution required; please retain this
|
| 190 |
+
credit in downstream use.
|
| 191 |
+
|
| 192 |
+
## License
|
| 193 |
+
|
| 194 |
+
Licensed under the **Offchain Studio Source License, Version 1.0**, a
|
| 195 |
+
source-available license. Full terms: <https://ai.basement.dev/license>.
|
| 196 |
+
|
| 197 |
+
Commercial-license requests: `licensing@basement.dev`.
|
| 198 |
+
|
| 199 |
+
See the accompanying **`NOTICE`** file; its Required
|
| 200 |
+
Notice line _MASKER-MINI Β© 2026 Offchain Studio_ must be retained in
|
| 201 |
+
redistribution.
|
| 202 |
+
|
| 203 |
+
The underlying components keep their own (attribution-only) terms, retained in
|
| 204 |
+
Credits above: the mDeBERTa lineage is **MIT** and the openpii training data is
|
| 205 |
+
**CC-BY-4.0**.
|
| 206 |
+
|
| 207 |
+
## Citation
|
| 208 |
+
|
| 209 |
+
```bibtex
|
| 210 |
+
@software{masker_mini,
|
| 211 |
+
title = {masker-mini: on-device PII detection for 23 European languages},
|
| 212 |
+
year = {2026},
|
| 213 |
+
note = {6-layer distillation of masker (mDeBERTa-v3); ONNX + Core ML},
|
| 214 |
+
url = {https://huggingface.co/amsintelligence/masker-mini}
|
| 215 |
+
}
|
| 216 |
+
```
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[MASK]": 64360
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForTokenClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 384,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "O",
|
| 13 |
+
"1": "B-AGE",
|
| 14 |
+
"2": "I-AGE",
|
| 15 |
+
"3": "E-AGE",
|
| 16 |
+
"4": "S-AGE",
|
| 17 |
+
"5": "B-BUILDING_NUMBER",
|
| 18 |
+
"6": "I-BUILDING_NUMBER",
|
| 19 |
+
"7": "E-BUILDING_NUMBER",
|
| 20 |
+
"8": "S-BUILDING_NUMBER",
|
| 21 |
+
"9": "B-CITY",
|
| 22 |
+
"10": "I-CITY",
|
| 23 |
+
"11": "E-CITY",
|
| 24 |
+
"12": "S-CITY",
|
| 25 |
+
"13": "B-CREDIT_CARD",
|
| 26 |
+
"14": "I-CREDIT_CARD",
|
| 27 |
+
"15": "E-CREDIT_CARD",
|
| 28 |
+
"16": "S-CREDIT_CARD",
|
| 29 |
+
"17": "B-DATE",
|
| 30 |
+
"18": "I-DATE",
|
| 31 |
+
"19": "E-DATE",
|
| 32 |
+
"20": "S-DATE",
|
| 33 |
+
"21": "B-EMAIL",
|
| 34 |
+
"22": "I-EMAIL",
|
| 35 |
+
"23": "E-EMAIL",
|
| 36 |
+
"24": "S-EMAIL",
|
| 37 |
+
"25": "B-GIVEN_NAME",
|
| 38 |
+
"26": "I-GIVEN_NAME",
|
| 39 |
+
"27": "E-GIVEN_NAME",
|
| 40 |
+
"28": "S-GIVEN_NAME",
|
| 41 |
+
"29": "B-GOVERNMENT_ID",
|
| 42 |
+
"30": "I-GOVERNMENT_ID",
|
| 43 |
+
"31": "E-GOVERNMENT_ID",
|
| 44 |
+
"32": "S-GOVERNMENT_ID",
|
| 45 |
+
"33": "B-PHONE",
|
| 46 |
+
"34": "I-PHONE",
|
| 47 |
+
"35": "E-PHONE",
|
| 48 |
+
"36": "S-PHONE",
|
| 49 |
+
"37": "B-STREET_NAME",
|
| 50 |
+
"38": "I-STREET_NAME",
|
| 51 |
+
"39": "E-STREET_NAME",
|
| 52 |
+
"40": "S-STREET_NAME",
|
| 53 |
+
"41": "B-SURNAME",
|
| 54 |
+
"42": "I-SURNAME",
|
| 55 |
+
"43": "E-SURNAME",
|
| 56 |
+
"44": "S-SURNAME",
|
| 57 |
+
"45": "B-ZIP_CODE",
|
| 58 |
+
"46": "I-ZIP_CODE",
|
| 59 |
+
"47": "E-ZIP_CODE",
|
| 60 |
+
"48": "S-ZIP_CODE"
|
| 61 |
+
},
|
| 62 |
+
"initializer_range": 0.02,
|
| 63 |
+
"intermediate_size": 1536,
|
| 64 |
+
"label2id": {
|
| 65 |
+
"B-AGE": 1,
|
| 66 |
+
"B-BUILDING_NUMBER": 5,
|
| 67 |
+
"B-CITY": 9,
|
| 68 |
+
"B-CREDIT_CARD": 13,
|
| 69 |
+
"B-DATE": 17,
|
| 70 |
+
"B-EMAIL": 21,
|
| 71 |
+
"B-GIVEN_NAME": 25,
|
| 72 |
+
"B-GOVERNMENT_ID": 29,
|
| 73 |
+
"B-PHONE": 33,
|
| 74 |
+
"B-STREET_NAME": 37,
|
| 75 |
+
"B-SURNAME": 41,
|
| 76 |
+
"B-ZIP_CODE": 45,
|
| 77 |
+
"E-AGE": 3,
|
| 78 |
+
"E-BUILDING_NUMBER": 7,
|
| 79 |
+
"E-CITY": 11,
|
| 80 |
+
"E-CREDIT_CARD": 15,
|
| 81 |
+
"E-DATE": 19,
|
| 82 |
+
"E-EMAIL": 23,
|
| 83 |
+
"E-GIVEN_NAME": 27,
|
| 84 |
+
"E-GOVERNMENT_ID": 31,
|
| 85 |
+
"E-PHONE": 35,
|
| 86 |
+
"E-STREET_NAME": 39,
|
| 87 |
+
"E-SURNAME": 43,
|
| 88 |
+
"E-ZIP_CODE": 47,
|
| 89 |
+
"I-AGE": 2,
|
| 90 |
+
"I-BUILDING_NUMBER": 6,
|
| 91 |
+
"I-CITY": 10,
|
| 92 |
+
"I-CREDIT_CARD": 14,
|
| 93 |
+
"I-DATE": 18,
|
| 94 |
+
"I-EMAIL": 22,
|
| 95 |
+
"I-GIVEN_NAME": 26,
|
| 96 |
+
"I-GOVERNMENT_ID": 30,
|
| 97 |
+
"I-PHONE": 34,
|
| 98 |
+
"I-STREET_NAME": 38,
|
| 99 |
+
"I-SURNAME": 42,
|
| 100 |
+
"I-ZIP_CODE": 46,
|
| 101 |
+
"O": 0,
|
| 102 |
+
"S-AGE": 4,
|
| 103 |
+
"S-BUILDING_NUMBER": 8,
|
| 104 |
+
"S-CITY": 12,
|
| 105 |
+
"S-CREDIT_CARD": 16,
|
| 106 |
+
"S-DATE": 20,
|
| 107 |
+
"S-EMAIL": 24,
|
| 108 |
+
"S-GIVEN_NAME": 28,
|
| 109 |
+
"S-GOVERNMENT_ID": 32,
|
| 110 |
+
"S-PHONE": 36,
|
| 111 |
+
"S-STREET_NAME": 40,
|
| 112 |
+
"S-SURNAME": 44,
|
| 113 |
+
"S-ZIP_CODE": 48
|
| 114 |
+
},
|
| 115 |
+
"layer_norm_eps": 1e-12,
|
| 116 |
+
"max_position_embeddings": 512,
|
| 117 |
+
"model_type": "bert",
|
| 118 |
+
"num_attention_heads": 12,
|
| 119 |
+
"num_hidden_layers": 6,
|
| 120 |
+
"pad_token_id": 0,
|
| 121 |
+
"position_embedding_type": "absolute",
|
| 122 |
+
"transformers_version": "4.57.6",
|
| 123 |
+
"type_vocab_size": 2,
|
| 124 |
+
"use_cache": true,
|
| 125 |
+
"vocab_size": 64361
|
| 126 |
+
}
|
coreml/masker_mini_4bit.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:916c7e5e84375ad6fcb0a5be73a1f8d3abefc14a3dd5ebad0cb76650c90a738a
|
| 3 |
+
size 71875
|
coreml/masker_mini_4bit.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49a3b4d2f75fd58bba47dd4183f8ca71a937379a8df81786cb0438b86883462d
|
| 3 |
+
size 17799010
|
coreml/masker_mini_4bit.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"67CFA8D6-3E3D-4E47-A023-ACA05483E764": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"7C701565-922A-4EEA-A9DF-1F68448CF5EB": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Specification",
|
| 13 |
+
"name": "model.mlmodel",
|
| 14 |
+
"path": "com.apple.CoreML/model.mlmodel"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"rootModelIdentifier": "7C701565-922A-4EEA-A9DF-1F68448CF5EB"
|
| 18 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75b05de44ea87720a5226fc8a688663df99cb4601e6a08823c2728628d1de2b2
|
| 3 |
+
size 71168658
|
onnx/model_fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcece622496c55835ac485bda83b5ae9c55cf070bceb8ba3fcf7e7e20f4a9652
|
| 3 |
+
size 71308586
|
onnx/model_int4.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed732502da5c5dcaaa3c8b07b9af0c295a3440d66fd39b82ffe12b055581c712
|
| 3 |
+
size 22456156
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "[CLS]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "[SEP]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "[MASK]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "[PAD]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "[SEP]",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "[UNK]",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": true,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
spm.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e722c36bad602a200b3d9dbba7684150edb5449bf3b1494839030107004b09b
|
| 3 |
+
size 1215690
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,858 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "[CLS]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "[SEP]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "[UNK]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": true,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"64260": {
|
| 36 |
+
"content": "β<extra_id_99>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": false
|
| 42 |
+
},
|
| 43 |
+
"64261": {
|
| 44 |
+
"content": "β<extra_id_98>",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": false
|
| 50 |
+
},
|
| 51 |
+
"64262": {
|
| 52 |
+
"content": "β<extra_id_97>",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": false
|
| 58 |
+
},
|
| 59 |
+
"64263": {
|
| 60 |
+
"content": "β<extra_id_96>",
|
| 61 |
+
"lstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"single_word": false,
|
| 65 |
+
"special": false
|
| 66 |
+
},
|
| 67 |
+
"64264": {
|
| 68 |
+
"content": "β<extra_id_95>",
|
| 69 |
+
"lstrip": false,
|
| 70 |
+
"normalized": false,
|
| 71 |
+
"rstrip": false,
|
| 72 |
+
"single_word": false,
|
| 73 |
+
"special": false
|
| 74 |
+
},
|
| 75 |
+
"64265": {
|
| 76 |
+
"content": "β<extra_id_94>",
|
| 77 |
+
"lstrip": false,
|
| 78 |
+
"normalized": false,
|
| 79 |
+
"rstrip": false,
|
| 80 |
+
"single_word": false,
|
| 81 |
+
"special": false
|
| 82 |
+
},
|
| 83 |
+
"64266": {
|
| 84 |
+
"content": "β<extra_id_93>",
|
| 85 |
+
"lstrip": false,
|
| 86 |
+
"normalized": false,
|
| 87 |
+
"rstrip": false,
|
| 88 |
+
"single_word": false,
|
| 89 |
+
"special": false
|
| 90 |
+
},
|
| 91 |
+
"64267": {
|
| 92 |
+
"content": "β<extra_id_92>",
|
| 93 |
+
"lstrip": false,
|
| 94 |
+
"normalized": false,
|
| 95 |
+
"rstrip": false,
|
| 96 |
+
"single_word": false,
|
| 97 |
+
"special": false
|
| 98 |
+
},
|
| 99 |
+
"64268": {
|
| 100 |
+
"content": "β<extra_id_91>",
|
| 101 |
+
"lstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"rstrip": false,
|
| 104 |
+
"single_word": false,
|
| 105 |
+
"special": false
|
| 106 |
+
},
|
| 107 |
+
"64269": {
|
| 108 |
+
"content": "β<extra_id_90>",
|
| 109 |
+
"lstrip": false,
|
| 110 |
+
"normalized": false,
|
| 111 |
+
"rstrip": false,
|
| 112 |
+
"single_word": false,
|
| 113 |
+
"special": false
|
| 114 |
+
},
|
| 115 |
+
"64270": {
|
| 116 |
+
"content": "β<extra_id_89>",
|
| 117 |
+
"lstrip": false,
|
| 118 |
+
"normalized": false,
|
| 119 |
+
"rstrip": false,
|
| 120 |
+
"single_word": false,
|
| 121 |
+
"special": false
|
| 122 |
+
},
|
| 123 |
+
"64271": {
|
| 124 |
+
"content": "β<extra_id_88>",
|
| 125 |
+
"lstrip": false,
|
| 126 |
+
"normalized": false,
|
| 127 |
+
"rstrip": false,
|
| 128 |
+
"single_word": false,
|
| 129 |
+
"special": false
|
| 130 |
+
},
|
| 131 |
+
"64272": {
|
| 132 |
+
"content": "β<extra_id_87>",
|
| 133 |
+
"lstrip": false,
|
| 134 |
+
"normalized": false,
|
| 135 |
+
"rstrip": false,
|
| 136 |
+
"single_word": false,
|
| 137 |
+
"special": false
|
| 138 |
+
},
|
| 139 |
+
"64273": {
|
| 140 |
+
"content": "β<extra_id_86>",
|
| 141 |
+
"lstrip": false,
|
| 142 |
+
"normalized": false,
|
| 143 |
+
"rstrip": false,
|
| 144 |
+
"single_word": false,
|
| 145 |
+
"special": false
|
| 146 |
+
},
|
| 147 |
+
"64274": {
|
| 148 |
+
"content": "β<extra_id_85>",
|
| 149 |
+
"lstrip": false,
|
| 150 |
+
"normalized": false,
|
| 151 |
+
"rstrip": false,
|
| 152 |
+
"single_word": false,
|
| 153 |
+
"special": false
|
| 154 |
+
},
|
| 155 |
+
"64275": {
|
| 156 |
+
"content": "β<extra_id_84>",
|
| 157 |
+
"lstrip": false,
|
| 158 |
+
"normalized": false,
|
| 159 |
+
"rstrip": false,
|
| 160 |
+
"single_word": false,
|
| 161 |
+
"special": false
|
| 162 |
+
},
|
| 163 |
+
"64276": {
|
| 164 |
+
"content": "β<extra_id_83>",
|
| 165 |
+
"lstrip": false,
|
| 166 |
+
"normalized": false,
|
| 167 |
+
"rstrip": false,
|
| 168 |
+
"single_word": false,
|
| 169 |
+
"special": false
|
| 170 |
+
},
|
| 171 |
+
"64277": {
|
| 172 |
+
"content": "β<extra_id_82>",
|
| 173 |
+
"lstrip": false,
|
| 174 |
+
"normalized": false,
|
| 175 |
+
"rstrip": false,
|
| 176 |
+
"single_word": false,
|
| 177 |
+
"special": false
|
| 178 |
+
},
|
| 179 |
+
"64278": {
|
| 180 |
+
"content": "β<extra_id_81>",
|
| 181 |
+
"lstrip": false,
|
| 182 |
+
"normalized": false,
|
| 183 |
+
"rstrip": false,
|
| 184 |
+
"single_word": false,
|
| 185 |
+
"special": false
|
| 186 |
+
},
|
| 187 |
+
"64279": {
|
| 188 |
+
"content": "β<extra_id_80>",
|
| 189 |
+
"lstrip": false,
|
| 190 |
+
"normalized": false,
|
| 191 |
+
"rstrip": false,
|
| 192 |
+
"single_word": false,
|
| 193 |
+
"special": false
|
| 194 |
+
},
|
| 195 |
+
"64280": {
|
| 196 |
+
"content": "β<extra_id_79>",
|
| 197 |
+
"lstrip": false,
|
| 198 |
+
"normalized": false,
|
| 199 |
+
"rstrip": false,
|
| 200 |
+
"single_word": false,
|
| 201 |
+
"special": false
|
| 202 |
+
},
|
| 203 |
+
"64281": {
|
| 204 |
+
"content": "β<extra_id_78>",
|
| 205 |
+
"lstrip": false,
|
| 206 |
+
"normalized": false,
|
| 207 |
+
"rstrip": false,
|
| 208 |
+
"single_word": false,
|
| 209 |
+
"special": false
|
| 210 |
+
},
|
| 211 |
+
"64282": {
|
| 212 |
+
"content": "β<extra_id_77>",
|
| 213 |
+
"lstrip": false,
|
| 214 |
+
"normalized": false,
|
| 215 |
+
"rstrip": false,
|
| 216 |
+
"single_word": false,
|
| 217 |
+
"special": false
|
| 218 |
+
},
|
| 219 |
+
"64283": {
|
| 220 |
+
"content": "β<extra_id_76>",
|
| 221 |
+
"lstrip": false,
|
| 222 |
+
"normalized": false,
|
| 223 |
+
"rstrip": false,
|
| 224 |
+
"single_word": false,
|
| 225 |
+
"special": false
|
| 226 |
+
},
|
| 227 |
+
"64284": {
|
| 228 |
+
"content": "β<extra_id_75>",
|
| 229 |
+
"lstrip": false,
|
| 230 |
+
"normalized": false,
|
| 231 |
+
"rstrip": false,
|
| 232 |
+
"single_word": false,
|
| 233 |
+
"special": false
|
| 234 |
+
},
|
| 235 |
+
"64285": {
|
| 236 |
+
"content": "β<extra_id_74>",
|
| 237 |
+
"lstrip": false,
|
| 238 |
+
"normalized": false,
|
| 239 |
+
"rstrip": false,
|
| 240 |
+
"single_word": false,
|
| 241 |
+
"special": false
|
| 242 |
+
},
|
| 243 |
+
"64286": {
|
| 244 |
+
"content": "β<extra_id_73>",
|
| 245 |
+
"lstrip": false,
|
| 246 |
+
"normalized": false,
|
| 247 |
+
"rstrip": false,
|
| 248 |
+
"single_word": false,
|
| 249 |
+
"special": false
|
| 250 |
+
},
|
| 251 |
+
"64287": {
|
| 252 |
+
"content": "β<extra_id_72>",
|
| 253 |
+
"lstrip": false,
|
| 254 |
+
"normalized": false,
|
| 255 |
+
"rstrip": false,
|
| 256 |
+
"single_word": false,
|
| 257 |
+
"special": false
|
| 258 |
+
},
|
| 259 |
+
"64288": {
|
| 260 |
+
"content": "β<extra_id_71>",
|
| 261 |
+
"lstrip": false,
|
| 262 |
+
"normalized": false,
|
| 263 |
+
"rstrip": false,
|
| 264 |
+
"single_word": false,
|
| 265 |
+
"special": false
|
| 266 |
+
},
|
| 267 |
+
"64289": {
|
| 268 |
+
"content": "β<extra_id_70>",
|
| 269 |
+
"lstrip": false,
|
| 270 |
+
"normalized": false,
|
| 271 |
+
"rstrip": false,
|
| 272 |
+
"single_word": false,
|
| 273 |
+
"special": false
|
| 274 |
+
},
|
| 275 |
+
"64290": {
|
| 276 |
+
"content": "β<extra_id_69>",
|
| 277 |
+
"lstrip": false,
|
| 278 |
+
"normalized": false,
|
| 279 |
+
"rstrip": false,
|
| 280 |
+
"single_word": false,
|
| 281 |
+
"special": false
|
| 282 |
+
},
|
| 283 |
+
"64291": {
|
| 284 |
+
"content": "β<extra_id_68>",
|
| 285 |
+
"lstrip": false,
|
| 286 |
+
"normalized": false,
|
| 287 |
+
"rstrip": false,
|
| 288 |
+
"single_word": false,
|
| 289 |
+
"special": false
|
| 290 |
+
},
|
| 291 |
+
"64292": {
|
| 292 |
+
"content": "β<extra_id_67>",
|
| 293 |
+
"lstrip": false,
|
| 294 |
+
"normalized": false,
|
| 295 |
+
"rstrip": false,
|
| 296 |
+
"single_word": false,
|
| 297 |
+
"special": false
|
| 298 |
+
},
|
| 299 |
+
"64293": {
|
| 300 |
+
"content": "β<extra_id_66>",
|
| 301 |
+
"lstrip": false,
|
| 302 |
+
"normalized": false,
|
| 303 |
+
"rstrip": false,
|
| 304 |
+
"single_word": false,
|
| 305 |
+
"special": false
|
| 306 |
+
},
|
| 307 |
+
"64294": {
|
| 308 |
+
"content": "β<extra_id_65>",
|
| 309 |
+
"lstrip": false,
|
| 310 |
+
"normalized": false,
|
| 311 |
+
"rstrip": false,
|
| 312 |
+
"single_word": false,
|
| 313 |
+
"special": false
|
| 314 |
+
},
|
| 315 |
+
"64295": {
|
| 316 |
+
"content": "β<extra_id_64>",
|
| 317 |
+
"lstrip": false,
|
| 318 |
+
"normalized": false,
|
| 319 |
+
"rstrip": false,
|
| 320 |
+
"single_word": false,
|
| 321 |
+
"special": false
|
| 322 |
+
},
|
| 323 |
+
"64296": {
|
| 324 |
+
"content": "β<extra_id_63>",
|
| 325 |
+
"lstrip": false,
|
| 326 |
+
"normalized": false,
|
| 327 |
+
"rstrip": false,
|
| 328 |
+
"single_word": false,
|
| 329 |
+
"special": false
|
| 330 |
+
},
|
| 331 |
+
"64297": {
|
| 332 |
+
"content": "β<extra_id_62>",
|
| 333 |
+
"lstrip": false,
|
| 334 |
+
"normalized": false,
|
| 335 |
+
"rstrip": false,
|
| 336 |
+
"single_word": false,
|
| 337 |
+
"special": false
|
| 338 |
+
},
|
| 339 |
+
"64298": {
|
| 340 |
+
"content": "β<extra_id_61>",
|
| 341 |
+
"lstrip": false,
|
| 342 |
+
"normalized": false,
|
| 343 |
+
"rstrip": false,
|
| 344 |
+
"single_word": false,
|
| 345 |
+
"special": false
|
| 346 |
+
},
|
| 347 |
+
"64299": {
|
| 348 |
+
"content": "β<extra_id_60>",
|
| 349 |
+
"lstrip": false,
|
| 350 |
+
"normalized": false,
|
| 351 |
+
"rstrip": false,
|
| 352 |
+
"single_word": false,
|
| 353 |
+
"special": false
|
| 354 |
+
},
|
| 355 |
+
"64300": {
|
| 356 |
+
"content": "β<extra_id_59>",
|
| 357 |
+
"lstrip": false,
|
| 358 |
+
"normalized": false,
|
| 359 |
+
"rstrip": false,
|
| 360 |
+
"single_word": false,
|
| 361 |
+
"special": false
|
| 362 |
+
},
|
| 363 |
+
"64301": {
|
| 364 |
+
"content": "β<extra_id_58>",
|
| 365 |
+
"lstrip": false,
|
| 366 |
+
"normalized": false,
|
| 367 |
+
"rstrip": false,
|
| 368 |
+
"single_word": false,
|
| 369 |
+
"special": false
|
| 370 |
+
},
|
| 371 |
+
"64302": {
|
| 372 |
+
"content": "β<extra_id_57>",
|
| 373 |
+
"lstrip": false,
|
| 374 |
+
"normalized": false,
|
| 375 |
+
"rstrip": false,
|
| 376 |
+
"single_word": false,
|
| 377 |
+
"special": false
|
| 378 |
+
},
|
| 379 |
+
"64303": {
|
| 380 |
+
"content": "β<extra_id_56>",
|
| 381 |
+
"lstrip": false,
|
| 382 |
+
"normalized": false,
|
| 383 |
+
"rstrip": false,
|
| 384 |
+
"single_word": false,
|
| 385 |
+
"special": false
|
| 386 |
+
},
|
| 387 |
+
"64304": {
|
| 388 |
+
"content": "β<extra_id_55>",
|
| 389 |
+
"lstrip": false,
|
| 390 |
+
"normalized": false,
|
| 391 |
+
"rstrip": false,
|
| 392 |
+
"single_word": false,
|
| 393 |
+
"special": false
|
| 394 |
+
},
|
| 395 |
+
"64305": {
|
| 396 |
+
"content": "β<extra_id_54>",
|
| 397 |
+
"lstrip": false,
|
| 398 |
+
"normalized": false,
|
| 399 |
+
"rstrip": false,
|
| 400 |
+
"single_word": false,
|
| 401 |
+
"special": false
|
| 402 |
+
},
|
| 403 |
+
"64306": {
|
| 404 |
+
"content": "β<extra_id_53>",
|
| 405 |
+
"lstrip": false,
|
| 406 |
+
"normalized": false,
|
| 407 |
+
"rstrip": false,
|
| 408 |
+
"single_word": false,
|
| 409 |
+
"special": false
|
| 410 |
+
},
|
| 411 |
+
"64307": {
|
| 412 |
+
"content": "β<extra_id_52>",
|
| 413 |
+
"lstrip": false,
|
| 414 |
+
"normalized": false,
|
| 415 |
+
"rstrip": false,
|
| 416 |
+
"single_word": false,
|
| 417 |
+
"special": false
|
| 418 |
+
},
|
| 419 |
+
"64308": {
|
| 420 |
+
"content": "β<extra_id_51>",
|
| 421 |
+
"lstrip": false,
|
| 422 |
+
"normalized": false,
|
| 423 |
+
"rstrip": false,
|
| 424 |
+
"single_word": false,
|
| 425 |
+
"special": false
|
| 426 |
+
},
|
| 427 |
+
"64309": {
|
| 428 |
+
"content": "β<extra_id_50>",
|
| 429 |
+
"lstrip": false,
|
| 430 |
+
"normalized": false,
|
| 431 |
+
"rstrip": false,
|
| 432 |
+
"single_word": false,
|
| 433 |
+
"special": false
|
| 434 |
+
},
|
| 435 |
+
"64310": {
|
| 436 |
+
"content": "β<extra_id_49>",
|
| 437 |
+
"lstrip": false,
|
| 438 |
+
"normalized": false,
|
| 439 |
+
"rstrip": false,
|
| 440 |
+
"single_word": false,
|
| 441 |
+
"special": false
|
| 442 |
+
},
|
| 443 |
+
"64311": {
|
| 444 |
+
"content": "β<extra_id_48>",
|
| 445 |
+
"lstrip": false,
|
| 446 |
+
"normalized": false,
|
| 447 |
+
"rstrip": false,
|
| 448 |
+
"single_word": false,
|
| 449 |
+
"special": false
|
| 450 |
+
},
|
| 451 |
+
"64312": {
|
| 452 |
+
"content": "β<extra_id_47>",
|
| 453 |
+
"lstrip": false,
|
| 454 |
+
"normalized": false,
|
| 455 |
+
"rstrip": false,
|
| 456 |
+
"single_word": false,
|
| 457 |
+
"special": false
|
| 458 |
+
},
|
| 459 |
+
"64313": {
|
| 460 |
+
"content": "β<extra_id_46>",
|
| 461 |
+
"lstrip": false,
|
| 462 |
+
"normalized": false,
|
| 463 |
+
"rstrip": false,
|
| 464 |
+
"single_word": false,
|
| 465 |
+
"special": false
|
| 466 |
+
},
|
| 467 |
+
"64314": {
|
| 468 |
+
"content": "β<extra_id_45>",
|
| 469 |
+
"lstrip": false,
|
| 470 |
+
"normalized": false,
|
| 471 |
+
"rstrip": false,
|
| 472 |
+
"single_word": false,
|
| 473 |
+
"special": false
|
| 474 |
+
},
|
| 475 |
+
"64315": {
|
| 476 |
+
"content": "β<extra_id_44>",
|
| 477 |
+
"lstrip": false,
|
| 478 |
+
"normalized": false,
|
| 479 |
+
"rstrip": false,
|
| 480 |
+
"single_word": false,
|
| 481 |
+
"special": false
|
| 482 |
+
},
|
| 483 |
+
"64316": {
|
| 484 |
+
"content": "β<extra_id_43>",
|
| 485 |
+
"lstrip": false,
|
| 486 |
+
"normalized": false,
|
| 487 |
+
"rstrip": false,
|
| 488 |
+
"single_word": false,
|
| 489 |
+
"special": false
|
| 490 |
+
},
|
| 491 |
+
"64317": {
|
| 492 |
+
"content": "β<extra_id_42>",
|
| 493 |
+
"lstrip": false,
|
| 494 |
+
"normalized": false,
|
| 495 |
+
"rstrip": false,
|
| 496 |
+
"single_word": false,
|
| 497 |
+
"special": false
|
| 498 |
+
},
|
| 499 |
+
"64318": {
|
| 500 |
+
"content": "β<extra_id_41>",
|
| 501 |
+
"lstrip": false,
|
| 502 |
+
"normalized": false,
|
| 503 |
+
"rstrip": false,
|
| 504 |
+
"single_word": false,
|
| 505 |
+
"special": false
|
| 506 |
+
},
|
| 507 |
+
"64319": {
|
| 508 |
+
"content": "β<extra_id_40>",
|
| 509 |
+
"lstrip": false,
|
| 510 |
+
"normalized": false,
|
| 511 |
+
"rstrip": false,
|
| 512 |
+
"single_word": false,
|
| 513 |
+
"special": false
|
| 514 |
+
},
|
| 515 |
+
"64320": {
|
| 516 |
+
"content": "β<extra_id_39>",
|
| 517 |
+
"lstrip": false,
|
| 518 |
+
"normalized": false,
|
| 519 |
+
"rstrip": false,
|
| 520 |
+
"single_word": false,
|
| 521 |
+
"special": false
|
| 522 |
+
},
|
| 523 |
+
"64321": {
|
| 524 |
+
"content": "β<extra_id_38>",
|
| 525 |
+
"lstrip": false,
|
| 526 |
+
"normalized": false,
|
| 527 |
+
"rstrip": false,
|
| 528 |
+
"single_word": false,
|
| 529 |
+
"special": false
|
| 530 |
+
},
|
| 531 |
+
"64322": {
|
| 532 |
+
"content": "β<extra_id_37>",
|
| 533 |
+
"lstrip": false,
|
| 534 |
+
"normalized": false,
|
| 535 |
+
"rstrip": false,
|
| 536 |
+
"single_word": false,
|
| 537 |
+
"special": false
|
| 538 |
+
},
|
| 539 |
+
"64323": {
|
| 540 |
+
"content": "β<extra_id_36>",
|
| 541 |
+
"lstrip": false,
|
| 542 |
+
"normalized": false,
|
| 543 |
+
"rstrip": false,
|
| 544 |
+
"single_word": false,
|
| 545 |
+
"special": false
|
| 546 |
+
},
|
| 547 |
+
"64324": {
|
| 548 |
+
"content": "β<extra_id_35>",
|
| 549 |
+
"lstrip": false,
|
| 550 |
+
"normalized": false,
|
| 551 |
+
"rstrip": false,
|
| 552 |
+
"single_word": false,
|
| 553 |
+
"special": false
|
| 554 |
+
},
|
| 555 |
+
"64325": {
|
| 556 |
+
"content": "β<extra_id_34>",
|
| 557 |
+
"lstrip": false,
|
| 558 |
+
"normalized": false,
|
| 559 |
+
"rstrip": false,
|
| 560 |
+
"single_word": false,
|
| 561 |
+
"special": false
|
| 562 |
+
},
|
| 563 |
+
"64326": {
|
| 564 |
+
"content": "β<extra_id_33>",
|
| 565 |
+
"lstrip": false,
|
| 566 |
+
"normalized": false,
|
| 567 |
+
"rstrip": false,
|
| 568 |
+
"single_word": false,
|
| 569 |
+
"special": false
|
| 570 |
+
},
|
| 571 |
+
"64327": {
|
| 572 |
+
"content": "β<extra_id_32>",
|
| 573 |
+
"lstrip": false,
|
| 574 |
+
"normalized": false,
|
| 575 |
+
"rstrip": false,
|
| 576 |
+
"single_word": false,
|
| 577 |
+
"special": false
|
| 578 |
+
},
|
| 579 |
+
"64328": {
|
| 580 |
+
"content": "β<extra_id_31>",
|
| 581 |
+
"lstrip": false,
|
| 582 |
+
"normalized": false,
|
| 583 |
+
"rstrip": false,
|
| 584 |
+
"single_word": false,
|
| 585 |
+
"special": false
|
| 586 |
+
},
|
| 587 |
+
"64329": {
|
| 588 |
+
"content": "β<extra_id_30>",
|
| 589 |
+
"lstrip": false,
|
| 590 |
+
"normalized": false,
|
| 591 |
+
"rstrip": false,
|
| 592 |
+
"single_word": false,
|
| 593 |
+
"special": false
|
| 594 |
+
},
|
| 595 |
+
"64330": {
|
| 596 |
+
"content": "β<extra_id_29>",
|
| 597 |
+
"lstrip": false,
|
| 598 |
+
"normalized": false,
|
| 599 |
+
"rstrip": false,
|
| 600 |
+
"single_word": false,
|
| 601 |
+
"special": false
|
| 602 |
+
},
|
| 603 |
+
"64331": {
|
| 604 |
+
"content": "β<extra_id_28>",
|
| 605 |
+
"lstrip": false,
|
| 606 |
+
"normalized": false,
|
| 607 |
+
"rstrip": false,
|
| 608 |
+
"single_word": false,
|
| 609 |
+
"special": false
|
| 610 |
+
},
|
| 611 |
+
"64332": {
|
| 612 |
+
"content": "β<extra_id_27>",
|
| 613 |
+
"lstrip": false,
|
| 614 |
+
"normalized": false,
|
| 615 |
+
"rstrip": false,
|
| 616 |
+
"single_word": false,
|
| 617 |
+
"special": false
|
| 618 |
+
},
|
| 619 |
+
"64333": {
|
| 620 |
+
"content": "β<extra_id_26>",
|
| 621 |
+
"lstrip": false,
|
| 622 |
+
"normalized": false,
|
| 623 |
+
"rstrip": false,
|
| 624 |
+
"single_word": false,
|
| 625 |
+
"special": false
|
| 626 |
+
},
|
| 627 |
+
"64334": {
|
| 628 |
+
"content": "β<extra_id_25>",
|
| 629 |
+
"lstrip": false,
|
| 630 |
+
"normalized": false,
|
| 631 |
+
"rstrip": false,
|
| 632 |
+
"single_word": false,
|
| 633 |
+
"special": false
|
| 634 |
+
},
|
| 635 |
+
"64335": {
|
| 636 |
+
"content": "β<extra_id_24>",
|
| 637 |
+
"lstrip": false,
|
| 638 |
+
"normalized": false,
|
| 639 |
+
"rstrip": false,
|
| 640 |
+
"single_word": false,
|
| 641 |
+
"special": false
|
| 642 |
+
},
|
| 643 |
+
"64336": {
|
| 644 |
+
"content": "β<extra_id_23>",
|
| 645 |
+
"lstrip": false,
|
| 646 |
+
"normalized": false,
|
| 647 |
+
"rstrip": false,
|
| 648 |
+
"single_word": false,
|
| 649 |
+
"special": false
|
| 650 |
+
},
|
| 651 |
+
"64337": {
|
| 652 |
+
"content": "β<extra_id_22>",
|
| 653 |
+
"lstrip": false,
|
| 654 |
+
"normalized": false,
|
| 655 |
+
"rstrip": false,
|
| 656 |
+
"single_word": false,
|
| 657 |
+
"special": false
|
| 658 |
+
},
|
| 659 |
+
"64338": {
|
| 660 |
+
"content": "β<extra_id_21>",
|
| 661 |
+
"lstrip": false,
|
| 662 |
+
"normalized": false,
|
| 663 |
+
"rstrip": false,
|
| 664 |
+
"single_word": false,
|
| 665 |
+
"special": false
|
| 666 |
+
},
|
| 667 |
+
"64339": {
|
| 668 |
+
"content": "β<extra_id_20>",
|
| 669 |
+
"lstrip": false,
|
| 670 |
+
"normalized": false,
|
| 671 |
+
"rstrip": false,
|
| 672 |
+
"single_word": false,
|
| 673 |
+
"special": false
|
| 674 |
+
},
|
| 675 |
+
"64340": {
|
| 676 |
+
"content": "β<extra_id_19>",
|
| 677 |
+
"lstrip": false,
|
| 678 |
+
"normalized": false,
|
| 679 |
+
"rstrip": false,
|
| 680 |
+
"single_word": false,
|
| 681 |
+
"special": false
|
| 682 |
+
},
|
| 683 |
+
"64341": {
|
| 684 |
+
"content": "β<extra_id_18>",
|
| 685 |
+
"lstrip": false,
|
| 686 |
+
"normalized": false,
|
| 687 |
+
"rstrip": false,
|
| 688 |
+
"single_word": false,
|
| 689 |
+
"special": false
|
| 690 |
+
},
|
| 691 |
+
"64342": {
|
| 692 |
+
"content": "β<extra_id_17>",
|
| 693 |
+
"lstrip": false,
|
| 694 |
+
"normalized": false,
|
| 695 |
+
"rstrip": false,
|
| 696 |
+
"single_word": false,
|
| 697 |
+
"special": false
|
| 698 |
+
},
|
| 699 |
+
"64343": {
|
| 700 |
+
"content": "β<extra_id_16>",
|
| 701 |
+
"lstrip": false,
|
| 702 |
+
"normalized": false,
|
| 703 |
+
"rstrip": false,
|
| 704 |
+
"single_word": false,
|
| 705 |
+
"special": false
|
| 706 |
+
},
|
| 707 |
+
"64344": {
|
| 708 |
+
"content": "β<extra_id_15>",
|
| 709 |
+
"lstrip": false,
|
| 710 |
+
"normalized": false,
|
| 711 |
+
"rstrip": false,
|
| 712 |
+
"single_word": false,
|
| 713 |
+
"special": false
|
| 714 |
+
},
|
| 715 |
+
"64345": {
|
| 716 |
+
"content": "β<extra_id_14>",
|
| 717 |
+
"lstrip": false,
|
| 718 |
+
"normalized": false,
|
| 719 |
+
"rstrip": false,
|
| 720 |
+
"single_word": false,
|
| 721 |
+
"special": false
|
| 722 |
+
},
|
| 723 |
+
"64346": {
|
| 724 |
+
"content": "β<extra_id_13>",
|
| 725 |
+
"lstrip": false,
|
| 726 |
+
"normalized": false,
|
| 727 |
+
"rstrip": false,
|
| 728 |
+
"single_word": false,
|
| 729 |
+
"special": false
|
| 730 |
+
},
|
| 731 |
+
"64347": {
|
| 732 |
+
"content": "β<extra_id_12>",
|
| 733 |
+
"lstrip": false,
|
| 734 |
+
"normalized": false,
|
| 735 |
+
"rstrip": false,
|
| 736 |
+
"single_word": false,
|
| 737 |
+
"special": false
|
| 738 |
+
},
|
| 739 |
+
"64348": {
|
| 740 |
+
"content": "β<extra_id_11>",
|
| 741 |
+
"lstrip": false,
|
| 742 |
+
"normalized": false,
|
| 743 |
+
"rstrip": false,
|
| 744 |
+
"single_word": false,
|
| 745 |
+
"special": false
|
| 746 |
+
},
|
| 747 |
+
"64349": {
|
| 748 |
+
"content": "β<extra_id_10>",
|
| 749 |
+
"lstrip": false,
|
| 750 |
+
"normalized": false,
|
| 751 |
+
"rstrip": false,
|
| 752 |
+
"single_word": false,
|
| 753 |
+
"special": false
|
| 754 |
+
},
|
| 755 |
+
"64350": {
|
| 756 |
+
"content": "β<extra_id_9>",
|
| 757 |
+
"lstrip": false,
|
| 758 |
+
"normalized": false,
|
| 759 |
+
"rstrip": false,
|
| 760 |
+
"single_word": false,
|
| 761 |
+
"special": false
|
| 762 |
+
},
|
| 763 |
+
"64351": {
|
| 764 |
+
"content": "β<extra_id_8>",
|
| 765 |
+
"lstrip": false,
|
| 766 |
+
"normalized": false,
|
| 767 |
+
"rstrip": false,
|
| 768 |
+
"single_word": false,
|
| 769 |
+
"special": false
|
| 770 |
+
},
|
| 771 |
+
"64352": {
|
| 772 |
+
"content": "β<extra_id_7>",
|
| 773 |
+
"lstrip": false,
|
| 774 |
+
"normalized": false,
|
| 775 |
+
"rstrip": false,
|
| 776 |
+
"single_word": false,
|
| 777 |
+
"special": false
|
| 778 |
+
},
|
| 779 |
+
"64353": {
|
| 780 |
+
"content": "β<extra_id_6>",
|
| 781 |
+
"lstrip": false,
|
| 782 |
+
"normalized": false,
|
| 783 |
+
"rstrip": false,
|
| 784 |
+
"single_word": false,
|
| 785 |
+
"special": false
|
| 786 |
+
},
|
| 787 |
+
"64354": {
|
| 788 |
+
"content": "β<extra_id_5>",
|
| 789 |
+
"lstrip": false,
|
| 790 |
+
"normalized": false,
|
| 791 |
+
"rstrip": false,
|
| 792 |
+
"single_word": false,
|
| 793 |
+
"special": false
|
| 794 |
+
},
|
| 795 |
+
"64355": {
|
| 796 |
+
"content": "β<extra_id_4>",
|
| 797 |
+
"lstrip": false,
|
| 798 |
+
"normalized": false,
|
| 799 |
+
"rstrip": false,
|
| 800 |
+
"single_word": false,
|
| 801 |
+
"special": false
|
| 802 |
+
},
|
| 803 |
+
"64356": {
|
| 804 |
+
"content": "β<extra_id_3>",
|
| 805 |
+
"lstrip": false,
|
| 806 |
+
"normalized": false,
|
| 807 |
+
"rstrip": false,
|
| 808 |
+
"single_word": false,
|
| 809 |
+
"special": false
|
| 810 |
+
},
|
| 811 |
+
"64357": {
|
| 812 |
+
"content": "β<extra_id_2>",
|
| 813 |
+
"lstrip": false,
|
| 814 |
+
"normalized": false,
|
| 815 |
+
"rstrip": false,
|
| 816 |
+
"single_word": false,
|
| 817 |
+
"special": false
|
| 818 |
+
},
|
| 819 |
+
"64358": {
|
| 820 |
+
"content": "β<extra_id_1>",
|
| 821 |
+
"lstrip": false,
|
| 822 |
+
"normalized": false,
|
| 823 |
+
"rstrip": false,
|
| 824 |
+
"single_word": false,
|
| 825 |
+
"special": false
|
| 826 |
+
},
|
| 827 |
+
"64359": {
|
| 828 |
+
"content": "β<extra_id_0>",
|
| 829 |
+
"lstrip": false,
|
| 830 |
+
"normalized": false,
|
| 831 |
+
"rstrip": false,
|
| 832 |
+
"single_word": false,
|
| 833 |
+
"special": false
|
| 834 |
+
},
|
| 835 |
+
"64360": {
|
| 836 |
+
"content": "[MASK]",
|
| 837 |
+
"lstrip": false,
|
| 838 |
+
"normalized": false,
|
| 839 |
+
"rstrip": false,
|
| 840 |
+
"single_word": false,
|
| 841 |
+
"special": true
|
| 842 |
+
}
|
| 843 |
+
},
|
| 844 |
+
"bos_token": "[CLS]",
|
| 845 |
+
"clean_up_tokenization_spaces": false,
|
| 846 |
+
"cls_token": "[CLS]",
|
| 847 |
+
"do_lower_case": false,
|
| 848 |
+
"eos_token": "[SEP]",
|
| 849 |
+
"extra_special_tokens": {},
|
| 850 |
+
"mask_token": "[MASK]",
|
| 851 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 852 |
+
"pad_token": "[PAD]",
|
| 853 |
+
"sep_token": "[SEP]",
|
| 854 |
+
"sp_model_kwargs": {},
|
| 855 |
+
"split_by_punct": false,
|
| 856 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 857 |
+
"unk_token": "[UNK]"
|
| 858 |
+
}
|