somukandula commited on
Commit
a7591ad
·
verified ·
1 Parent(s): 82f3dc0

Maskara Phase 2 retrain with targeted augmentation

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +62 -210
  2. full-openpii-500k/checkpoints/all_results.json +11 -0
  3. full-openpii-500k/checkpoints/checkpoint-12000/config.json +86 -0
  4. full-openpii-500k/checkpoints/checkpoint-12000/model.safetensors +3 -0
  5. full-openpii-500k/checkpoints/checkpoint-12000/optimizer.pt +3 -0
  6. full-openpii-500k/checkpoints/checkpoint-12000/rng_state.pth +3 -0
  7. full-openpii-500k/checkpoints/checkpoint-12000/scaler.pt +3 -0
  8. full-openpii-500k/checkpoints/checkpoint-12000/scheduler.pt +3 -0
  9. full-openpii-500k/checkpoints/checkpoint-12000/tokenizer.json +0 -0
  10. full-openpii-500k/checkpoints/checkpoint-12000/tokenizer_config.json +19 -0
  11. full-openpii-500k/checkpoints/checkpoint-12000/trainer_state.json +526 -0
  12. full-openpii-500k/checkpoints/checkpoint-12000/training_args.bin +3 -0
  13. full-openpii-500k/checkpoints/checkpoint-14000/config.json +86 -0
  14. full-openpii-500k/checkpoints/checkpoint-14000/model.safetensors +3 -0
  15. full-openpii-500k/checkpoints/checkpoint-14000/optimizer.pt +3 -0
  16. full-openpii-500k/checkpoints/checkpoint-14000/rng_state.pth +3 -0
  17. full-openpii-500k/checkpoints/checkpoint-14000/scaler.pt +3 -0
  18. full-openpii-500k/checkpoints/checkpoint-14000/scheduler.pt +3 -0
  19. full-openpii-500k/checkpoints/checkpoint-14000/tokenizer.json +0 -0
  20. full-openpii-500k/checkpoints/checkpoint-14000/tokenizer_config.json +19 -0
  21. full-openpii-500k/checkpoints/checkpoint-14000/trainer_state.json +608 -0
  22. full-openpii-500k/checkpoints/checkpoint-14000/training_args.bin +3 -0
  23. full-openpii-500k/checkpoints/checkpoint-14505/config.json +86 -0
  24. full-openpii-500k/checkpoints/checkpoint-14505/model.safetensors +3 -0
  25. full-openpii-500k/checkpoints/checkpoint-14505/optimizer.pt +3 -0
  26. full-openpii-500k/checkpoints/checkpoint-14505/rng_state.pth +3 -0
  27. full-openpii-500k/checkpoints/checkpoint-14505/scaler.pt +3 -0
  28. full-openpii-500k/checkpoints/checkpoint-14505/scheduler.pt +3 -0
  29. full-openpii-500k/checkpoints/checkpoint-14505/tokenizer.json +0 -0
  30. full-openpii-500k/checkpoints/checkpoint-14505/tokenizer_config.json +19 -0
  31. full-openpii-500k/checkpoints/checkpoint-14505/trainer_state.json +634 -0
  32. full-openpii-500k/checkpoints/checkpoint-14505/training_args.bin +3 -0
  33. full-openpii-500k/checkpoints/eval_results.json +11 -0
  34. full-openpii-500k/final/config.json +86 -0
  35. full-openpii-500k/final/model.safetensors +3 -0
  36. full-openpii-500k/final/tokenizer.json +0 -0
  37. full-openpii-500k/final/tokenizer_config.json +19 -0
  38. full-openpii-500k/final/training_args.bin +3 -0
  39. model.safetensors +1 -1
  40. pilot-10k/checkpoints/all_results.json +11 -0
  41. pilot-10k/checkpoints/checkpoint-250/config.json +86 -0
  42. pilot-10k/checkpoints/checkpoint-250/model.safetensors +3 -0
  43. pilot-10k/checkpoints/checkpoint-250/optimizer.pt +3 -0
  44. pilot-10k/checkpoints/checkpoint-250/rng_state.pth +3 -0
  45. pilot-10k/checkpoints/checkpoint-250/scaler.pt +3 -0
  46. pilot-10k/checkpoints/checkpoint-250/scheduler.pt +3 -0
  47. pilot-10k/checkpoints/checkpoint-250/tokenizer.json +0 -0
  48. pilot-10k/checkpoints/checkpoint-250/tokenizer_config.json +19 -0
  49. pilot-10k/checkpoints/checkpoint-250/trainer_state.json +116 -0
  50. pilot-10k/checkpoints/checkpoint-250/training_args.bin +3 -0
README.md CHANGED
@@ -1,221 +1,73 @@
1
  ---
2
  library_name: transformers
3
- license: apache-2.0
4
- base_model: google-bert/bert-base-uncased
5
  tags:
6
- - token-classification
7
- - pii
8
- - indian-pii
9
- - privacy
10
- - aadhaar
11
- - pan-card
12
- - named-entity-recognition
13
- metrics:
14
- - precision
15
- - recall
16
- - f1
17
- - accuracy
18
  ---
19
 
