Upload folder using huggingface_hub
Browse files- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/config.json +66 -22
- 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 +7 -5
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/trainer_state.json +1 -1
- open-pii-masking-500k-ai4privacy/TokenBased-CRF/config.json +66 -22
- 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 +7 -5
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/config.json
CHANGED
|
@@ -1,16 +1,23 @@
|
|
| 1 |
{
|
| 2 |
-
"add_cross_attention": false,
|
| 3 |
"architectures": [
|
| 4 |
"TransformerCrfForTokenClassification"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"dtype": "float32",
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
|
|
|
|
|
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
"0": "O",
|
|
@@ -55,9 +62,9 @@
|
|
| 55 |
"39": "B-ZIPCODE",
|
| 56 |
"40": "I-ZIPCODE"
|
| 57 |
},
|
|
|
|
| 58 |
"initializer_range": 0.02,
|
| 59 |
-
"intermediate_size":
|
| 60 |
-
"is_decoder": false,
|
| 61 |
"label2id": {
|
| 62 |
"B-AGE": 1,
|
| 63 |
"B-BUILDINGNUM": 3,
|
|
@@ -101,20 +108,57 @@
|
|
| 101 |
"I-ZIPCODE": 40,
|
| 102 |
"O": 0
|
| 103 |
},
|
| 104 |
-
"layer_norm_eps": 1e-
|
| 105 |
-
"
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
"num_attention_heads": 12,
|
| 108 |
-
"num_hidden_layers":
|
| 109 |
-
"pad_token_id":
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"tie_word_embeddings": true,
|
| 116 |
"transformers_version": "5.3.0",
|
| 117 |
-
"type_vocab_size": 2,
|
| 118 |
"use_cache": false,
|
| 119 |
-
"vocab_size":
|
| 120 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"TransformerCrfForTokenClassification"
|
| 4 |
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 50281,
|
| 8 |
+
"classifier_activation": "gelu",
|
| 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 |
+
"embedding_dropout": 0.0,
|
| 17 |
+
"eos_token_id": 50282,
|
| 18 |
+
"global_attn_every_n_layers": 3,
|
| 19 |
+
"gradient_checkpointing": false,
|
| 20 |
+
"hidden_activation": "gelu",
|
| 21 |
"hidden_size": 768,
|
| 22 |
"id2label": {
|
| 23 |
"0": "O",
|
|
|
|
| 62 |
"39": "B-ZIPCODE",
|
| 63 |
"40": "I-ZIPCODE"
|
| 64 |
},
|
| 65 |
+
"initializer_cutoff_factor": 2.0,
|
| 66 |
"initializer_range": 0.02,
|
| 67 |
+
"intermediate_size": 1152,
|
|
|
|
| 68 |
"label2id": {
|
| 69 |
"B-AGE": 1,
|
| 70 |
"B-BUILDINGNUM": 3,
|
|
|
|
| 108 |
"I-ZIPCODE": 40,
|
| 109 |
"O": 0
|
| 110 |
},
|
| 111 |
+
"layer_norm_eps": 1e-05,
|
| 112 |
+
"layer_types": [
|
| 113 |
+
"full_attention",
|
| 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": 22,
|
| 145 |
+
"pad_token_id": 50283,
|
| 146 |
+
"position_embedding_type": "absolute",
|
| 147 |
+
"rope_parameters": {
|
| 148 |
+
"full_attention": {
|
| 149 |
+
"rope_theta": 160000.0,
|
| 150 |
+
"rope_type": "default"
|
| 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": 50368
|
| 164 |
}
|
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:d14174801d86131d4e9aa1e0d6df08bdee9da59d4f0229589f19f0fc8c665319
|
| 3 |
+
size 596205320
|
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:bf89658473422e1c0214f65abe3aa73b5dbb589a8625dfca0af4d182e4eb0459
|
| 3 |
+
size 1192499723
|
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:7991aa545aa2a9819a120cc19b48bfbf88dcaec121a00f803b9fbabf38d57d55
|
| 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,15 +1,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 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
-
"
|
| 12 |
-
"tokenize_chinese_chars": true,
|
| 13 |
-
"tokenizer_class": "BertTokenizer",
|
| 14 |
"unk_token": "[UNK]"
|
| 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 |
+
"model_input_names": [
|
| 9 |
+
"input_ids",
|
| 10 |
+
"attention_mask"
|
| 11 |
+
],
|
| 12 |
+
"model_max_length": 8192,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
+
"tokenizer_class": "TokenizersBackend",
|
|
|
|
|
|
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/checkpoint-63/trainer_state.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
"attributes": {}
|
| 27 |
}
|
| 28 |
},
|
| 29 |
-
"total_flos":
|
| 30 |
"train_batch_size": 8,
|
| 31 |
"trial_name": null,
|
| 32 |
"trial_params": null
|
|
|
|
| 26 |
"attributes": {}
|
| 27 |
}
|
| 28 |
},
|
| 29 |
+
"total_flos": 169520547840000.0,
|
| 30 |
"train_batch_size": 8,
|
| 31 |
"trial_name": null,
|
| 32 |
"trial_params": null
|
open-pii-masking-500k-ai4privacy/TokenBased-CRF/config.json
CHANGED
|
@@ -1,16 +1,23 @@
|
|
| 1 |
{
|
| 2 |
-
"add_cross_attention": false,
|
| 3 |
"architectures": [
|
| 4 |
"TransformerCrfForTokenClassification"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"dtype": "float32",
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
|
|
|
|
|
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
"0": "O",
|
|
@@ -55,9 +62,9 @@
|
|
| 55 |
"39": "B-ZIPCODE",
|
| 56 |
"40": "I-ZIPCODE"
|
| 57 |
},
|
|
|
|
| 58 |
"initializer_range": 0.02,
|
| 59 |
-
"intermediate_size":
|
| 60 |
-
"is_decoder": false,
|
| 61 |
"label2id": {
|
| 62 |
"B-AGE": 1,
|
| 63 |
"B-BUILDINGNUM": 3,
|
|
@@ -101,20 +108,57 @@
|
|
| 101 |
"I-ZIPCODE": 40,
|
| 102 |
"O": 0
|
| 103 |
},
|
| 104 |
-
"layer_norm_eps": 1e-
|
| 105 |
-
"
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
"num_attention_heads": 12,
|
| 108 |
-
"num_hidden_layers":
|
| 109 |
-
"pad_token_id":
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"tie_word_embeddings": true,
|
| 116 |
"transformers_version": "5.3.0",
|
| 117 |
-
"type_vocab_size": 2,
|
| 118 |
"use_cache": false,
|
| 119 |
-
"vocab_size":
|
| 120 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"TransformerCrfForTokenClassification"
|
| 4 |
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 50281,
|
| 8 |
+
"classifier_activation": "gelu",
|
| 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 |
+
"embedding_dropout": 0.0,
|
| 17 |
+
"eos_token_id": 50282,
|
| 18 |
+
"global_attn_every_n_layers": 3,
|
| 19 |
+
"gradient_checkpointing": false,
|
| 20 |
+
"hidden_activation": "gelu",
|
| 21 |
"hidden_size": 768,
|
| 22 |
"id2label": {
|
| 23 |
"0": "O",
|
|
|
|
| 62 |
"39": "B-ZIPCODE",
|
| 63 |
"40": "I-ZIPCODE"
|
| 64 |
},
|
| 65 |
+
"initializer_cutoff_factor": 2.0,
|
| 66 |
"initializer_range": 0.02,
|
| 67 |
+
"intermediate_size": 1152,
|
|
|
|
| 68 |
"label2id": {
|
| 69 |
"B-AGE": 1,
|
| 70 |
"B-BUILDINGNUM": 3,
|
|
|
|
| 108 |
"I-ZIPCODE": 40,
|
| 109 |
"O": 0
|
| 110 |
},
|
| 111 |
+
"layer_norm_eps": 1e-05,
|
| 112 |
+
"layer_types": [
|
| 113 |
+
"full_attention",
|
| 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": 22,
|
| 145 |
+
"pad_token_id": 50283,
|
| 146 |
+
"position_embedding_type": "absolute",
|
| 147 |
+
"rope_parameters": {
|
| 148 |
+
"full_attention": {
|
| 149 |
+
"rope_theta": 160000.0,
|
| 150 |
+
"rope_type": "default"
|
| 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": 50368
|
| 164 |
}
|
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:66c257c667c083dd911145530aa329c1ffd0eea0f9dee2d51a4f92ba73d3ed70
|
| 3 |
+
size 596251343
|
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,15 +1,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 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
-
"
|
| 12 |
-
"tokenize_chinese_chars": true,
|
| 13 |
-
"tokenizer_class": "BertTokenizer",
|
| 14 |
"unk_token": "[UNK]"
|
| 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 |
+
"model_input_names": [
|
| 9 |
+
"input_ids",
|
| 10 |
+
"attention_mask"
|
| 11 |
+
],
|
| 12 |
+
"model_max_length": 8192,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
+
"tokenizer_class": "TokenizersBackend",
|
|
|
|
|
|
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|