Upload folder using huggingface_hub
Browse files- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/config.json +22 -66
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/model.safetensors +2 -2
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/optimizer.pt +2 -2
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/rng_state.pth +1 -1
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/tokenizer.json +0 -0
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/tokenizer_config.json +5 -7
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/trainer_state.json +11 -2
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/training_args.bin +1 -1
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/config.json +22 -66
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/pytorch_model.bin +2 -2
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/tokenizer.json +0 -0
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/tokenizer_config.json +5 -7
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/config.json
CHANGED
|
@@ -1,23 +1,16 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"TransformerCrfForTokenClassification"
|
| 4 |
],
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"classifier_bias": false,
|
| 10 |
-
"classifier_dropout": 0.0,
|
| 11 |
-
"classifier_pooling": "mean",
|
| 12 |
-
"cls_token_id": 50281,
|
| 13 |
-
"decoder_bias": true,
|
| 14 |
-
"deterministic_flash_attn": false,
|
| 15 |
"dtype": "float32",
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"gradient_checkpointing": false,
|
| 20 |
-
"hidden_activation": "gelu",
|
| 21 |
"hidden_size": 768,
|
| 22 |
"id2label": {
|
| 23 |
"0": "O",
|
|
@@ -62,9 +55,9 @@
|
|
| 62 |
"39": "B-ZIPCODE",
|
| 63 |
"40": "I-ZIPCODE"
|
| 64 |
},
|
| 65 |
-
"initializer_cutoff_factor": 2.0,
|
| 66 |
"initializer_range": 0.02,
|
| 67 |
-
"intermediate_size":
|
|
|
|
| 68 |
"label2id": {
|
| 69 |
"B-AGE": 1,
|
| 70 |
"B-BUILDINGNUM": 3,
|
|
@@ -108,57 +101,20 @@
|
|
| 108 |
"I-ZIPCODE": 40,
|
| 109 |
"O": 0
|
| 110 |
},
|
| 111 |
-
"layer_norm_eps": 1e-
|
| 112 |
-
"
|
| 113 |
-
|
| 114 |
-
"sliding_attention",
|
| 115 |
-
"sliding_attention",
|
| 116 |
-
"full_attention",
|
| 117 |
-
"sliding_attention",
|
| 118 |
-
"sliding_attention",
|
| 119 |
-
"full_attention",
|
| 120 |
-
"sliding_attention",
|
| 121 |
-
"sliding_attention",
|
| 122 |
-
"full_attention",
|
| 123 |
-
"sliding_attention",
|
| 124 |
-
"sliding_attention",
|
| 125 |
-
"full_attention",
|
| 126 |
-
"sliding_attention",
|
| 127 |
-
"sliding_attention",
|
| 128 |
-
"full_attention",
|
| 129 |
-
"sliding_attention",
|
| 130 |
-
"sliding_attention",
|
| 131 |
-
"full_attention",
|
| 132 |
-
"sliding_attention",
|
| 133 |
-
"sliding_attention",
|
| 134 |
-
"full_attention"
|
| 135 |
-
],
|
| 136 |
-
"local_attention": 128,
|
| 137 |
-
"max_position_embeddings": 8192,
|
| 138 |
-
"mlp_bias": false,
|
| 139 |
-
"mlp_dropout": 0.0,
|
| 140 |
-
"model_type": "modernbert",
|
| 141 |
-
"norm_bias": false,
|
| 142 |
-
"norm_eps": 1e-05,
|
| 143 |
"num_attention_heads": 12,
|
| 144 |
-
"num_hidden_layers":
|
| 145 |
-
"pad_token_id":
|
| 146 |
-
"
|
| 147 |
-
"
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
},
|
| 152 |
-
"sliding_attention": {
|
| 153 |
-
"rope_theta": 10000.0,
|
| 154 |
-
"rope_type": "default"
|
| 155 |
-
}
|
| 156 |
-
},
|
| 157 |
-
"sep_token_id": 50282,
|
| 158 |
-
"sparse_pred_ignore_index": -100,
|
| 159 |
-
"sparse_prediction": false,
|
| 160 |
"tie_word_embeddings": true,
|
| 161 |
"transformers_version": "5.3.0",
|
|
|
|
| 162 |
"use_cache": false,
|
| 163 |
-
"vocab_size":
|
| 164 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
"architectures": [
|
| 4 |
"TransformerCrfForTokenClassification"
|
| 5 |
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"directionality": "bidi",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
|
|
|
|
|
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
"0": "O",
|
|
|
|
| 55 |
"39": "B-ZIPCODE",
|
| 56 |
"40": "I-ZIPCODE"
|
| 57 |
},
|
|
|
|
| 58 |
"initializer_range": 0.02,
|
| 59 |
+
"intermediate_size": 3072,
|
| 60 |
+
"is_decoder": false,
|
| 61 |
"label2id": {
|
| 62 |
"B-AGE": 1,
|
| 63 |
"B-BUILDINGNUM": 3,
|
|
|
|
| 101 |
"I-ZIPCODE": 40,
|
| 102 |
"O": 0
|
| 103 |
},
|
| 104 |
+
"layer_norm_eps": 1e-12,
|
| 105 |
+
"max_position_embeddings": 512,
|
| 106 |
+
"model_type": "bert",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
"num_attention_heads": 12,
|
| 108 |
+
"num_hidden_layers": 12,
|
| 109 |
+
"pad_token_id": 0,
|
| 110 |
+
"pooler_fc_size": 768,
|
| 111 |
+
"pooler_num_attention_heads": 12,
|
| 112 |
+
"pooler_num_fc_layers": 3,
|
| 113 |
+
"pooler_size_per_head": 128,
|
| 114 |
+
"pooler_type": "first_token_transform",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"tie_word_embeddings": true,
|
| 116 |
"transformers_version": "5.3.0",
|
| 117 |
+
"type_vocab_size": 2,
|
| 118 |
"use_cache": false,
|
| 119 |
+
"vocab_size": 119547
|
| 120 |
}
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:988fe44477a3633c01f74398d42a45d67e46e272c89bf183fa404ff371ae3be6
|
| 3 |
+
size 711572104
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ce6f82e3963c0b944789c4de89f4bc3affccf18537a788f4d88f11ad232af03
|
| 3 |
+
size 1418541131
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14645
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f39eab8ed980549bfffcd8b948e8852bef979d820a1c47a898b2c9f270cc3986
|
| 3 |
size 14645
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/tokenizer_config.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": true,
|
| 3 |
"backend": "tokenizers",
|
| 4 |
-
"clean_up_tokenization_spaces": true,
|
| 5 |
"cls_token": "[CLS]",
|
|
|
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
-
"
|
| 9 |
-
"input_ids",
|
| 10 |
-
"attention_mask"
|
| 11 |
-
],
|
| 12 |
-
"model_max_length": 8192,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
-
"
|
|
|
|
|
|
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": true,
|
| 3 |
"backend": "tokenizers",
|
|
|
|
| 4 |
"cls_token": "[CLS]",
|
| 5 |
+
"do_lower_case": false,
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 512,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
"unk_token": "[UNK]"
|
| 15 |
}
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/trainer_state.json
CHANGED
|
@@ -8,7 +8,16 @@
|
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
-
"log_history": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"logging_steps": 500,
|
| 13 |
"max_steps": 63,
|
| 14 |
"num_input_tokens_seen": 0,
|
|
@@ -26,7 +35,7 @@
|
|
| 26 |
"attributes": {}
|
| 27 |
}
|
| 28 |
},
|
| 29 |
-
"total_flos":
|
| 30 |
"train_batch_size": 8,
|
| 31 |
"trial_name": null,
|
| 32 |
"trial_params": null
|
|
|
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 1.0,
|
| 14 |
+
"eval_loss": 24.712289810180664,
|
| 15 |
+
"eval_runtime": 1.6052,
|
| 16 |
+
"eval_samples_per_second": 62.296,
|
| 17 |
+
"eval_steps_per_second": 8.098,
|
| 18 |
+
"step": 63
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
"logging_steps": 500,
|
| 22 |
"max_steps": 63,
|
| 23 |
"num_input_tokens_seen": 0,
|
|
|
|
| 35 |
"attributes": {}
|
| 36 |
}
|
| 37 |
},
|
| 38 |
+
"total_flos": 131604301824000.0,
|
| 39 |
"train_batch_size": 8,
|
| 40 |
"trial_name": null,
|
| 41 |
"trial_params": null
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5201
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b097dce68df0c542b37b2de4a187ae721b6306bf055ab3a17291f74d1ca8e64
|
| 3 |
size 5201
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/config.json
CHANGED
|
@@ -1,23 +1,16 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"TransformerCrfForTokenClassification"
|
| 4 |
],
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"classifier_bias": false,
|
| 10 |
-
"classifier_dropout": 0.0,
|
| 11 |
-
"classifier_pooling": "mean",
|
| 12 |
-
"cls_token_id": 50281,
|
| 13 |
-
"decoder_bias": true,
|
| 14 |
-
"deterministic_flash_attn": false,
|
| 15 |
"dtype": "float32",
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"gradient_checkpointing": false,
|
| 20 |
-
"hidden_activation": "gelu",
|
| 21 |
"hidden_size": 768,
|
| 22 |
"id2label": {
|
| 23 |
"0": "O",
|
|
@@ -62,9 +55,9 @@
|
|
| 62 |
"39": "B-ZIPCODE",
|
| 63 |
"40": "I-ZIPCODE"
|
| 64 |
},
|
| 65 |
-
"initializer_cutoff_factor": 2.0,
|
| 66 |
"initializer_range": 0.02,
|
| 67 |
-
"intermediate_size":
|
|
|
|
| 68 |
"label2id": {
|
| 69 |
"B-AGE": 1,
|
| 70 |
"B-BUILDINGNUM": 3,
|
|
@@ -108,57 +101,20 @@
|
|
| 108 |
"I-ZIPCODE": 40,
|
| 109 |
"O": 0
|
| 110 |
},
|
| 111 |
-
"layer_norm_eps": 1e-
|
| 112 |
-
"
|
| 113 |
-
|
| 114 |
-
"sliding_attention",
|
| 115 |
-
"sliding_attention",
|
| 116 |
-
"full_attention",
|
| 117 |
-
"sliding_attention",
|
| 118 |
-
"sliding_attention",
|
| 119 |
-
"full_attention",
|
| 120 |
-
"sliding_attention",
|
| 121 |
-
"sliding_attention",
|
| 122 |
-
"full_attention",
|
| 123 |
-
"sliding_attention",
|
| 124 |
-
"sliding_attention",
|
| 125 |
-
"full_attention",
|
| 126 |
-
"sliding_attention",
|
| 127 |
-
"sliding_attention",
|
| 128 |
-
"full_attention",
|
| 129 |
-
"sliding_attention",
|
| 130 |
-
"sliding_attention",
|
| 131 |
-
"full_attention",
|
| 132 |
-
"sliding_attention",
|
| 133 |
-
"sliding_attention",
|
| 134 |
-
"full_attention"
|
| 135 |
-
],
|
| 136 |
-
"local_attention": 128,
|
| 137 |
-
"max_position_embeddings": 8192,
|
| 138 |
-
"mlp_bias": false,
|
| 139 |
-
"mlp_dropout": 0.0,
|
| 140 |
-
"model_type": "modernbert",
|
| 141 |
-
"norm_bias": false,
|
| 142 |
-
"norm_eps": 1e-05,
|
| 143 |
"num_attention_heads": 12,
|
| 144 |
-
"num_hidden_layers":
|
| 145 |
-
"pad_token_id":
|
| 146 |
-
"
|
| 147 |
-
"
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
},
|
| 152 |
-
"sliding_attention": {
|
| 153 |
-
"rope_theta": 10000.0,
|
| 154 |
-
"rope_type": "default"
|
| 155 |
-
}
|
| 156 |
-
},
|
| 157 |
-
"sep_token_id": 50282,
|
| 158 |
-
"sparse_pred_ignore_index": -100,
|
| 159 |
-
"sparse_prediction": false,
|
| 160 |
"tie_word_embeddings": true,
|
| 161 |
"transformers_version": "5.3.0",
|
|
|
|
| 162 |
"use_cache": false,
|
| 163 |
-
"vocab_size":
|
| 164 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
"architectures": [
|
| 4 |
"TransformerCrfForTokenClassification"
|
| 5 |
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"directionality": "bidi",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
|
|
|
|
|
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
"0": "O",
|
|
|
|
| 55 |
"39": "B-ZIPCODE",
|
| 56 |
"40": "I-ZIPCODE"
|
| 57 |
},
|
|
|
|
| 58 |
"initializer_range": 0.02,
|
| 59 |
+
"intermediate_size": 3072,
|
| 60 |
+
"is_decoder": false,
|
| 61 |
"label2id": {
|
| 62 |
"B-AGE": 1,
|
| 63 |
"B-BUILDINGNUM": 3,
|
|
|
|
| 101 |
"I-ZIPCODE": 40,
|
| 102 |
"O": 0
|
| 103 |
},
|
| 104 |
+
"layer_norm_eps": 1e-12,
|
| 105 |
+
"max_position_embeddings": 512,
|
| 106 |
+
"model_type": "bert",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
"num_attention_heads": 12,
|
| 108 |
+
"num_hidden_layers": 12,
|
| 109 |
+
"pad_token_id": 0,
|
| 110 |
+
"pooler_fc_size": 768,
|
| 111 |
+
"pooler_num_attention_heads": 12,
|
| 112 |
+
"pooler_num_fc_layers": 3,
|
| 113 |
+
"pooler_size_per_head": 128,
|
| 114 |
+
"pooler_type": "first_token_transform",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"tie_word_embeddings": true,
|
| 116 |
"transformers_version": "5.3.0",
|
| 117 |
+
"type_vocab_size": 2,
|
| 118 |
"use_cache": false,
|
| 119 |
+
"vocab_size": 119547
|
| 120 |
}
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a2291ae713e208e7f762adbcbf6f6927ec7eb8be2dbeef176a6b54423d8c255
|
| 3 |
+
size 711634067
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/tokenizer_config.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": true,
|
| 3 |
"backend": "tokenizers",
|
| 4 |
-
"clean_up_tokenization_spaces": true,
|
| 5 |
"cls_token": "[CLS]",
|
|
|
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
-
"
|
| 9 |
-
"input_ids",
|
| 10 |
-
"attention_mask"
|
| 11 |
-
],
|
| 12 |
-
"model_max_length": 8192,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
-
"
|
|
|
|
|
|
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": true,
|
| 3 |
"backend": "tokenizers",
|
|
|
|
| 4 |
"cls_token": "[CLS]",
|
| 5 |
+
"do_lower_case": false,
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 512,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
"unk_token": "[UNK]"
|
| 15 |
}
|