20
- # Maskara
21
-
22
- Maskara is a token-classification model for detecting Indian PII (Personally Identifiable Information) in unstructured text. It is built by fine-tuning [`google-bert/bert-base-uncased`](https://huggingface.co/google-bert/bert-base-uncased) on the [`somukandula/maskara-indian-pii-200k`](https://huggingface.co/datasets/somukandula/maskara-indian-pii-200k) dataset.
23
-
24
- The model identifies 17 PII entity types using a BIO tagging scheme. Loading the model and running inference requires no code changes from the previous release:
25
-
26
- ```python
27
- from transformers import AutoModelForTokenClassification, AutoTokenizer
28
-
29
- model = AutoModelForTokenClassification.from_pretrained("somukandula/maskara")
30
- tokenizer = AutoTokenizer.from_pretrained("somukandula/maskara")
31
- ```
32
-
33
- ## Supported entities
34
-
35
- | Entity | Description | Example |
36
- |--------|-------------|---------|
37
- | `AADHAAR` | 12-digit Aadhaar number | `1234 5678 9012` |
38
- | `ADDRESS` | Indian postal address | `Flat 12, Sector 45, Gurgaon` |
39
- | `API_KEY` | API key / secret token | `sk_live_abc123xyz` |
40
- | `CREDIT_CARD` | Credit/debit card number | `4532-1234-5678-9012` |
41
- | `DATE_OF_BIRTH` | Date of birth | `15/08/1990` |
42
- | `DRIVER_LICENSE` | Indian driving licence | `MH02 20123456789` |
43
- | `EMAIL` | Email address | `user@example.com` |
44
- | `IP_ADDRESS` | IPv4 / IPv6 address | `192.168.1.1` |
45
- | `PAN_CARD` | 10-character PAN | `ABCDE1234F` |
46
- | `PASSPORT` | Indian passport number | `A1234567` |
47
- | `PASSWORD` | Password or passphrase | `P@ssw0rd123` |
48
- | `PERSON_NAME` | Person's full or partial name | `Rahul Sharma` |
49
- | `PHONE` | Indian phone/landline | `+91 98765 43210` |
50
- | `SSN` | Social Security Number | `123-45-6789` |
51
- | `UPI_ID` | UPI handle | `user@upi` |
52
- | `USERNAME` | Username / handle | `rahul_s` |
53
- | `VEHICLE_REG` | Indian vehicle registration | `MH 01 AB 1234` |
54
-
55
- **Note:** The `LOCATION` label from the earlier release has been removed. The classifier head now matches exactly the 17 entities above.
56
-
57
- ## Model architecture
58
-
59
- | Property | Value |
60
- |----------|-------|
61
- | Base model | `google-bert/bert-base-uncased` |
62
- | Architecture | `BertForTokenClassification` |
63
- | Hidden size | 768 |
64
- | Layers | 12 |
65
- | Attention heads | 12 |
66
- | Parameters | ~109M |
67
- | Max sequence length | 256 |
68
- | Labels | 35 (O + 17 B- + 17 I-) |
69
-
70
- ## Training data
71
-
72
- The training corpus was generated with an expanded synthetic generator covering:
73
-
74
- - **150+** multi-entity templates
75
- - **80+** single-entity templates
76
- - **6–10** formatting variations per entity
77
- - **40%** Hinglish / code-mixed text
78
- - **15%** hard-negative examples
79
- - **20%** structured or noisy documents
80
-
81
- Formats represented include WhatsApp chats, SMS, emails, customer-support conversations, HTML, Markdown, JSON, CSV, SQL, logs, OCR, bank statements, government forms, Aadhaar letters, PAN documents, resumes and configuration files.
82
-
83
- The dataset is published at [`somukandula/maskara-indian-pii-200k`](https://huggingface.co/datasets/somukandula/maskara-indian-pii-200k).
84
 
85
  ## Training procedure
86
 
87
- | Hyperparameter | Value |
88
- |----------------|-------|
89
- | Epochs | 5 |
90
- | Learning rate | 3e-5 |
91
- | Batch size (train) | 32 |
92
- | Batch size (eval) | 64 |
93
- | Max sequence length | 256 |
94
- | Optimizer | AdamW |
95
- | Weight decay | 0.01 |
96
- | LR scheduler | Linear with warmup |
97
- | Warmup ratio | 0.1 |
98
- | Precision | bf16 |
99
- | Early stopping patience | 2 epochs |
100
- | Seed | 2026 |
101
-
102
- The model was trained from `bert-base-uncased` pretrained weights. The previous 2-layer compressed encoder checkpoint was replaced.
103
-
104
- ## Evaluation methodology
105
-
106
- Two independent evaluation splits are used:
107
-
108
- 1. **Template-disjoint validation** — entire template families are excluded from training to measure generalization rather than memorization.
109
- 2. **Real-world evaluation** — a manually curated held-out set of Indian text from support conversations, forms, OCR, public documents, chat logs and semi-structured text. This split is never used during training.
110
-
111
- Metrics are computed at the token BIO level using `seqeval`.
112
-
113
- ## Results
114
-
115
- ### Overall
116
-
117
- | Split | Precision | Recall | F1 | Accuracy |
118
- |-------|-----------|--------|------|----------|
119
- | Template-disjoint eval | 0.7870 | 0.9045 | **0.8417** | 0.9437 |
120
- | Real-world eval | 0.8320 | 0.9493 | **0.8868** | 0.9423 |
121
-
122
- ### Per-entity F1 — template-disjoint eval
123
-
124
- | Entity | F1 |
125
- |--------|-----|
126
- | ADDRESS | 0.9935 |
127
- | API_KEY | 1.0000 |
128
- | DATE_OF_BIRTH | 0.9573 |
129
- | EMAIL | 0.9677 |
130
- | IP_ADDRESS | 0.9986 |
131
- | PAN_CARD | 0.8860 |
132
- | PASSPORT | 0.9983 |
133
- | PERSON_NAME | 0.9404 |
134
- | SSN | 1.0000 |
135
- | UPI_ID | 0.9995 |
136
- | VEHICLE_REG | 0.8286 |
137
- | PASSWORD | 0.7374 |
138
- | PHONE | 0.7018 |
139
- | AADHAAR | 0.7666 |
140
- | CREDIT_CARD | 0.5588 |
141
- | USERNAME | 0.6328 |
142
- | DRIVER_LICENSE | 0.3872 |
143
-
144
- ### Per-entity F1 — real-world eval
145
-
146
- | Entity | F1 |
147
- |--------|-----|
148
- | AADHAAR | 0.9719 |
149
- | DATE_OF_BIRTH | 0.9877 |
150
- | DRIVER_LICENSE | 1.0000 |
151
- | EMAIL | 1.0000 |
152
- | PAN_CARD | 1.0000 |
153
- | PHONE | 0.9462 |
154
- | UPI_ID | 1.0000 |
155
- | VEHICLE_REG | 1.0000 |
156
- | PERSON_NAME | 0.8578 |
157
- | ADDRESS | 0.6957 |
158
- | API_KEY | 0.8032 |
159
- | IP_ADDRESS | 0.6969 |
160
- | USERNAME | 0.6329 |
161
- | CREDIT_CARD | 0.0000 |
162
- | PASSWORD | 0.0000 |
163
-
164
- ## Phase 2 Training Update
165
-
166
- This release is a major continued training update to the original Maskara model, not a new model family.
167
-
168
- ### What changed
169
-
170
- - **Architecture upgrade:** replaced the 2-layer, 128-hidden compressed encoder with `bert-base-uncased`, increasing capacity from ~16MB to ~416MB/109M parameters.
171
- - **Dataset expansion:** generator rewritten with 150+ multi-entity and 80+ single-entity templates, 6–10 formatting variations per entity, 40% Hinglish/code-mixed text, 15% hard negatives and 20% structured/noisy documents.
172
- - **Label cleanup:** removed the unused `LOCATION` class. The head now outputs exactly the documented 17 entities.
173
- - **Evaluation overhaul:** replaced the old template-overlapping split with a template-disjoint validation set and a separate real-world held-out set.
174
- - **Evaluation-first training:** future iterations will use an error-analysis loop (false positives/negatives → categorization → targeted synthetic examples → retrain).
175
-
176
- ### Current status vs. success criteria
177
-
178
- | Criterion | Target | Current | Status |
179
- |-----------|--------|---------|--------|
180
- | Real-world F1 | ≥ 90% | 88.68% | **Not met** |
181
- | Template-disjoint F1 | ≥ 95% | 84.17% | **Not met** |
182
- | No entity below 80% F1 | ≥ 80% per entity | 9/17 below 80% on template-disjoint; 7/17 below 80% on real-world | **Not met** |
183
-
184
- The model improved substantially on most entities, especially `EMAIL`, `PHONE`, `AADHAAR`, `PAN_CARD`, `UPI_ID`, `VEHICLE_REG` and `DATE_OF_BIRTH`, but it still struggles with `CREDIT_CARD`, `PASSWORD`, `DRIVER_LICENSE`, `USERNAME`, `ADDRESS`, `IP_ADDRESS` and some `PHONE`/`AADHAAR` formatting variants. The next iteration of the error-analysis loop should target these weaknesses.
185
-
186
- ## Known limitations
187
-
188
- - Performance on real-world text is below the 90% F1 target; further targeted data augmentation and possibly longer fine-tuning are needed.
189
- - Credit-card and password detection are close to zero on the real-world eval, indicating insufficient diversity or under-representation in the current generator.
190
- - Address and IP_ADDRESS spans are often fragmented or mis-bounded due to high format variability.
191
- - The model is English-centric; while Hinglish coverage was increased, other Indian languages are not explicitly supported.
192
- - Synthetic data cannot fully capture real-world noise, typos, OCR artifacts and adversarial redaction.
193
-
194
- ## Release history
195
-
196
- | Version | Date | Base model | Notes |
197
- |---------|------|------------|-------|
198
- | v1.0 | 2024 | `google/bert_uncased_L-2_H-128_A-2` | Initial 2-layer compressed encoder, 13 entities including `LOCATION`. |
199
- | v2.0 (Phase 2) | 2026-06-27 | `google-bert/bert-base-uncased` | Architecture upgrade, 17 entities, expanded dataset, template-disjoint + real-world evaluation. |
200
-
201
- ## Future roadmap
202
-
203
- - Close the gap on `CREDIT_CARD`, `PASSWORD`, `DRIVER_LICENSE`, `USERNAME`, `ADDRESS` and `IP_ADDRESS` through targeted synthetic examples identified by the error-analysis loop.
204
- - Add real-world annotated samples for the weakest entities.
205
- - Experiment with longer sequences (512), label smoothing, and span-based losses.
206
- - Evaluate distilled / smaller BERT variants for deployment speed without dropping accuracy.
207
-
208
- ## Citation
209
 
210
- ```bibtex
211
- @misc{maskara2026,
212
- title={Maskara: Indian PII Detection with BERT},
213
- author={Somu Kandula},
214
- year={2026},
215
- howpublished={\url{https://huggingface.co/somukandula/maskara}}
216
- }
217
- ```
218
 
219
- ## License
220
 
221
- Apache-2.0
 
 
 
 
1
  ---
2
  library_name: transformers
 
 
3
  tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: maskara
7
+ results: []
 
 
 
 
 
 
 
 
8
  ---
9
 
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # maskara
14
+
15
+ This model was trained from scratch on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - eval_loss: 0.5814
18
+ - eval_model_preparation_time: 0.0031
19
+ - eval_precision: 0.8442
20
+ - eval_recall: 0.9495
21
+ - eval_f1: 0.8937
22
+ - eval_accuracy: 0.9504
23
+ - eval_AADHAAR_f1: 0.9775
24
+ - eval_ADDRESS_f1: 0.7162
25
+ - eval_API_KEY_f1: 1.0
26
+ - eval_DATE_OF_BIRTH_f1: 0.7435
27
+ - eval_DRIVER_LICENSE_f1: 0.8299
28
+ - eval_EMAIL_f1: 1.0
29
+ - eval_IP_ADDRESS_f1: 0.8584
30
+ - eval_PAN_CARD_f1: 0.9697
31
+ - eval_PASSWORD_f1: 0.0
32
+ - eval_PERSON_NAME_f1: 0.8484
33
+ - eval_PHONE_f1: 0.9418
34
+ - eval_UPI_ID_f1: 0.9990
35
+ - eval_USERNAME_f1: 0.9029
36
+ - eval_VEHICLE_REG_f1: 0.7440
37
+ - eval_runtime: 6.5348
38
+ - eval_samples_per_second: 397.868
39
+ - eval_steps_per_second: 6.274
40
+ - epoch: 0
41
+ - step: 0
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ## Training procedure
56
 
57
+ ### Training hyperparameters
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 8
62
+ - eval_batch_size: 64
63
+ - seed: 42
64
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 3.0
67
 
68
+ ### Framework versions
69
 
70
+ - Transformers 5.12.1
71
+ - Pytorch 2.12.1+cu130
72
+ - Datasets 5.0.0
73
+ - Tokenizers 0.22.2
full-openpii-500k/checkpoints/all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.9452715942731323,
4
+ "eval_f1": 0.5242530574333041,
5
+ "eval_loss": 0.16400153934955597,
6
+ "eval_precision": 0.4926295883237162,
7
+ "eval_recall": 0.5602150537634408,
8
+ "eval_runtime": 10.1647,
9
+ "eval_samples_per_second": 1967.587,
10
+ "eval_steps_per_second": 30.793
11
+ }
full-openpii-500k/checkpoints/checkpoint-12000/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-ADDRESS",
17
+ "2": "I-ADDRESS",
18
+ "3": "B-API_KEY",
19
+ "4": "I-API_KEY",
20
+ "5": "B-CREDIT_CARD",
21
+ "6": "I-CREDIT_CARD",
22
+ "7": "B-DATE_OF_BIRTH",
23
+ "8": "I-DATE_OF_BIRTH",
24
+ "9": "B-DRIVER_LICENSE",
25
+ "10": "I-DRIVER_LICENSE",
26
+ "11": "B-EMAIL",
27
+ "12": "I-EMAIL",
28
+ "13": "B-IP_ADDRESS",
29
+ "14": "I-IP_ADDRESS",
30
+ "15": "B-LOCATION",
31
+ "16": "I-LOCATION",
32
+ "17": "B-PASSWORD",
33
+ "18": "I-PASSWORD",
34
+ "19": "B-PERSON_NAME",
35
+ "20": "I-PERSON_NAME",
36
+ "21": "B-PHONE",
37
+ "22": "I-PHONE",
38
+ "23": "B-SSN",
39
+ "24": "I-SSN",
40
+ "25": "B-USERNAME",
41
+ "26": "I-USERNAME"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 512,
45
+ "is_decoder": false,
46
+ "label2id": {
47
+ "B-ADDRESS": 1,
48
+ "B-API_KEY": 3,
49
+ "B-CREDIT_CARD": 5,
50
+ "B-DATE_OF_BIRTH": 7,
51
+ "B-DRIVER_LICENSE": 9,
52
+ "B-EMAIL": 11,
53
+ "B-IP_ADDRESS": 13,
54
+ "B-LOCATION": 15,
55
+ "B-PASSWORD": 17,
56
+ "B-PERSON_NAME": 19,
57
+ "B-PHONE": 21,
58
+ "B-SSN": 23,
59
+ "B-USERNAME": 25,
60
+ "I-ADDRESS": 2,
61
+ "I-API_KEY": 4,
62
+ "I-CREDIT_CARD": 6,
63
+ "I-DATE_OF_BIRTH": 8,
64
+ "I-DRIVER_LICENSE": 10,
65
+ "I-EMAIL": 12,
66
+ "I-IP_ADDRESS": 14,
67
+ "I-LOCATION": 16,
68
+ "I-PASSWORD": 18,
69
+ "I-PERSON_NAME": 20,
70
+ "I-PHONE": 22,
71
+ "I-SSN": 24,
72
+ "I-USERNAME": 26,
73
+ "O": 0
74
+ },
75
+ "layer_norm_eps": 1e-12,
76
+ "max_position_embeddings": 512,
77
+ "model_type": "bert",
78
+ "num_attention_heads": 2,
79
+ "num_hidden_layers": 2,
80
+ "pad_token_id": 0,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.11.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": false,
85
+ "vocab_size": 30522
86
+ }
full-openpii-500k/checkpoints/checkpoint-12000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08f8733edd4aa020e99d3741709b94d614dd9c6ff463049251ba56a29f1caece
3
+ size 17495980
full-openpii-500k/checkpoints/checkpoint-12000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc19cbbcc0b0c07666f6b4e04940765423d3f9dd6fbdf491e92e2f76c557d6c8
3
+ size 35016907
full-openpii-500k/checkpoints/checkpoint-12000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1c8af326e76e6c768daf438a48c8693c64020409368138d2582ae3f52a06110
3
+ size 14645
full-openpii-500k/checkpoints/checkpoint-12000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82fd182149e40dac4a79aec92d2c08d42a7a3b82bcc4de291334033484a5a4c6
3
+ size 1383
full-openpii-500k/checkpoints/checkpoint-12000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:195c57e462b912696de44baac4fa514f9d3f20683803d9342b3be0b79a0b4a46
3
+ size 1465
full-openpii-500k/checkpoints/checkpoint-12000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
full-openpii-500k/checkpoints/checkpoint-12000/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 160,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "stride": 0,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }
full-openpii-500k/checkpoints/checkpoint-12000/trainer_state.json ADDED
@@ -0,0 +1,526 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 12000,
3
+ "best_metric": 0.520962146523804,
4
+ "best_model_checkpoint": "/outputs/full-openpii-500k/checkpoints/checkpoint-12000",
5
+ "epoch": 0.827300930713547,
6
+ "eval_steps": 2000,
7
+ "global_step": 12000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.013788348845225784,
14
+ "grad_norm": 1.3536444902420044,
15
+ "learning_rate": 1.972561185798001e-05,
16
+ "loss": 0.7454490661621094,
17
+ "step": 200
18
+ },
19
+ {
20
+ "epoch": 0.027576697690451568,
21
+ "grad_norm": 1.3048033714294434,
22
+ "learning_rate": 1.944984488107549e-05,
23
+ "loss": 0.5720141220092774,
24
+ "step": 400
25
+ },
26
+ {
27
+ "epoch": 0.04136504653567735,
28
+ "grad_norm": 1.9288572072982788,
29
+ "learning_rate": 1.9174077904170978e-05,
30
+ "loss": 0.4927207946777344,
31
+ "step": 600
32
+ },
33
+ {
34
+ "epoch": 0.055153395380903136,
35
+ "grad_norm": 1.7550076246261597,
36
+ "learning_rate": 1.889831092726646e-05,
37
+ "loss": 0.4657698440551758,
38
+ "step": 800
39
+ },
40
+ {
41
+ "epoch": 0.06894174422612892,
42
+ "grad_norm": 1.7711143493652344,
43
+ "learning_rate": 1.8622543950361945e-05,
44
+ "loss": 0.42969669342041017,
45
+ "step": 1000
46
+ },
47
+ {
48
+ "epoch": 0.0827300930713547,
49
+ "grad_norm": 2.50980544090271,
50
+ "learning_rate": 1.834677697345743e-05,
51
+ "loss": 0.41879753112792967,
52
+ "step": 1200
53
+ },
54
+ {
55
+ "epoch": 0.09651844191658049,
56
+ "grad_norm": 1.705670952796936,
57
+ "learning_rate": 1.8071009996552916e-05,
58
+ "loss": 0.385702018737793,
59
+ "step": 1400
60
+ },
61
+ {
62
+ "epoch": 0.11030679076180627,
63
+ "grad_norm": 1.445986032485962,
64
+ "learning_rate": 1.77952430196484e-05,
65
+ "loss": 0.36213504791259765,
66
+ "step": 1600
67
+ },
68
+ {
69
+ "epoch": 0.12409513960703206,
70
+ "grad_norm": 1.4295554161071777,
71
+ "learning_rate": 1.7519476042743883e-05,
72
+ "loss": 0.351446533203125,
73
+ "step": 1800
74
+ },
75
+ {
76
+ "epoch": 0.13788348845225784,
77
+ "grad_norm": 1.4451907873153687,
78
+ "learning_rate": 1.7243709065839366e-05,
79
+ "loss": 0.34252952575683593,
80
+ "step": 2000
81
+ },
82
+ {
83
+ "epoch": 0.13788348845225784,
84
+ "eval_accuracy": 0.9116923546949569,
85
+ "eval_f1": 0.3809941841325579,
86
+ "eval_loss": 0.2862004041671753,
87
+ "eval_precision": 0.37910138123055087,
88
+ "eval_recall": 0.38290598290598293,
89
+ "eval_runtime": 11.153,
90
+ "eval_samples_per_second": 1793.238,
91
+ "eval_steps_per_second": 28.064,
92
+ "step": 2000
93
+ },
94
+ {
95
+ "epoch": 0.15167183729748362,
96
+ "grad_norm": 1.3401026725769043,
97
+ "learning_rate": 1.6967942088934853e-05,
98
+ "loss": 0.33029396057128907,
99
+ "step": 2200
100
+ },
101
+ {
102
+ "epoch": 0.1654601861427094,
103
+ "grad_norm": 1.4941850900650024,
104
+ "learning_rate": 1.6692175112030337e-05,
105
+ "loss": 0.31315877914428714,
106
+ "step": 2400
107
+ },
108
+ {
109
+ "epoch": 0.1792485349879352,
110
+ "grad_norm": 1.2174286842346191,
111
+ "learning_rate": 1.641640813512582e-05,
112
+ "loss": 0.31084712982177737,
113
+ "step": 2600
114
+ },
115
+ {
116
+ "epoch": 0.19303688383316098,
117
+ "grad_norm": 1.6435197591781616,
118
+ "learning_rate": 1.6140641158221304e-05,
119
+ "loss": 0.30205060958862306,
120
+ "step": 2800
121
+ },
122
+ {
123
+ "epoch": 0.20682523267838676,
124
+ "grad_norm": 2.0023410320281982,
125
+ "learning_rate": 1.586487418131679e-05,
126
+ "loss": 0.2959835815429688,
127
+ "step": 3000
128
+ },
129
+ {
130
+ "epoch": 0.22061358152361255,
131
+ "grad_norm": 1.1106364727020264,
132
+ "learning_rate": 1.558910720441227e-05,
133
+ "loss": 0.28498205184936526,
134
+ "step": 3200
135
+ },
136
+ {
137
+ "epoch": 0.23440193036883833,
138
+ "grad_norm": 1.951019525527954,
139
+ "learning_rate": 1.5313340227507758e-05,
140
+ "loss": 0.2866662406921387,
141
+ "step": 3400
142
+ },
143
+ {
144
+ "epoch": 0.2481902792140641,
145
+ "grad_norm": 1.2675732374191284,
146
+ "learning_rate": 1.5037573250603242e-05,
147
+ "loss": 0.2802707290649414,
148
+ "step": 3600
149
+ },
150
+ {
151
+ "epoch": 0.2619786280592899,
152
+ "grad_norm": 1.129682183265686,
153
+ "learning_rate": 1.4761806273698727e-05,
154
+ "loss": 0.27155515670776365,
155
+ "step": 3800
156
+ },
157
+ {
158
+ "epoch": 0.2757669769045157,
159
+ "grad_norm": 1.1867386102676392,
160
+ "learning_rate": 1.448603929679421e-05,
161
+ "loss": 0.2704596519470215,
162
+ "step": 4000
163
+ },
164
+ {
165
+ "epoch": 0.2757669769045157,
166
+ "eval_accuracy": 0.9294057690079118,
167
+ "eval_f1": 0.4474882331063317,
168
+ "eval_loss": 0.2208142876625061,
169
+ "eval_precision": 0.4183392082104405,
170
+ "eval_recall": 0.48100358422939066,
171
+ "eval_runtime": 10.0377,
172
+ "eval_samples_per_second": 1992.497,
173
+ "eval_steps_per_second": 31.183,
174
+ "step": 4000
175
+ },
176
+ {
177
+ "epoch": 0.28955532574974147,
178
+ "grad_norm": 1.4080299139022827,
179
+ "learning_rate": 1.4210272319889696e-05,
180
+ "loss": 0.2664038848876953,
181
+ "step": 4200
182
+ },
183
+ {
184
+ "epoch": 0.30334367459496725,
185
+ "grad_norm": 1.4007683992385864,
186
+ "learning_rate": 1.393450534298518e-05,
187
+ "loss": 0.26422006607055665,
188
+ "step": 4400
189
+ },
190
+ {
191
+ "epoch": 0.31713202344019303,
192
+ "grad_norm": 1.7308765649795532,
193
+ "learning_rate": 1.3658738366080664e-05,
194
+ "loss": 0.25533161163330076,
195
+ "step": 4600
196
+ },
197
+ {
198
+ "epoch": 0.3309203722854188,
199
+ "grad_norm": 1.7256940603256226,
200
+ "learning_rate": 1.3382971389176146e-05,
201
+ "loss": 0.25111486434936525,
202
+ "step": 4800
203
+ },
204
+ {
205
+ "epoch": 0.3447087211306446,
206
+ "grad_norm": 1.039595365524292,
207
+ "learning_rate": 1.3107204412271633e-05,
208
+ "loss": 0.24599828720092773,
209
+ "step": 5000
210
+ },
211
+ {
212
+ "epoch": 0.3584970699758704,
213
+ "grad_norm": 1.8612524271011353,
214
+ "learning_rate": 1.2831437435367115e-05,
215
+ "loss": 0.2489796257019043,
216
+ "step": 5200
217
+ },
218
+ {
219
+ "epoch": 0.37228541882109617,
220
+ "grad_norm": 2.6072161197662354,
221
+ "learning_rate": 1.25556704584626e-05,
222
+ "loss": 0.2444438934326172,
223
+ "step": 5400
224
+ },
225
+ {
226
+ "epoch": 0.38607376766632195,
227
+ "grad_norm": 1.265944242477417,
228
+ "learning_rate": 1.2279903481558084e-05,
229
+ "loss": 0.2422557830810547,
230
+ "step": 5600
231
+ },
232
+ {
233
+ "epoch": 0.39986211651154774,
234
+ "grad_norm": 1.2678699493408203,
235
+ "learning_rate": 1.200413650465357e-05,
236
+ "loss": 0.24262113571166993,
237
+ "step": 5800
238
+ },
239
+ {
240
+ "epoch": 0.4136504653567735,
241
+ "grad_norm": 1.5601742267608643,
242
+ "learning_rate": 1.1728369527749053e-05,
243
+ "loss": 0.2445354461669922,
244
+ "step": 6000
245
+ },
246
+ {
247
+ "epoch": 0.4136504653567735,
248
+ "eval_accuracy": 0.9363128285626995,
249
+ "eval_f1": 0.4803237047343094,
250
+ "eval_loss": 0.19360145926475525,
251
+ "eval_precision": 0.4471989161695149,
252
+ "eval_recall": 0.5187482768127929,
253
+ "eval_runtime": 10.0804,
254
+ "eval_samples_per_second": 1984.049,
255
+ "eval_steps_per_second": 31.05,
256
+ "step": 6000
257
+ },
258
+ {
259
+ "epoch": 0.4274388142019993,
260
+ "grad_norm": 1.5976165533065796,
261
+ "learning_rate": 1.1452602550844538e-05,
262
+ "loss": 0.2337088966369629,
263
+ "step": 6200
264
+ },
265
+ {
266
+ "epoch": 0.4412271630472251,
267
+ "grad_norm": 1.1755609512329102,
268
+ "learning_rate": 1.1176835573940022e-05,
269
+ "loss": 0.22395843505859375,
270
+ "step": 6400
271
+ },
272
+ {
273
+ "epoch": 0.4550155118924509,
274
+ "grad_norm": 1.0502196550369263,
275
+ "learning_rate": 1.0901068597035507e-05,
276
+ "loss": 0.22551630020141603,
277
+ "step": 6600
278
+ },
279
+ {
280
+ "epoch": 0.46880386073767666,
281
+ "grad_norm": 1.2917273044586182,
282
+ "learning_rate": 1.062530162013099e-05,
283
+ "loss": 0.23265909194946288,
284
+ "step": 6800
285
+ },
286
+ {
287
+ "epoch": 0.48259220958290244,
288
+ "grad_norm": 1.1052443981170654,
289
+ "learning_rate": 1.0349534643226476e-05,
290
+ "loss": 0.22997581481933593,
291
+ "step": 7000
292
+ },
293
+ {
294
+ "epoch": 0.4963805584281282,
295
+ "grad_norm": 1.381700873374939,
296
+ "learning_rate": 1.007376766632196e-05,
297
+ "loss": 0.2284539031982422,
298
+ "step": 7200
299
+ },
300
+ {
301
+ "epoch": 0.5101689072733541,
302
+ "grad_norm": 1.7055002450942993,
303
+ "learning_rate": 9.798000689417443e-06,
304
+ "loss": 0.22296590805053712,
305
+ "step": 7400
306
+ },
307
+ {
308
+ "epoch": 0.5239572561185798,
309
+ "grad_norm": 1.1947736740112305,
310
+ "learning_rate": 9.522233712512928e-06,
311
+ "loss": 0.2213929557800293,
312
+ "step": 7600
313
+ },
314
+ {
315
+ "epoch": 0.5377456049638056,
316
+ "grad_norm": 1.5072541236877441,
317
+ "learning_rate": 9.246466735608412e-06,
318
+ "loss": 0.22671804428100586,
319
+ "step": 7800
320
+ },
321
+ {
322
+ "epoch": 0.5515339538090314,
323
+ "grad_norm": 1.1856580972671509,
324
+ "learning_rate": 8.970699758703895e-06,
325
+ "loss": 0.21764352798461914,
326
+ "step": 8000
327
+ },
328
+ {
329
+ "epoch": 0.5515339538090314,
330
+ "eval_accuracy": 0.9401936873821388,
331
+ "eval_f1": 0.5002960941321868,
332
+ "eval_loss": 0.18017448484897614,
333
+ "eval_precision": 0.4692571483771252,
334
+ "eval_recall": 0.5357320099255584,
335
+ "eval_runtime": 10.0232,
336
+ "eval_samples_per_second": 1995.367,
337
+ "eval_steps_per_second": 31.227,
338
+ "step": 8000
339
+ },
340
+ {
341
+ "epoch": 0.5653223026542572,
342
+ "grad_norm": 1.173108696937561,
343
+ "learning_rate": 8.69493278179938e-06,
344
+ "loss": 0.21765981674194335,
345
+ "step": 8200
346
+ },
347
+ {
348
+ "epoch": 0.5791106514994829,
349
+ "grad_norm": 1.3492612838745117,
350
+ "learning_rate": 8.419165804894864e-06,
351
+ "loss": 0.21885225296020508,
352
+ "step": 8400
353
+ },
354
+ {
355
+ "epoch": 0.5928990003447088,
356
+ "grad_norm": 1.2368924617767334,
357
+ "learning_rate": 8.143398827990349e-06,
358
+ "loss": 0.21894161224365236,
359
+ "step": 8600
360
+ },
361
+ {
362
+ "epoch": 0.6066873491899345,
363
+ "grad_norm": 1.0420321226119995,
364
+ "learning_rate": 7.867631851085833e-06,
365
+ "loss": 0.21339195251464843,
366
+ "step": 8800
367
+ },
368
+ {
369
+ "epoch": 0.6204756980351603,
370
+ "grad_norm": 1.312456727027893,
371
+ "learning_rate": 7.591864874181317e-06,
372
+ "loss": 0.21306278228759765,
373
+ "step": 9000
374
+ },
375
+ {
376
+ "epoch": 0.6342640468803861,
377
+ "grad_norm": 1.2957308292388916,
378
+ "learning_rate": 7.3160978972768015e-06,
379
+ "loss": 0.21283523559570314,
380
+ "step": 9200
381
+ },
382
+ {
383
+ "epoch": 0.6480523957256119,
384
+ "grad_norm": 3.096158981323242,
385
+ "learning_rate": 7.040330920372286e-06,
386
+ "loss": 0.22200897216796875,
387
+ "step": 9400
388
+ },
389
+ {
390
+ "epoch": 0.6618407445708376,
391
+ "grad_norm": 1.420737624168396,
392
+ "learning_rate": 6.76456394346777e-06,
393
+ "loss": 0.2175071907043457,
394
+ "step": 9600
395
+ },
396
+ {
397
+ "epoch": 0.6756290934160635,
398
+ "grad_norm": 1.5053138732910156,
399
+ "learning_rate": 6.488796966563255e-06,
400
+ "loss": 0.21140506744384766,
401
+ "step": 9800
402
+ },
403
+ {
404
+ "epoch": 0.6894174422612892,
405
+ "grad_norm": 1.7005326747894287,
406
+ "learning_rate": 6.213029989658739e-06,
407
+ "loss": 0.20936330795288086,
408
+ "step": 10000
409
+ },
410
+ {
411
+ "epoch": 0.6894174422612892,
412
+ "eval_accuracy": 0.9434556104550099,
413
+ "eval_f1": 0.5163540194718488,
414
+ "eval_loss": 0.17051653563976288,
415
+ "eval_precision": 0.4873125015293513,
416
+ "eval_recall": 0.5490763716570168,
417
+ "eval_runtime": 10.4802,
418
+ "eval_samples_per_second": 1908.354,
419
+ "eval_steps_per_second": 29.866,
420
+ "step": 10000
421
+ },
422
+ {
423
+ "epoch": 0.703205791106515,
424
+ "grad_norm": 1.1808063983917236,
425
+ "learning_rate": 5.937263012754223e-06,
426
+ "loss": 0.2099304962158203,
427
+ "step": 10200
428
+ },
429
+ {
430
+ "epoch": 0.7169941399517408,
431
+ "grad_norm": 1.238837718963623,
432
+ "learning_rate": 5.661496035849707e-06,
433
+ "loss": 0.20580806732177734,
434
+ "step": 10400
435
+ },
436
+ {
437
+ "epoch": 0.7307824887969666,
438
+ "grad_norm": 1.7494562864303589,
439
+ "learning_rate": 5.3857290589451915e-06,
440
+ "loss": 0.20552108764648438,
441
+ "step": 10600
442
+ },
443
+ {
444
+ "epoch": 0.7445708376421923,
445
+ "grad_norm": 2.1073572635650635,
446
+ "learning_rate": 5.109962082040676e-06,
447
+ "loss": 0.20681476593017578,
448
+ "step": 10800
449
+ },
450
+ {
451
+ "epoch": 0.7583591864874182,
452
+ "grad_norm": 1.3458033800125122,
453
+ "learning_rate": 4.83419510513616e-06,
454
+ "loss": 0.20359535217285157,
455
+ "step": 11000
456
+ },
457
+ {
458
+ "epoch": 0.7721475353326439,
459
+ "grad_norm": 1.1731774806976318,
460
+ "learning_rate": 4.558428128231645e-06,
461
+ "loss": 0.2056349754333496,
462
+ "step": 11200
463
+ },
464
+ {
465
+ "epoch": 0.7859358841778697,
466
+ "grad_norm": 1.3708990812301636,
467
+ "learning_rate": 4.282661151327129e-06,
468
+ "loss": 0.2058660125732422,
469
+ "step": 11400
470
+ },
471
+ {
472
+ "epoch": 0.7997242330230955,
473
+ "grad_norm": 1.1624313592910767,
474
+ "learning_rate": 4.0068941744226135e-06,
475
+ "loss": 0.20310092926025392,
476
+ "step": 11600
477
+ },
478
+ {
479
+ "epoch": 0.8135125818683213,
480
+ "grad_norm": 1.3882473707199097,
481
+ "learning_rate": 3.7311271975180975e-06,
482
+ "loss": 0.2082367706298828,
483
+ "step": 11800
484
+ },
485
+ {
486
+ "epoch": 0.827300930713547,
487
+ "grad_norm": 1.7915494441986084,
488
+ "learning_rate": 3.455360220613582e-06,
489
+ "loss": 0.20367862701416015,
490
+ "step": 12000
491
+ },
492
+ {
493
+ "epoch": 0.827300930713547,
494
+ "eval_accuracy": 0.9442049177737276,
495
+ "eval_f1": 0.520962146523804,
496
+ "eval_loss": 0.16711591184139252,
497
+ "eval_precision": 0.4862475207302793,
498
+ "eval_recall": 0.5610146126275158,
499
+ "eval_runtime": 9.7345,
500
+ "eval_samples_per_second": 2054.558,
501
+ "eval_steps_per_second": 32.154,
502
+ "step": 12000
503
+ }
504
+ ],
505
+ "logging_steps": 200,
506
+ "max_steps": 14505,
507
+ "num_input_tokens_seen": 0,
508
+ "num_train_epochs": 1,
509
+ "save_steps": 2000,
510
+ "stateful_callbacks": {
511
+ "TrainerControl": {
512
+ "args": {
513
+ "should_epoch_stop": false,
514
+ "should_evaluate": false,
515
+ "should_log": false,
516
+ "should_save": true,
517
+ "should_training_stop": false
518
+ },
519
+ "attributes": {}
520
+ }
521
+ },
522
+ "total_flos": 77640709565952.0,
523
+ "train_batch_size": 32,
524
+ "trial_name": null,
525
+ "trial_params": null
526
+ }
full-openpii-500k/checkpoints/checkpoint-12000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4df483fc65e86a8e85fec1834084cd6c3c69b50ccd36f2eeb0fabf3798ed8f
3
+ size 5201
full-openpii-500k/checkpoints/checkpoint-14000/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-ADDRESS",
17
+ "2": "I-ADDRESS",
18
+ "3": "B-API_KEY",
19
+ "4": "I-API_KEY",
20
+ "5": "B-CREDIT_CARD",
21
+ "6": "I-CREDIT_CARD",
22
+ "7": "B-DATE_OF_BIRTH",
23
+ "8": "I-DATE_OF_BIRTH",
24
+ "9": "B-DRIVER_LICENSE",
25
+ "10": "I-DRIVER_LICENSE",
26
+ "11": "B-EMAIL",
27
+ "12": "I-EMAIL",
28
+ "13": "B-IP_ADDRESS",
29
+ "14": "I-IP_ADDRESS",
30
+ "15": "B-LOCATION",
31
+ "16": "I-LOCATION",
32
+ "17": "B-PASSWORD",
33
+ "18": "I-PASSWORD",
34
+ "19": "B-PERSON_NAME",
35
+ "20": "I-PERSON_NAME",
36
+ "21": "B-PHONE",
37
+ "22": "I-PHONE",
38
+ "23": "B-SSN",
39
+ "24": "I-SSN",
40
+ "25": "B-USERNAME",
41
+ "26": "I-USERNAME"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 512,
45
+ "is_decoder": false,
46
+ "label2id": {
47
+ "B-ADDRESS": 1,
48
+ "B-API_KEY": 3,
49
+ "B-CREDIT_CARD": 5,
50
+ "B-DATE_OF_BIRTH": 7,
51
+ "B-DRIVER_LICENSE": 9,
52
+ "B-EMAIL": 11,
53
+ "B-IP_ADDRESS": 13,
54
+ "B-LOCATION": 15,
55
+ "B-PASSWORD": 17,
56
+ "B-PERSON_NAME": 19,
57
+ "B-PHONE": 21,
58
+ "B-SSN": 23,
59
+ "B-USERNAME": 25,
60
+ "I-ADDRESS": 2,
61
+ "I-API_KEY": 4,
62
+ "I-CREDIT_CARD": 6,
63
+ "I-DATE_OF_BIRTH": 8,
64
+ "I-DRIVER_LICENSE": 10,
65
+ "I-EMAIL": 12,
66
+ "I-IP_ADDRESS": 14,
67
+ "I-LOCATION": 16,
68
+ "I-PASSWORD": 18,
69
+ "I-PERSON_NAME": 20,
70
+ "I-PHONE": 22,
71
+ "I-SSN": 24,
72
+ "I-USERNAME": 26,
73
+ "O": 0
74
+ },
75
+ "layer_norm_eps": 1e-12,
76
+ "max_position_embeddings": 512,
77
+ "model_type": "bert",
78
+ "num_attention_heads": 2,
79
+ "num_hidden_layers": 2,
80
+ "pad_token_id": 0,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.11.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": false,
85
+ "vocab_size": 30522
86
+ }
full-openpii-500k/checkpoints/checkpoint-14000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50666c013ab44091fcdd9d2c93df85f0dc18ffcd34e787cf509c3ce8977c854b
3
+ size 17495980
full-openpii-500k/checkpoints/checkpoint-14000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37ed5f219c0e6434a763cf994f6ac61c35b03b2de0490e39c08653896cd03f72
3
+ size 35016907
full-openpii-500k/checkpoints/checkpoint-14000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64886e7552c59cf7a302bde3f7657f9fc9a73e7f37d504e244252d13bd8ef3aa
3
+ size 14645
full-openpii-500k/checkpoints/checkpoint-14000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a2f73f26499c130880fa0abb201fb2049daf225e8fcfae2e1e94a0b685604f9
3
+ size 1383
full-openpii-500k/checkpoints/checkpoint-14000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8212933720dae023f46fb90420cc13f4175484bff4ae39b89e6959909a8a5e3
3
+ size 1465
full-openpii-500k/checkpoints/checkpoint-14000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
full-openpii-500k/checkpoints/checkpoint-14000/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 160,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "stride": 0,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }
full-openpii-500k/checkpoints/checkpoint-14000/trainer_state.json ADDED
@@ -0,0 +1,608 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 14000,
3
+ "best_metric": 0.5233849845820377,
4
+ "best_model_checkpoint": "/outputs/full-openpii-500k/checkpoints/checkpoint-14000",
5
+ "epoch": 0.9651844191658049,
6
+ "eval_steps": 2000,
7
+ "global_step": 14000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.013788348845225784,
14
+ "grad_norm": 1.3536444902420044,
15
+ "learning_rate": 1.972561185798001e-05,
16
+ "loss": 0.7454490661621094,
17
+ "step": 200
18
+ },
19
+ {
20
+ "epoch": 0.027576697690451568,
21
+ "grad_norm": 1.3048033714294434,
22
+ "learning_rate": 1.944984488107549e-05,
23
+ "loss": 0.5720141220092774,
24
+ "step": 400
25
+ },
26
+ {
27
+ "epoch": 0.04136504653567735,
28
+ "grad_norm": 1.9288572072982788,
29
+ "learning_rate": 1.9174077904170978e-05,
30
+ "loss": 0.4927207946777344,
31
+ "step": 600
32
+ },
33
+ {
34
+ "epoch": 0.055153395380903136,
35
+ "grad_norm": 1.7550076246261597,
36
+ "learning_rate": 1.889831092726646e-05,
37
+ "loss": 0.4657698440551758,
38
+ "step": 800
39
+ },
40
+ {
41
+ "epoch": 0.06894174422612892,
42
+ "grad_norm": 1.7711143493652344,
43
+ "learning_rate": 1.8622543950361945e-05,
44
+ "loss": 0.42969669342041017,
45
+ "step": 1000
46
+ },
47
+ {
48
+ "epoch": 0.0827300930713547,
49
+ "grad_norm": 2.50980544090271,
50
+ "learning_rate": 1.834677697345743e-05,
51
+ "loss": 0.41879753112792967,
52
+ "step": 1200
53
+ },
54
+ {
55
+ "epoch": 0.09651844191658049,
56
+ "grad_norm": 1.705670952796936,
57
+ "learning_rate": 1.8071009996552916e-05,
58
+ "loss": 0.385702018737793,
59
+ "step": 1400
60
+ },
61
+ {
62
+ "epoch": 0.11030679076180627,
63
+ "grad_norm": 1.445986032485962,
64
+ "learning_rate": 1.77952430196484e-05,
65
+ "loss": 0.36213504791259765,
66
+ "step": 1600
67
+ },
68
+ {
69
+ "epoch": 0.12409513960703206,
70
+ "grad_norm": 1.4295554161071777,
71
+ "learning_rate": 1.7519476042743883e-05,
72
+ "loss": 0.351446533203125,
73
+ "step": 1800
74
+ },
75
+ {
76
+ "epoch": 0.13788348845225784,
77
+ "grad_norm": 1.4451907873153687,
78
+ "learning_rate": 1.7243709065839366e-05,
79
+ "loss": 0.34252952575683593,
80
+ "step": 2000
81
+ },
82
+ {
83
+ "epoch": 0.13788348845225784,
84
+ "eval_accuracy": 0.9116923546949569,
85
+ "eval_f1": 0.3809941841325579,
86
+ "eval_loss": 0.2862004041671753,
87
+ "eval_precision": 0.37910138123055087,
88
+ "eval_recall": 0.38290598290598293,
89
+ "eval_runtime": 11.153,
90
+ "eval_samples_per_second": 1793.238,
91
+ "eval_steps_per_second": 28.064,
92
+ "step": 2000
93
+ },
94
+ {
95
+ "epoch": 0.15167183729748362,
96
+ "grad_norm": 1.3401026725769043,
97
+ "learning_rate": 1.6967942088934853e-05,
98
+ "loss": 0.33029396057128907,
99
+ "step": 2200
100
+ },
101
+ {
102
+ "epoch": 0.1654601861427094,
103
+ "grad_norm": 1.4941850900650024,
104
+ "learning_rate": 1.6692175112030337e-05,
105
+ "loss": 0.31315877914428714,
106
+ "step": 2400
107
+ },
108
+ {
109
+ "epoch": 0.1792485349879352,
110
+ "grad_norm": 1.2174286842346191,
111
+ "learning_rate": 1.641640813512582e-05,
112
+ "loss": 0.31084712982177737,
113
+ "step": 2600
114
+ },
115
+ {
116
+ "epoch": 0.19303688383316098,
117
+ "grad_norm": 1.6435197591781616,
118
+ "learning_rate": 1.6140641158221304e-05,
119
+ "loss": 0.30205060958862306,
120
+ "step": 2800
121
+ },
122
+ {
123
+ "epoch": 0.20682523267838676,
124
+ "grad_norm": 2.0023410320281982,
125
+ "learning_rate": 1.586487418131679e-05,
126
+ "loss": 0.2959835815429688,
127
+ "step": 3000
128
+ },
129
+ {
130
+ "epoch": 0.22061358152361255,
131
+ "grad_norm": 1.1106364727020264,
132
+ "learning_rate": 1.558910720441227e-05,
133
+ "loss": 0.28498205184936526,
134
+ "step": 3200
135
+ },
136
+ {
137
+ "epoch": 0.23440193036883833,
138
+ "grad_norm": 1.951019525527954,
139
+ "learning_rate": 1.5313340227507758e-05,
140
+ "loss": 0.2866662406921387,
141
+ "step": 3400
142
+ },
143
+ {
144
+ "epoch": 0.2481902792140641,
145
+ "grad_norm": 1.2675732374191284,
146
+ "learning_rate": 1.5037573250603242e-05,
147
+ "loss": 0.2802707290649414,
148
+ "step": 3600
149
+ },
150
+ {
151
+ "epoch": 0.2619786280592899,
152
+ "grad_norm": 1.129682183265686,
153
+ "learning_rate": 1.4761806273698727e-05,
154
+ "loss": 0.27155515670776365,
155
+ "step": 3800
156
+ },
157
+ {
158
+ "epoch": 0.2757669769045157,
159
+ "grad_norm": 1.1867386102676392,
160
+ "learning_rate": 1.448603929679421e-05,
161
+ "loss": 0.2704596519470215,
162
+ "step": 4000
163
+ },
164
+ {
165
+ "epoch": 0.2757669769045157,
166
+ "eval_accuracy": 0.9294057690079118,
167
+ "eval_f1": 0.4474882331063317,
168
+ "eval_loss": 0.2208142876625061,
169
+ "eval_precision": 0.4183392082104405,
170
+ "eval_recall": 0.48100358422939066,
171
+ "eval_runtime": 10.0377,
172
+ "eval_samples_per_second": 1992.497,
173
+ "eval_steps_per_second": 31.183,
174
+ "step": 4000
175
+ },
176
+ {
177
+ "epoch": 0.28955532574974147,
178
+ "grad_norm": 1.4080299139022827,
179
+ "learning_rate": 1.4210272319889696e-05,
180
+ "loss": 0.2664038848876953,
181
+ "step": 4200
182
+ },
183
+ {
184
+ "epoch": 0.30334367459496725,
185
+ "grad_norm": 1.4007683992385864,
186
+ "learning_rate": 1.393450534298518e-05,
187
+ "loss": 0.26422006607055665,
188
+ "step": 4400
189
+ },
190
+ {
191
+ "epoch": 0.31713202344019303,
192
+ "grad_norm": 1.7308765649795532,
193
+ "learning_rate": 1.3658738366080664e-05,
194
+ "loss": 0.25533161163330076,
195
+ "step": 4600
196
+ },
197
+ {
198
+ "epoch": 0.3309203722854188,
199
+ "grad_norm": 1.7256940603256226,
200
+ "learning_rate": 1.3382971389176146e-05,
201
+ "loss": 0.25111486434936525,
202
+ "step": 4800
203
+ },
204
+ {
205
+ "epoch": 0.3447087211306446,
206
+ "grad_norm": 1.039595365524292,
207
+ "learning_rate": 1.3107204412271633e-05,
208
+ "loss": 0.24599828720092773,
209
+ "step": 5000
210
+ },
211
+ {
212
+ "epoch": 0.3584970699758704,
213
+ "grad_norm": 1.8612524271011353,
214
+ "learning_rate": 1.2831437435367115e-05,
215
+ "loss": 0.2489796257019043,
216
+ "step": 5200
217
+ },
218
+ {
219
+ "epoch": 0.37228541882109617,
220
+ "grad_norm": 2.6072161197662354,
221
+ "learning_rate": 1.25556704584626e-05,
222
+ "loss": 0.2444438934326172,
223
+ "step": 5400
224
+ },
225
+ {
226
+ "epoch": 0.38607376766632195,
227
+ "grad_norm": 1.265944242477417,
228
+ "learning_rate": 1.2279903481558084e-05,
229
+ "loss": 0.2422557830810547,
230
+ "step": 5600
231
+ },
232
+ {
233
+ "epoch": 0.39986211651154774,
234
+ "grad_norm": 1.2678699493408203,
235
+ "learning_rate": 1.200413650465357e-05,
236
+ "loss": 0.24262113571166993,
237
+ "step": 5800
238
+ },
239
+ {
240
+ "epoch": 0.4136504653567735,
241
+ "grad_norm": 1.5601742267608643,
242
+ "learning_rate": 1.1728369527749053e-05,
243
+ "loss": 0.2445354461669922,
244
+ "step": 6000
245
+ },
246
+ {
247
+ "epoch": 0.4136504653567735,
248
+ "eval_accuracy": 0.9363128285626995,
249
+ "eval_f1": 0.4803237047343094,
250
+ "eval_loss": 0.19360145926475525,
251
+ "eval_precision": 0.4471989161695149,
252
+ "eval_recall": 0.5187482768127929,
253
+ "eval_runtime": 10.0804,
254
+ "eval_samples_per_second": 1984.049,
255
+ "eval_steps_per_second": 31.05,
256
+ "step": 6000
257
+ },
258
+ {
259
+ "epoch": 0.4274388142019993,
260
+ "grad_norm": 1.5976165533065796,
261
+ "learning_rate": 1.1452602550844538e-05,
262
+ "loss": 0.2337088966369629,
263
+ "step": 6200
264
+ },
265
+ {
266
+ "epoch": 0.4412271630472251,
267
+ "grad_norm": 1.1755609512329102,
268
+ "learning_rate": 1.1176835573940022e-05,
269
+ "loss": 0.22395843505859375,
270
+ "step": 6400
271
+ },
272
+ {
273
+ "epoch": 0.4550155118924509,
274
+ "grad_norm": 1.0502196550369263,
275
+ "learning_rate": 1.0901068597035507e-05,
276
+ "loss": 0.22551630020141603,
277
+ "step": 6600
278
+ },
279
+ {
280
+ "epoch": 0.46880386073767666,
281
+ "grad_norm": 1.2917273044586182,
282
+ "learning_rate": 1.062530162013099e-05,
283
+ "loss": 0.23265909194946288,
284
+ "step": 6800
285
+ },
286
+ {
287
+ "epoch": 0.48259220958290244,
288
+ "grad_norm": 1.1052443981170654,
289
+ "learning_rate": 1.0349534643226476e-05,
290
+ "loss": 0.22997581481933593,
291
+ "step": 7000
292
+ },
293
+ {
294
+ "epoch": 0.4963805584281282,
295
+ "grad_norm": 1.381700873374939,
296
+ "learning_rate": 1.007376766632196e-05,
297
+ "loss": 0.2284539031982422,
298
+ "step": 7200
299
+ },
300
+ {
301
+ "epoch": 0.5101689072733541,
302
+ "grad_norm": 1.7055002450942993,
303
+ "learning_rate": 9.798000689417443e-06,
304
+ "loss": 0.22296590805053712,
305
+ "step": 7400
306
+ },
307
+ {
308
+ "epoch": 0.5239572561185798,
309
+ "grad_norm": 1.1947736740112305,
310
+ "learning_rate": 9.522233712512928e-06,
311
+ "loss": 0.2213929557800293,
312
+ "step": 7600
313
+ },
314
+ {
315
+ "epoch": 0.5377456049638056,
316
+ "grad_norm": 1.5072541236877441,
317
+ "learning_rate": 9.246466735608412e-06,
318
+ "loss": 0.22671804428100586,
319
+ "step": 7800
320
+ },
321
+ {
322
+ "epoch": 0.5515339538090314,
323
+ "grad_norm": 1.1856580972671509,
324
+ "learning_rate": 8.970699758703895e-06,
325
+ "loss": 0.21764352798461914,
326
+ "step": 8000
327
+ },
328
+ {
329
+ "epoch": 0.5515339538090314,
330
+ "eval_accuracy": 0.9401936873821388,
331
+ "eval_f1": 0.5002960941321868,
332
+ "eval_loss": 0.18017448484897614,
333
+ "eval_precision": 0.4692571483771252,
334
+ "eval_recall": 0.5357320099255584,
335
+ "eval_runtime": 10.0232,
336
+ "eval_samples_per_second": 1995.367,
337
+ "eval_steps_per_second": 31.227,
338
+ "step": 8000
339
+ },
340
+ {
341
+ "epoch": 0.5653223026542572,
342
+ "grad_norm": 1.173108696937561,
343
+ "learning_rate": 8.69493278179938e-06,
344
+ "loss": 0.21765981674194335,
345
+ "step": 8200
346
+ },
347
+ {
348
+ "epoch": 0.5791106514994829,
349
+ "grad_norm": 1.3492612838745117,
350
+ "learning_rate": 8.419165804894864e-06,
351
+ "loss": 0.21885225296020508,
352
+ "step": 8400
353
+ },
354
+ {
355
+ "epoch": 0.5928990003447088,
356
+ "grad_norm": 1.2368924617767334,
357
+ "learning_rate": 8.143398827990349e-06,
358
+ "loss": 0.21894161224365236,
359
+ "step": 8600
360
+ },
361
+ {
362
+ "epoch": 0.6066873491899345,
363
+ "grad_norm": 1.0420321226119995,
364
+ "learning_rate": 7.867631851085833e-06,
365
+ "loss": 0.21339195251464843,
366
+ "step": 8800
367
+ },
368
+ {
369
+ "epoch": 0.6204756980351603,
370
+ "grad_norm": 1.312456727027893,
371
+ "learning_rate": 7.591864874181317e-06,
372
+ "loss": 0.21306278228759765,
373
+ "step": 9000
374
+ },
375
+ {
376
+ "epoch": 0.6342640468803861,
377
+ "grad_norm": 1.2957308292388916,
378
+ "learning_rate": 7.3160978972768015e-06,
379
+ "loss": 0.21283523559570314,
380
+ "step": 9200
381
+ },
382
+ {
383
+ "epoch": 0.6480523957256119,
384
+ "grad_norm": 3.096158981323242,
385
+ "learning_rate": 7.040330920372286e-06,
386
+ "loss": 0.22200897216796875,
387
+ "step": 9400
388
+ },
389
+ {
390
+ "epoch": 0.6618407445708376,
391
+ "grad_norm": 1.420737624168396,
392
+ "learning_rate": 6.76456394346777e-06,
393
+ "loss": 0.2175071907043457,
394
+ "step": 9600
395
+ },
396
+ {
397
+ "epoch": 0.6756290934160635,
398
+ "grad_norm": 1.5053138732910156,
399
+ "learning_rate": 6.488796966563255e-06,
400
+ "loss": 0.21140506744384766,
401
+ "step": 9800
402
+ },
403
+ {
404
+ "epoch": 0.6894174422612892,
405
+ "grad_norm": 1.7005326747894287,
406
+ "learning_rate": 6.213029989658739e-06,
407
+ "loss": 0.20936330795288086,
408
+ "step": 10000
409
+ },
410
+ {
411
+ "epoch": 0.6894174422612892,
412
+ "eval_accuracy": 0.9434556104550099,
413
+ "eval_f1": 0.5163540194718488,
414
+ "eval_loss": 0.17051653563976288,
415
+ "eval_precision": 0.4873125015293513,
416
+ "eval_recall": 0.5490763716570168,
417
+ "eval_runtime": 10.4802,
418
+ "eval_samples_per_second": 1908.354,
419
+ "eval_steps_per_second": 29.866,
420
+ "step": 10000
421
+ },
422
+ {
423
+ "epoch": 0.703205791106515,
424
+ "grad_norm": 1.1808063983917236,
425
+ "learning_rate": 5.937263012754223e-06,
426
+ "loss": 0.2099304962158203,
427
+ "step": 10200
428
+ },
429
+ {
430
+ "epoch": 0.7169941399517408,
431
+ "grad_norm": 1.238837718963623,
432
+ "learning_rate": 5.661496035849707e-06,
433
+ "loss": 0.20580806732177734,
434
+ "step": 10400
435
+ },
436
+ {
437
+ "epoch": 0.7307824887969666,
438
+ "grad_norm": 1.7494562864303589,
439
+ "learning_rate": 5.3857290589451915e-06,
440
+ "loss": 0.20552108764648438,
441
+ "step": 10600
442
+ },
443
+ {
444
+ "epoch": 0.7445708376421923,
445
+ "grad_norm": 2.1073572635650635,
446
+ "learning_rate": 5.109962082040676e-06,
447
+ "loss": 0.20681476593017578,
448
+ "step": 10800
449
+ },
450
+ {
451
+ "epoch": 0.7583591864874182,
452
+ "grad_norm": 1.3458033800125122,
453
+ "learning_rate": 4.83419510513616e-06,
454
+ "loss": 0.20359535217285157,
455
+ "step": 11000
456
+ },
457
+ {
458
+ "epoch": 0.7721475353326439,
459
+ "grad_norm": 1.1731774806976318,
460
+ "learning_rate": 4.558428128231645e-06,
461
+ "loss": 0.2056349754333496,
462
+ "step": 11200
463
+ },
464
+ {
465
+ "epoch": 0.7859358841778697,
466
+ "grad_norm": 1.3708990812301636,
467
+ "learning_rate": 4.282661151327129e-06,
468
+ "loss": 0.2058660125732422,
469
+ "step": 11400
470
+ },
471
+ {
472
+ "epoch": 0.7997242330230955,
473
+ "grad_norm": 1.1624313592910767,
474
+ "learning_rate": 4.0068941744226135e-06,
475
+ "loss": 0.20310092926025392,
476
+ "step": 11600
477
+ },
478
+ {
479
+ "epoch": 0.8135125818683213,
480
+ "grad_norm": 1.3882473707199097,
481
+ "learning_rate": 3.7311271975180975e-06,
482
+ "loss": 0.2082367706298828,
483
+ "step": 11800
484
+ },
485
+ {
486
+ "epoch": 0.827300930713547,
487
+ "grad_norm": 1.7915494441986084,
488
+ "learning_rate": 3.455360220613582e-06,
489
+ "loss": 0.20367862701416015,
490
+ "step": 12000
491
+ },
492
+ {
493
+ "epoch": 0.827300930713547,
494
+ "eval_accuracy": 0.9442049177737276,
495
+ "eval_f1": 0.520962146523804,
496
+ "eval_loss": 0.16711591184139252,
497
+ "eval_precision": 0.4862475207302793,
498
+ "eval_recall": 0.5610146126275158,
499
+ "eval_runtime": 9.7345,
500
+ "eval_samples_per_second": 2054.558,
501
+ "eval_steps_per_second": 32.154,
502
+ "step": 12000
503
+ },
504
+ {
505
+ "epoch": 0.8410892795587729,
506
+ "grad_norm": 1.900614857673645,
507
+ "learning_rate": 3.179593243709066e-06,
508
+ "loss": 0.20414718627929687,
509
+ "step": 12200
510
+ },
511
+ {
512
+ "epoch": 0.8548776284039986,
513
+ "grad_norm": 1.5320205688476562,
514
+ "learning_rate": 2.9038262668045503e-06,
515
+ "loss": 0.19842819213867188,
516
+ "step": 12400
517
+ },
518
+ {
519
+ "epoch": 0.8686659772492245,
520
+ "grad_norm": 1.0634764432907104,
521
+ "learning_rate": 2.6280592899000347e-06,
522
+ "loss": 0.20455713272094728,
523
+ "step": 12600
524
+ },
525
+ {
526
+ "epoch": 0.8824543260944502,
527
+ "grad_norm": 1.5051591396331787,
528
+ "learning_rate": 2.352292312995519e-06,
529
+ "loss": 0.20511449813842775,
530
+ "step": 12800
531
+ },
532
+ {
533
+ "epoch": 0.896242674939676,
534
+ "grad_norm": 1.2883975505828857,
535
+ "learning_rate": 2.076525336091003e-06,
536
+ "loss": 0.1981792640686035,
537
+ "step": 13000
538
+ },
539
+ {
540
+ "epoch": 0.9100310237849017,
541
+ "grad_norm": 1.901268720626831,
542
+ "learning_rate": 1.8007583591864874e-06,
543
+ "loss": 0.20567977905273438,
544
+ "step": 13200
545
+ },
546
+ {
547
+ "epoch": 0.9238193726301276,
548
+ "grad_norm": 1.828506350517273,
549
+ "learning_rate": 1.5249913822819716e-06,
550
+ "loss": 0.20068155288696288,
551
+ "step": 13400
552
+ },
553
+ {
554
+ "epoch": 0.9376077214753533,
555
+ "grad_norm": 1.401857614517212,
556
+ "learning_rate": 1.2492244053774563e-06,
557
+ "loss": 0.20199392318725587,
558
+ "step": 13600
559
+ },
560
+ {
561
+ "epoch": 0.9513960703205792,
562
+ "grad_norm": 1.8156548738479614,
563
+ "learning_rate": 9.734574284729404e-07,
564
+ "loss": 0.20472015380859376,
565
+ "step": 13800
566
+ },
567
+ {
568
+ "epoch": 0.9651844191658049,
569
+ "grad_norm": 1.086504578590393,
570
+ "learning_rate": 6.976904515684247e-07,
571
+ "loss": 0.20377262115478514,
572
+ "step": 14000
573
+ },
574
+ {
575
+ "epoch": 0.9651844191658049,
576
+ "eval_accuracy": 0.9452518410046249,
577
+ "eval_f1": 0.5233849845820377,
578
+ "eval_loss": 0.16398483514785767,
579
+ "eval_precision": 0.4918641026262822,
580
+ "eval_recall": 0.5592224979321754,
581
+ "eval_runtime": 10.6768,
582
+ "eval_samples_per_second": 1873.214,
583
+ "eval_steps_per_second": 29.316,
584
+ "step": 14000
585
+ }
586
+ ],
587
+ "logging_steps": 200,
588
+ "max_steps": 14505,
589
+ "num_input_tokens_seen": 0,
590
+ "num_train_epochs": 1,
591
+ "save_steps": 2000,
592
+ "stateful_callbacks": {
593
+ "TrainerControl": {
594
+ "args": {
595
+ "should_epoch_stop": false,
596
+ "should_evaluate": false,
597
+ "should_log": false,
598
+ "should_save": true,
599
+ "should_training_stop": false
600
+ },
601
+ "attributes": {}
602
+ }
603
+ },
604
+ "total_flos": 90601040517312.0,
605
+ "train_batch_size": 32,
606
+ "trial_name": null,
607
+ "trial_params": null
608
+ }
full-openpii-500k/checkpoints/checkpoint-14000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4df483fc65e86a8e85fec1834084cd6c3c69b50ccd36f2eeb0fabf3798ed8f
3
+ size 5201
full-openpii-500k/checkpoints/checkpoint-14505/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-ADDRESS",
17
+ "2": "I-ADDRESS",
18
+ "3": "B-API_KEY",
19
+ "4": "I-API_KEY",
20
+ "5": "B-CREDIT_CARD",
21
+ "6": "I-CREDIT_CARD",
22
+ "7": "B-DATE_OF_BIRTH",
23
+ "8": "I-DATE_OF_BIRTH",
24
+ "9": "B-DRIVER_LICENSE",
25
+ "10": "I-DRIVER_LICENSE",
26
+ "11": "B-EMAIL",
27
+ "12": "I-EMAIL",
28
+ "13": "B-IP_ADDRESS",
29
+ "14": "I-IP_ADDRESS",
30
+ "15": "B-LOCATION",
31
+ "16": "I-LOCATION",
32
+ "17": "B-PASSWORD",
33
+ "18": "I-PASSWORD",
34
+ "19": "B-PERSON_NAME",
35
+ "20": "I-PERSON_NAME",
36
+ "21": "B-PHONE",
37
+ "22": "I-PHONE",
38
+ "23": "B-SSN",
39
+ "24": "I-SSN",
40
+ "25": "B-USERNAME",
41
+ "26": "I-USERNAME"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 512,
45
+ "is_decoder": false,
46
+ "label2id": {
47
+ "B-ADDRESS": 1,
48
+ "B-API_KEY": 3,
49
+ "B-CREDIT_CARD": 5,
50
+ "B-DATE_OF_BIRTH": 7,
51
+ "B-DRIVER_LICENSE": 9,
52
+ "B-EMAIL": 11,
53
+ "B-IP_ADDRESS": 13,
54
+ "B-LOCATION": 15,
55
+ "B-PASSWORD": 17,
56
+ "B-PERSON_NAME": 19,
57
+ "B-PHONE": 21,
58
+ "B-SSN": 23,
59
+ "B-USERNAME": 25,
60
+ "I-ADDRESS": 2,
61
+ "I-API_KEY": 4,
62
+ "I-CREDIT_CARD": 6,
63
+ "I-DATE_OF_BIRTH": 8,
64
+ "I-DRIVER_LICENSE": 10,
65
+ "I-EMAIL": 12,
66
+ "I-IP_ADDRESS": 14,
67
+ "I-LOCATION": 16,
68
+ "I-PASSWORD": 18,
69
+ "I-PERSON_NAME": 20,
70
+ "I-PHONE": 22,
71
+ "I-SSN": 24,
72
+ "I-USERNAME": 26,
73
+ "O": 0
74
+ },
75
+ "layer_norm_eps": 1e-12,
76
+ "max_position_embeddings": 512,
77
+ "model_type": "bert",
78
+ "num_attention_heads": 2,
79
+ "num_hidden_layers": 2,
80
+ "pad_token_id": 0,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.11.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": false,
85
+ "vocab_size": 30522
86
+ }
full-openpii-500k/checkpoints/checkpoint-14505/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b976a7b1be395ceb87e3d25eb691cc692395118bec627e6437d605d9486215f
3
+ size 17495980
full-openpii-500k/checkpoints/checkpoint-14505/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9846988659b22d7a1047f51e320b7806dbd6c0b710f9b39c669362365c00eacb
3
+ size 35016907
full-openpii-500k/checkpoints/checkpoint-14505/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4314895b7c09719e927ae3a1ac2c9ffb527f589a35c91e3c13cec087327fd75b
3
+ size 14645
full-openpii-500k/checkpoints/checkpoint-14505/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34c753ff65cefab0b3e8b4692a2b1ce7d836c2e3e2e8e5dba14f1b0e440b60db
3
+ size 1383
full-openpii-500k/checkpoints/checkpoint-14505/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20af6ef61c48447733cd6c1e7b36644273b7c42271ba15bb981c9d63bea70ab8
3
+ size 1465
full-openpii-500k/checkpoints/checkpoint-14505/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
full-openpii-500k/checkpoints/checkpoint-14505/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 160,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "stride": 0,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }
full-openpii-500k/checkpoints/checkpoint-14505/trainer_state.json ADDED
@@ -0,0 +1,634 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 14505,
3
+ "best_metric": 0.5242530574333041,
4
+ "best_model_checkpoint": "/outputs/full-openpii-500k/checkpoints/checkpoint-14505",
5
+ "epoch": 1.0,
6
+ "eval_steps": 2000,
7
+ "global_step": 14505,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.013788348845225784,
14
+ "grad_norm": 1.3536444902420044,
15
+ "learning_rate": 1.972561185798001e-05,
16
+ "loss": 0.7454490661621094,
17
+ "step": 200
18
+ },
19
+ {
20
+ "epoch": 0.027576697690451568,
21
+ "grad_norm": 1.3048033714294434,
22
+ "learning_rate": 1.944984488107549e-05,
23
+ "loss": 0.5720141220092774,
24
+ "step": 400
25
+ },
26
+ {
27
+ "epoch": 0.04136504653567735,
28
+ "grad_norm": 1.9288572072982788,
29
+ "learning_rate": 1.9174077904170978e-05,
30
+ "loss": 0.4927207946777344,
31
+ "step": 600
32
+ },
33
+ {
34
+ "epoch": 0.055153395380903136,
35
+ "grad_norm": 1.7550076246261597,
36
+ "learning_rate": 1.889831092726646e-05,
37
+ "loss": 0.4657698440551758,
38
+ "step": 800
39
+ },
40
+ {
41
+ "epoch": 0.06894174422612892,
42
+ "grad_norm": 1.7711143493652344,
43
+ "learning_rate": 1.8622543950361945e-05,
44
+ "loss": 0.42969669342041017,
45
+ "step": 1000
46
+ },
47
+ {
48
+ "epoch": 0.0827300930713547,
49
+ "grad_norm": 2.50980544090271,
50
+ "learning_rate": 1.834677697345743e-05,
51
+ "loss": 0.41879753112792967,
52
+ "step": 1200
53
+ },
54
+ {
55
+ "epoch": 0.09651844191658049,
56
+ "grad_norm": 1.705670952796936,
57
+ "learning_rate": 1.8071009996552916e-05,
58
+ "loss": 0.385702018737793,
59
+ "step": 1400
60
+ },
61
+ {
62
+ "epoch": 0.11030679076180627,
63
+ "grad_norm": 1.445986032485962,
64
+ "learning_rate": 1.77952430196484e-05,
65
+ "loss": 0.36213504791259765,
66
+ "step": 1600
67
+ },
68
+ {
69
+ "epoch": 0.12409513960703206,
70
+ "grad_norm": 1.4295554161071777,
71
+ "learning_rate": 1.7519476042743883e-05,
72
+ "loss": 0.351446533203125,
73
+ "step": 1800
74
+ },
75
+ {
76
+ "epoch": 0.13788348845225784,
77
+ "grad_norm": 1.4451907873153687,
78
+ "learning_rate": 1.7243709065839366e-05,
79
+ "loss": 0.34252952575683593,
80
+ "step": 2000
81
+ },
82
+ {
83
+ "epoch": 0.13788348845225784,
84
+ "eval_accuracy": 0.9116923546949569,
85
+ "eval_f1": 0.3809941841325579,
86
+ "eval_loss": 0.2862004041671753,
87
+ "eval_precision": 0.37910138123055087,
88
+ "eval_recall": 0.38290598290598293,
89
+ "eval_runtime": 11.153,
90
+ "eval_samples_per_second": 1793.238,
91
+ "eval_steps_per_second": 28.064,
92
+ "step": 2000
93
+ },
94
+ {
95
+ "epoch": 0.15167183729748362,
96
+ "grad_norm": 1.3401026725769043,
97
+ "learning_rate": 1.6967942088934853e-05,
98
+ "loss": 0.33029396057128907,
99
+ "step": 2200
100
+ },
101
+ {
102
+ "epoch": 0.1654601861427094,
103
+ "grad_norm": 1.4941850900650024,
104
+ "learning_rate": 1.6692175112030337e-05,
105
+ "loss": 0.31315877914428714,
106
+ "step": 2400
107
+ },
108
+ {
109
+ "epoch": 0.1792485349879352,
110
+ "grad_norm": 1.2174286842346191,
111
+ "learning_rate": 1.641640813512582e-05,
112
+ "loss": 0.31084712982177737,
113
+ "step": 2600
114
+ },
115
+ {
116
+ "epoch": 0.19303688383316098,
117
+ "grad_norm": 1.6435197591781616,
118
+ "learning_rate": 1.6140641158221304e-05,
119
+ "loss": 0.30205060958862306,
120
+ "step": 2800
121
+ },
122
+ {
123
+ "epoch": 0.20682523267838676,
124
+ "grad_norm": 2.0023410320281982,
125
+ "learning_rate": 1.586487418131679e-05,
126
+ "loss": 0.2959835815429688,
127
+ "step": 3000
128
+ },
129
+ {
130
+ "epoch": 0.22061358152361255,
131
+ "grad_norm": 1.1106364727020264,
132
+ "learning_rate": 1.558910720441227e-05,
133
+ "loss": 0.28498205184936526,
134
+ "step": 3200
135
+ },
136
+ {
137
+ "epoch": 0.23440193036883833,
138
+ "grad_norm": 1.951019525527954,
139
+ "learning_rate": 1.5313340227507758e-05,
140
+ "loss": 0.2866662406921387,
141
+ "step": 3400
142
+ },
143
+ {
144
+ "epoch": 0.2481902792140641,
145
+ "grad_norm": 1.2675732374191284,
146
+ "learning_rate": 1.5037573250603242e-05,
147
+ "loss": 0.2802707290649414,
148
+ "step": 3600
149
+ },
150
+ {
151
+ "epoch": 0.2619786280592899,
152
+ "grad_norm": 1.129682183265686,
153
+ "learning_rate": 1.4761806273698727e-05,
154
+ "loss": 0.27155515670776365,
155
+ "step": 3800
156
+ },
157
+ {
158
+ "epoch": 0.2757669769045157,
159
+ "grad_norm": 1.1867386102676392,
160
+ "learning_rate": 1.448603929679421e-05,
161
+ "loss": 0.2704596519470215,
162
+ "step": 4000
163
+ },
164
+ {
165
+ "epoch": 0.2757669769045157,
166
+ "eval_accuracy": 0.9294057690079118,
167
+ "eval_f1": 0.4474882331063317,
168
+ "eval_loss": 0.2208142876625061,
169
+ "eval_precision": 0.4183392082104405,
170
+ "eval_recall": 0.48100358422939066,
171
+ "eval_runtime": 10.0377,
172
+ "eval_samples_per_second": 1992.497,
173
+ "eval_steps_per_second": 31.183,
174
+ "step": 4000
175
+ },
176
+ {
177
+ "epoch": 0.28955532574974147,
178
+ "grad_norm": 1.4080299139022827,
179
+ "learning_rate": 1.4210272319889696e-05,
180
+ "loss": 0.2664038848876953,
181
+ "step": 4200
182
+ },
183
+ {
184
+ "epoch": 0.30334367459496725,
185
+ "grad_norm": 1.4007683992385864,
186
+ "learning_rate": 1.393450534298518e-05,
187
+ "loss": 0.26422006607055665,
188
+ "step": 4400
189
+ },
190
+ {
191
+ "epoch": 0.31713202344019303,
192
+ "grad_norm": 1.7308765649795532,
193
+ "learning_rate": 1.3658738366080664e-05,
194
+ "loss": 0.25533161163330076,
195
+ "step": 4600
196
+ },
197
+ {
198
+ "epoch": 0.3309203722854188,
199
+ "grad_norm": 1.7256940603256226,
200
+ "learning_rate": 1.3382971389176146e-05,
201
+ "loss": 0.25111486434936525,
202
+ "step": 4800
203
+ },
204
+ {
205
+ "epoch": 0.3447087211306446,
206
+ "grad_norm": 1.039595365524292,
207
+ "learning_rate": 1.3107204412271633e-05,
208
+ "loss": 0.24599828720092773,
209
+ "step": 5000
210
+ },
211
+ {
212
+ "epoch": 0.3584970699758704,
213
+ "grad_norm": 1.8612524271011353,
214
+ "learning_rate": 1.2831437435367115e-05,
215
+ "loss": 0.2489796257019043,
216
+ "step": 5200
217
+ },
218
+ {
219
+ "epoch": 0.37228541882109617,
220
+ "grad_norm": 2.6072161197662354,
221
+ "learning_rate": 1.25556704584626e-05,
222
+ "loss": 0.2444438934326172,
223
+ "step": 5400
224
+ },
225
+ {
226
+ "epoch": 0.38607376766632195,
227
+ "grad_norm": 1.265944242477417,
228
+ "learning_rate": 1.2279903481558084e-05,
229
+ "loss": 0.2422557830810547,
230
+ "step": 5600
231
+ },
232
+ {
233
+ "epoch": 0.39986211651154774,
234
+ "grad_norm": 1.2678699493408203,
235
+ "learning_rate": 1.200413650465357e-05,
236
+ "loss": 0.24262113571166993,
237
+ "step": 5800
238
+ },
239
+ {
240
+ "epoch": 0.4136504653567735,
241
+ "grad_norm": 1.5601742267608643,
242
+ "learning_rate": 1.1728369527749053e-05,
243
+ "loss": 0.2445354461669922,
244
+ "step": 6000
245
+ },
246
+ {
247
+ "epoch": 0.4136504653567735,
248
+ "eval_accuracy": 0.9363128285626995,
249
+ "eval_f1": 0.4803237047343094,
250
+ "eval_loss": 0.19360145926475525,
251
+ "eval_precision": 0.4471989161695149,
252
+ "eval_recall": 0.5187482768127929,
253
+ "eval_runtime": 10.0804,
254
+ "eval_samples_per_second": 1984.049,
255
+ "eval_steps_per_second": 31.05,
256
+ "step": 6000
257
+ },
258
+ {
259
+ "epoch": 0.4274388142019993,
260
+ "grad_norm": 1.5976165533065796,
261
+ "learning_rate": 1.1452602550844538e-05,
262
+ "loss": 0.2337088966369629,
263
+ "step": 6200
264
+ },
265
+ {
266
+ "epoch": 0.4412271630472251,
267
+ "grad_norm": 1.1755609512329102,
268
+ "learning_rate": 1.1176835573940022e-05,
269
+ "loss": 0.22395843505859375,
270
+ "step": 6400
271
+ },
272
+ {
273
+ "epoch": 0.4550155118924509,
274
+ "grad_norm": 1.0502196550369263,
275
+ "learning_rate": 1.0901068597035507e-05,
276
+ "loss": 0.22551630020141603,
277
+ "step": 6600
278
+ },
279
+ {
280
+ "epoch": 0.46880386073767666,
281
+ "grad_norm": 1.2917273044586182,
282
+ "learning_rate": 1.062530162013099e-05,
283
+ "loss": 0.23265909194946288,
284
+ "step": 6800
285
+ },
286
+ {
287
+ "epoch": 0.48259220958290244,
288
+ "grad_norm": 1.1052443981170654,
289
+ "learning_rate": 1.0349534643226476e-05,
290
+ "loss": 0.22997581481933593,
291
+ "step": 7000
292
+ },
293
+ {
294
+ "epoch": 0.4963805584281282,
295
+ "grad_norm": 1.381700873374939,
296
+ "learning_rate": 1.007376766632196e-05,
297
+ "loss": 0.2284539031982422,
298
+ "step": 7200
299
+ },
300
+ {
301
+ "epoch": 0.5101689072733541,
302
+ "grad_norm": 1.7055002450942993,
303
+ "learning_rate": 9.798000689417443e-06,
304
+ "loss": 0.22296590805053712,
305
+ "step": 7400
306
+ },
307
+ {
308
+ "epoch": 0.5239572561185798,
309
+ "grad_norm": 1.1947736740112305,
310
+ "learning_rate": 9.522233712512928e-06,
311
+ "loss": 0.2213929557800293,
312
+ "step": 7600
313
+ },
314
+ {
315
+ "epoch": 0.5377456049638056,
316
+ "grad_norm": 1.5072541236877441,
317
+ "learning_rate": 9.246466735608412e-06,
318
+ "loss": 0.22671804428100586,
319
+ "step": 7800
320
+ },
321
+ {
322
+ "epoch": 0.5515339538090314,
323
+ "grad_norm": 1.1856580972671509,
324
+ "learning_rate": 8.970699758703895e-06,
325
+ "loss": 0.21764352798461914,
326
+ "step": 8000
327
+ },
328
+ {
329
+ "epoch": 0.5515339538090314,
330
+ "eval_accuracy": 0.9401936873821388,
331
+ "eval_f1": 0.5002960941321868,
332
+ "eval_loss": 0.18017448484897614,
333
+ "eval_precision": 0.4692571483771252,
334
+ "eval_recall": 0.5357320099255584,
335
+ "eval_runtime": 10.0232,
336
+ "eval_samples_per_second": 1995.367,
337
+ "eval_steps_per_second": 31.227,
338
+ "step": 8000
339
+ },
340
+ {
341
+ "epoch": 0.5653223026542572,
342
+ "grad_norm": 1.173108696937561,
343
+ "learning_rate": 8.69493278179938e-06,
344
+ "loss": 0.21765981674194335,
345
+ "step": 8200
346
+ },
347
+ {
348
+ "epoch": 0.5791106514994829,
349
+ "grad_norm": 1.3492612838745117,
350
+ "learning_rate": 8.419165804894864e-06,
351
+ "loss": 0.21885225296020508,
352
+ "step": 8400
353
+ },
354
+ {
355
+ "epoch": 0.5928990003447088,
356
+ "grad_norm": 1.2368924617767334,
357
+ "learning_rate": 8.143398827990349e-06,
358
+ "loss": 0.21894161224365236,
359
+ "step": 8600
360
+ },
361
+ {
362
+ "epoch": 0.6066873491899345,
363
+ "grad_norm": 1.0420321226119995,
364
+ "learning_rate": 7.867631851085833e-06,
365
+ "loss": 0.21339195251464843,
366
+ "step": 8800
367
+ },
368
+ {
369
+ "epoch": 0.6204756980351603,
370
+ "grad_norm": 1.312456727027893,
371
+ "learning_rate": 7.591864874181317e-06,
372
+ "loss": 0.21306278228759765,
373
+ "step": 9000
374
+ },
375
+ {
376
+ "epoch": 0.6342640468803861,
377
+ "grad_norm": 1.2957308292388916,
378
+ "learning_rate": 7.3160978972768015e-06,
379
+ "loss": 0.21283523559570314,
380
+ "step": 9200
381
+ },
382
+ {
383
+ "epoch": 0.6480523957256119,
384
+ "grad_norm": 3.096158981323242,
385
+ "learning_rate": 7.040330920372286e-06,
386
+ "loss": 0.22200897216796875,
387
+ "step": 9400
388
+ },
389
+ {
390
+ "epoch": 0.6618407445708376,
391
+ "grad_norm": 1.420737624168396,
392
+ "learning_rate": 6.76456394346777e-06,
393
+ "loss": 0.2175071907043457,
394
+ "step": 9600
395
+ },
396
+ {
397
+ "epoch": 0.6756290934160635,
398
+ "grad_norm": 1.5053138732910156,
399
+ "learning_rate": 6.488796966563255e-06,
400
+ "loss": 0.21140506744384766,
401
+ "step": 9800
402
+ },
403
+ {
404
+ "epoch": 0.6894174422612892,
405
+ "grad_norm": 1.7005326747894287,
406
+ "learning_rate": 6.213029989658739e-06,
407
+ "loss": 0.20936330795288086,
408
+ "step": 10000
409
+ },
410
+ {
411
+ "epoch": 0.6894174422612892,
412
+ "eval_accuracy": 0.9434556104550099,
413
+ "eval_f1": 0.5163540194718488,
414
+ "eval_loss": 0.17051653563976288,
415
+ "eval_precision": 0.4873125015293513,
416
+ "eval_recall": 0.5490763716570168,
417
+ "eval_runtime": 10.4802,
418
+ "eval_samples_per_second": 1908.354,
419
+ "eval_steps_per_second": 29.866,
420
+ "step": 10000
421
+ },
422
+ {
423
+ "epoch": 0.703205791106515,
424
+ "grad_norm": 1.1808063983917236,
425
+ "learning_rate": 5.937263012754223e-06,
426
+ "loss": 0.2099304962158203,
427
+ "step": 10200
428
+ },
429
+ {
430
+ "epoch": 0.7169941399517408,
431
+ "grad_norm": 1.238837718963623,
432
+ "learning_rate": 5.661496035849707e-06,
433
+ "loss": 0.20580806732177734,
434
+ "step": 10400
435
+ },
436
+ {
437
+ "epoch": 0.7307824887969666,
438
+ "grad_norm": 1.7494562864303589,
439
+ "learning_rate": 5.3857290589451915e-06,
440
+ "loss": 0.20552108764648438,
441
+ "step": 10600
442
+ },
443
+ {
444
+ "epoch": 0.7445708376421923,
445
+ "grad_norm": 2.1073572635650635,
446
+ "learning_rate": 5.109962082040676e-06,
447
+ "loss": 0.20681476593017578,
448
+ "step": 10800
449
+ },
450
+ {
451
+ "epoch": 0.7583591864874182,
452
+ "grad_norm": 1.3458033800125122,
453
+ "learning_rate": 4.83419510513616e-06,
454
+ "loss": 0.20359535217285157,
455
+ "step": 11000
456
+ },
457
+ {
458
+ "epoch": 0.7721475353326439,
459
+ "grad_norm": 1.1731774806976318,
460
+ "learning_rate": 4.558428128231645e-06,
461
+ "loss": 0.2056349754333496,
462
+ "step": 11200
463
+ },
464
+ {
465
+ "epoch": 0.7859358841778697,
466
+ "grad_norm": 1.3708990812301636,
467
+ "learning_rate": 4.282661151327129e-06,
468
+ "loss": 0.2058660125732422,
469
+ "step": 11400
470
+ },
471
+ {
472
+ "epoch": 0.7997242330230955,
473
+ "grad_norm": 1.1624313592910767,
474
+ "learning_rate": 4.0068941744226135e-06,
475
+ "loss": 0.20310092926025392,
476
+ "step": 11600
477
+ },
478
+ {
479
+ "epoch": 0.8135125818683213,
480
+ "grad_norm": 1.3882473707199097,
481
+ "learning_rate": 3.7311271975180975e-06,
482
+ "loss": 0.2082367706298828,
483
+ "step": 11800
484
+ },
485
+ {
486
+ "epoch": 0.827300930713547,
487
+ "grad_norm": 1.7915494441986084,
488
+ "learning_rate": 3.455360220613582e-06,
489
+ "loss": 0.20367862701416015,
490
+ "step": 12000
491
+ },
492
+ {
493
+ "epoch": 0.827300930713547,
494
+ "eval_accuracy": 0.9442049177737276,
495
+ "eval_f1": 0.520962146523804,
496
+ "eval_loss": 0.16711591184139252,
497
+ "eval_precision": 0.4862475207302793,
498
+ "eval_recall": 0.5610146126275158,
499
+ "eval_runtime": 9.7345,
500
+ "eval_samples_per_second": 2054.558,
501
+ "eval_steps_per_second": 32.154,
502
+ "step": 12000
503
+ },
504
+ {
505
+ "epoch": 0.8410892795587729,
506
+ "grad_norm": 1.900614857673645,
507
+ "learning_rate": 3.179593243709066e-06,
508
+ "loss": 0.20414718627929687,
509
+ "step": 12200
510
+ },
511
+ {
512
+ "epoch": 0.8548776284039986,
513
+ "grad_norm": 1.5320205688476562,
514
+ "learning_rate": 2.9038262668045503e-06,
515
+ "loss": 0.19842819213867188,
516
+ "step": 12400
517
+ },
518
+ {
519
+ "epoch": 0.8686659772492245,
520
+ "grad_norm": 1.0634764432907104,
521
+ "learning_rate": 2.6280592899000347e-06,
522
+ "loss": 0.20455713272094728,
523
+ "step": 12600
524
+ },
525
+ {
526
+ "epoch": 0.8824543260944502,
527
+ "grad_norm": 1.5051591396331787,
528
+ "learning_rate": 2.352292312995519e-06,
529
+ "loss": 0.20511449813842775,
530
+ "step": 12800
531
+ },
532
+ {
533
+ "epoch": 0.896242674939676,
534
+ "grad_norm": 1.2883975505828857,
535
+ "learning_rate": 2.076525336091003e-06,
536
+ "loss": 0.1981792640686035,
537
+ "step": 13000
538
+ },
539
+ {
540
+ "epoch": 0.9100310237849017,
541
+ "grad_norm": 1.901268720626831,
542
+ "learning_rate": 1.8007583591864874e-06,
543
+ "loss": 0.20567977905273438,
544
+ "step": 13200
545
+ },
546
+ {
547
+ "epoch": 0.9238193726301276,
548
+ "grad_norm": 1.828506350517273,
549
+ "learning_rate": 1.5249913822819716e-06,
550
+ "loss": 0.20068155288696288,
551
+ "step": 13400
552
+ },
553
+ {
554
+ "epoch": 0.9376077214753533,
555
+ "grad_norm": 1.401857614517212,
556
+ "learning_rate": 1.2492244053774563e-06,
557
+ "loss": 0.20199392318725587,
558
+ "step": 13600
559
+ },
560
+ {
561
+ "epoch": 0.9513960703205792,
562
+ "grad_norm": 1.8156548738479614,
563
+ "learning_rate": 9.734574284729404e-07,
564
+ "loss": 0.20472015380859376,
565
+ "step": 13800
566
+ },
567
+ {
568
+ "epoch": 0.9651844191658049,
569
+ "grad_norm": 1.086504578590393,
570
+ "learning_rate": 6.976904515684247e-07,
571
+ "loss": 0.20377262115478514,
572
+ "step": 14000
573
+ },
574
+ {
575
+ "epoch": 0.9651844191658049,
576
+ "eval_accuracy": 0.9452518410046249,
577
+ "eval_f1": 0.5233849845820377,
578
+ "eval_loss": 0.16398483514785767,
579
+ "eval_precision": 0.4918641026262822,
580
+ "eval_recall": 0.5592224979321754,
581
+ "eval_runtime": 10.6768,
582
+ "eval_samples_per_second": 1873.214,
583
+ "eval_steps_per_second": 29.316,
584
+ "step": 14000
585
+ },
586
+ {
587
+ "epoch": 0.9789727680110307,
588
+ "grad_norm": 1.6399117708206177,
589
+ "learning_rate": 4.21923474663909e-07,
590
+ "loss": 0.2011069679260254,
591
+ "step": 14200
592
+ },
593
+ {
594
+ "epoch": 0.9927611168562565,
595
+ "grad_norm": 1.01554536819458,
596
+ "learning_rate": 1.4615649775939334e-07,
597
+ "loss": 0.20439926147460938,
598
+ "step": 14400
599
+ },
600
+ {
601
+ "epoch": 1.0,
602
+ "eval_accuracy": 0.9452715942731323,
603
+ "eval_f1": 0.5242530574333041,
604
+ "eval_loss": 0.16400153934955597,
605
+ "eval_precision": 0.4926295883237162,
606
+ "eval_recall": 0.5602150537634408,
607
+ "eval_runtime": 10.1161,
608
+ "eval_samples_per_second": 1977.053,
609
+ "eval_steps_per_second": 30.941,
610
+ "step": 14505
611
+ }
612
+ ],
613
+ "logging_steps": 200,
614
+ "max_steps": 14505,
615
+ "num_input_tokens_seen": 0,
616
+ "num_train_epochs": 1,
617
+ "save_steps": 2000,
618
+ "stateful_callbacks": {
619
+ "TrainerControl": {
620
+ "args": {
621
+ "should_epoch_stop": false,
622
+ "should_evaluate": false,
623
+ "should_log": false,
624
+ "should_save": true,
625
+ "should_training_stop": true
626
+ },
627
+ "attributes": {}
628
+ }
629
+ },
630
+ "total_flos": 93817250377032.0,
631
+ "train_batch_size": 32,
632
+ "trial_name": null,
633
+ "trial_params": null
634
+ }
full-openpii-500k/checkpoints/checkpoint-14505/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4df483fc65e86a8e85fec1834084cd6c3c69b50ccd36f2eeb0fabf3798ed8f
3
+ size 5201
full-openpii-500k/checkpoints/eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.9452715942731323,
4
+ "eval_f1": 0.5242530574333041,
5
+ "eval_loss": 0.16400153934955597,
6
+ "eval_precision": 0.4926295883237162,
7
+ "eval_recall": 0.5602150537634408,
8
+ "eval_runtime": 10.1647,
9
+ "eval_samples_per_second": 1967.587,
10
+ "eval_steps_per_second": 30.793
11
+ }
full-openpii-500k/final/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-ADDRESS",
17
+ "2": "I-ADDRESS",
18
+ "3": "B-API_KEY",
19
+ "4": "I-API_KEY",
20
+ "5": "B-CREDIT_CARD",
21
+ "6": "I-CREDIT_CARD",
22
+ "7": "B-DATE_OF_BIRTH",
23
+ "8": "I-DATE_OF_BIRTH",
24
+ "9": "B-DRIVER_LICENSE",
25
+ "10": "I-DRIVER_LICENSE",
26
+ "11": "B-EMAIL",
27
+ "12": "I-EMAIL",
28
+ "13": "B-IP_ADDRESS",
29
+ "14": "I-IP_ADDRESS",
30
+ "15": "B-LOCATION",
31
+ "16": "I-LOCATION",
32
+ "17": "B-PASSWORD",
33
+ "18": "I-PASSWORD",
34
+ "19": "B-PERSON_NAME",
35
+ "20": "I-PERSON_NAME",
36
+ "21": "B-PHONE",
37
+ "22": "I-PHONE",
38
+ "23": "B-SSN",
39
+ "24": "I-SSN",
40
+ "25": "B-USERNAME",
41
+ "26": "I-USERNAME"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 512,
45
+ "is_decoder": false,
46
+ "label2id": {
47
+ "B-ADDRESS": 1,
48
+ "B-API_KEY": 3,
49
+ "B-CREDIT_CARD": 5,
50
+ "B-DATE_OF_BIRTH": 7,
51
+ "B-DRIVER_LICENSE": 9,
52
+ "B-EMAIL": 11,
53
+ "B-IP_ADDRESS": 13,
54
+ "B-LOCATION": 15,
55
+ "B-PASSWORD": 17,
56
+ "B-PERSON_NAME": 19,
57
+ "B-PHONE": 21,
58
+ "B-SSN": 23,
59
+ "B-USERNAME": 25,
60
+ "I-ADDRESS": 2,
61
+ "I-API_KEY": 4,
62
+ "I-CREDIT_CARD": 6,
63
+ "I-DATE_OF_BIRTH": 8,
64
+ "I-DRIVER_LICENSE": 10,
65
+ "I-EMAIL": 12,
66
+ "I-IP_ADDRESS": 14,
67
+ "I-LOCATION": 16,
68
+ "I-PASSWORD": 18,
69
+ "I-PERSON_NAME": 20,
70
+ "I-PHONE": 22,
71
+ "I-SSN": 24,
72
+ "I-USERNAME": 26,
73
+ "O": 0
74
+ },
75
+ "layer_norm_eps": 1e-12,
76
+ "max_position_embeddings": 512,
77
+ "model_type": "bert",
78
+ "num_attention_heads": 2,
79
+ "num_hidden_layers": 2,
80
+ "pad_token_id": 0,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.11.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": false,
85
+ "vocab_size": 30522
86
+ }
full-openpii-500k/final/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b976a7b1be395ceb87e3d25eb691cc692395118bec627e6437d605d9486215f
3
+ size 17495980
full-openpii-500k/final/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
full-openpii-500k/final/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 160,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "stride": 0,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }
full-openpii-500k/final/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4df483fc65e86a8e85fec1834084cd6c3c69b50ccd36f2eeb0fabf3798ed8f
3
+ size 5201
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f4385a310803f053a1106cf02c04c6b1149a5f0842b2ec00094ad527827476c
3
  size 435697572
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0587beffa1064e66ea7502f3cf8b70706fa4c54dee54e28db2e96de318313646
3
  size 435697572
pilot-10k/checkpoints/all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.8564406534624838,
4
+ "eval_f1": 0.15016077170418007,
5
+ "eval_loss": 0.5771309733390808,
6
+ "eval_precision": 0.17763408139977177,
7
+ "eval_recall": 0.13004734057365636,
8
+ "eval_runtime": 2.2907,
9
+ "eval_samples_per_second": 873.108,
10
+ "eval_steps_per_second": 13.97
11
+ }
pilot-10k/checkpoints/checkpoint-250/config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 128,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-ADDRESS",
17
+ "2": "I-ADDRESS",
18
+ "3": "B-API_KEY",
19
+ "4": "I-API_KEY",
20
+ "5": "B-CREDIT_CARD",
21
+ "6": "I-CREDIT_CARD",
22
+ "7": "B-DATE_OF_BIRTH",
23
+ "8": "I-DATE_OF_BIRTH",
24
+ "9": "B-DRIVER_LICENSE",
25
+ "10": "I-DRIVER_LICENSE",
26
+ "11": "B-EMAIL",
27
+ "12": "I-EMAIL",
28
+ "13": "B-IP_ADDRESS",
29
+ "14": "I-IP_ADDRESS",
30
+ "15": "B-LOCATION",
31
+ "16": "I-LOCATION",
32
+ "17": "B-PASSWORD",
33
+ "18": "I-PASSWORD",
34
+ "19": "B-PERSON_NAME",
35
+ "20": "I-PERSON_NAME",
36
+ "21": "B-PHONE",
37
+ "22": "I-PHONE",
38
+ "23": "B-SSN",
39
+ "24": "I-SSN",
40
+ "25": "B-USERNAME",
41
+ "26": "I-USERNAME"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 512,
45
+ "is_decoder": false,
46
+ "label2id": {
47
+ "B-ADDRESS": 1,
48
+ "B-API_KEY": 3,
49
+ "B-CREDIT_CARD": 5,
50
+ "B-DATE_OF_BIRTH": 7,
51
+ "B-DRIVER_LICENSE": 9,
52
+ "B-EMAIL": 11,
53
+ "B-IP_ADDRESS": 13,
54
+ "B-LOCATION": 15,
55
+ "B-PASSWORD": 17,
56
+ "B-PERSON_NAME": 19,
57
+ "B-PHONE": 21,
58
+ "B-SSN": 23,
59
+ "B-USERNAME": 25,
60
+ "I-ADDRESS": 2,
61
+ "I-API_KEY": 4,
62
+ "I-CREDIT_CARD": 6,
63
+ "I-DATE_OF_BIRTH": 8,
64
+ "I-DRIVER_LICENSE": 10,
65
+ "I-EMAIL": 12,
66
+ "I-IP_ADDRESS": 14,
67
+ "I-LOCATION": 16,
68
+ "I-PASSWORD": 18,
69
+ "I-PERSON_NAME": 20,
70
+ "I-PHONE": 22,
71
+ "I-SSN": 24,
72
+ "I-USERNAME": 26,
73
+ "O": 0
74
+ },
75
+ "layer_norm_eps": 1e-12,
76
+ "max_position_embeddings": 512,
77
+ "model_type": "bert",
78
+ "num_attention_heads": 2,
79
+ "num_hidden_layers": 2,
80
+ "pad_token_id": 0,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.11.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": false,
85
+ "vocab_size": 30522
86
+ }
pilot-10k/checkpoints/checkpoint-250/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06281efec76671367d966cd7c8a0b3d07d78f505b6c44e2afbb3558fb4f6fd24
3
+ size 17495980
pilot-10k/checkpoints/checkpoint-250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5a691dbe327f1e7b4a5f365fae200c1ad405c38acea87667669bec6e6676fca
3
+ size 35016907
pilot-10k/checkpoints/checkpoint-250/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff9ccac4440cabc60152c5f65ef3ec8bfa66181ad04cb8dd113775c7a36ce886
3
+ size 14645
pilot-10k/checkpoints/checkpoint-250/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d6fca631a6bcdfa2416587314d206a68f40e27a07bc674b76e72a93db4e5058
3
+ size 1383
pilot-10k/checkpoints/checkpoint-250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f01b4104e0a40b46267323affa2177c38dfae9ac349ae035c024b8624a4c215
3
+ size 1465
pilot-10k/checkpoints/checkpoint-250/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
pilot-10k/checkpoints/checkpoint-250/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 160,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "stride": 0,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }
pilot-10k/checkpoints/checkpoint-250/trainer_state.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 250,
3
+ "best_metric": 0.14514024787997393,
4
+ "best_model_checkpoint": "/outputs/pilot-10k/checkpoints/checkpoint-250",
5
+ "epoch": 0.7987220447284346,
6
+ "eval_steps": 250,
7
+ "global_step": 250,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.07987220447284345,
14
+ "grad_norm": 2.651143789291382,
15
+ "learning_rate": 1.8466453674121408e-05,
16
+ "loss": 1.015383529663086,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.1597444089456869,
21
+ "grad_norm": 2.463940143585205,
22
+ "learning_rate": 1.6869009584664538e-05,
23
+ "loss": 0.9280670928955078,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.23961661341853036,
28
+ "grad_norm": 1.9472101926803589,
29
+ "learning_rate": 1.527156549520767e-05,
30
+ "loss": 0.8376800537109375,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.3194888178913738,
35
+ "grad_norm": 3.205868721008301,
36
+ "learning_rate": 1.36741214057508e-05,
37
+ "loss": 0.7408914184570312,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.3993610223642173,
42
+ "grad_norm": 1.723464012145996,
43
+ "learning_rate": 1.207667731629393e-05,
44
+ "loss": 0.730751724243164,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 0.4792332268370607,
49
+ "grad_norm": 1.4765894412994385,
50
+ "learning_rate": 1.0479233226837063e-05,
51
+ "loss": 0.712818603515625,
52
+ "step": 150
53
+ },
54
+ {
55
+ "epoch": 0.5591054313099042,
56
+ "grad_norm": 1.5612858533859253,
57
+ "learning_rate": 8.881789137380193e-06,
58
+ "loss": 0.6849630737304687,
59
+ "step": 175
60
+ },
61
+ {
62
+ "epoch": 0.6389776357827476,
63
+ "grad_norm": 2.112462282180786,
64
+ "learning_rate": 7.284345047923324e-06,
65
+ "loss": 0.6824495697021484,
66
+ "step": 200
67
+ },
68
+ {
69
+ "epoch": 0.7188498402555911,
70
+ "grad_norm": 1.9042291641235352,
71
+ "learning_rate": 5.6869009584664534e-06,
72
+ "loss": 0.6615296173095703,
73
+ "step": 225
74
+ },
75
+ {
76
+ "epoch": 0.7987220447284346,
77
+ "grad_norm": 1.3791943788528442,
78
+ "learning_rate": 4.089456869009585e-06,
79
+ "loss": 0.6428241729736328,
80
+ "step": 250
81
+ },
82
+ {
83
+ "epoch": 0.7987220447284346,
84
+ "eval_accuracy": 0.8551395113488507,
85
+ "eval_f1": 0.14514024787997393,
86
+ "eval_loss": 0.5809560418128967,
87
+ "eval_precision": 0.17512790240062967,
88
+ "eval_recall": 0.1239209133945976,
89
+ "eval_runtime": 2.0647,
90
+ "eval_samples_per_second": 968.683,
91
+ "eval_steps_per_second": 15.499,
92
+ "step": 250
93
+ }
94
+ ],
95
+ "logging_steps": 25,
96
+ "max_steps": 313,
97
+ "num_input_tokens_seen": 0,
98
+ "num_train_epochs": 1,
99
+ "save_steps": 250,
100
+ "stateful_callbacks": {
101
+ "TrainerControl": {
102
+ "args": {
103
+ "should_epoch_stop": false,
104
+ "should_evaluate": false,
105
+ "should_log": false,
106
+ "should_save": true,
107
+ "should_training_stop": false
108
+ },
109
+ "attributes": {}
110
+ }
111
+ },
112
+ "total_flos": 1640532656256.0,
113
+ "train_batch_size": 32,
114
+ "trial_name": null,
115
+ "trial_params": null
116
+ }
pilot-10k/checkpoints/checkpoint-250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:092b1532cd7ec24f5a56e0bf3ba33a34d942d8a4222f6bedff5a41e39b346bb2
3
+ size 5201