Upload folder using huggingface_hub
Browse files- financial-pii-ready/TokenBased-CRF/checkpoint-63/config.json +22 -66
- financial-pii-ready/TokenBased-CRF/checkpoint-63/model.safetensors +2 -2
- financial-pii-ready/TokenBased-CRF/checkpoint-63/optimizer.pt +2 -2
- financial-pii-ready/TokenBased-CRF/checkpoint-63/rng_state.pth +1 -1
- financial-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer.json +0 -0
- financial-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer_config.json +5 -7
- financial-pii-ready/TokenBased-CRF/checkpoint-63/trainer_state.json +1 -1
- financial-pii-ready/TokenBased-CRF/config.json +22 -66
- financial-pii-ready/TokenBased-CRF/pytorch_model.bin +2 -2
- financial-pii-ready/TokenBased-CRF/tokenizer.json +0 -0
- financial-pii-ready/TokenBased-CRF/tokenizer_config.json +5 -7
financial-pii-ready/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",
|
|
@@ -38,9 +31,9 @@
|
|
| 38 |
"15": "B-URL",
|
| 39 |
"16": "I-URL"
|
| 40 |
},
|
| 41 |
-
"initializer_cutoff_factor": 2.0,
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
-
"intermediate_size":
|
|
|
|
| 44 |
"label2id": {
|
| 45 |
"B-ADDRESS": 1,
|
| 46 |
"B-COMPANY": 3,
|
|
@@ -60,57 +53,20 @@
|
|
| 60 |
"I-URL": 16,
|
| 61 |
"O": 0
|
| 62 |
},
|
| 63 |
-
"layer_norm_eps": 1e-
|
| 64 |
-
"
|
| 65 |
-
|
| 66 |
-
"sliding_attention",
|
| 67 |
-
"sliding_attention",
|
| 68 |
-
"full_attention",
|
| 69 |
-
"sliding_attention",
|
| 70 |
-
"sliding_attention",
|
| 71 |
-
"full_attention",
|
| 72 |
-
"sliding_attention",
|
| 73 |
-
"sliding_attention",
|
| 74 |
-
"full_attention",
|
| 75 |
-
"sliding_attention",
|
| 76 |
-
"sliding_attention",
|
| 77 |
-
"full_attention",
|
| 78 |
-
"sliding_attention",
|
| 79 |
-
"sliding_attention",
|
| 80 |
-
"full_attention",
|
| 81 |
-
"sliding_attention",
|
| 82 |
-
"sliding_attention",
|
| 83 |
-
"full_attention",
|
| 84 |
-
"sliding_attention",
|
| 85 |
-
"sliding_attention",
|
| 86 |
-
"full_attention"
|
| 87 |
-
],
|
| 88 |
-
"local_attention": 128,
|
| 89 |
-
"max_position_embeddings": 8192,
|
| 90 |
-
"mlp_bias": false,
|
| 91 |
-
"mlp_dropout": 0.0,
|
| 92 |
-
"model_type": "modernbert",
|
| 93 |
-
"norm_bias": false,
|
| 94 |
-
"norm_eps": 1e-05,
|
| 95 |
"num_attention_heads": 12,
|
| 96 |
-
"num_hidden_layers":
|
| 97 |
-
"pad_token_id":
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
},
|
| 104 |
-
"sliding_attention": {
|
| 105 |
-
"rope_theta": 10000.0,
|
| 106 |
-
"rope_type": "default"
|
| 107 |
-
}
|
| 108 |
-
},
|
| 109 |
-
"sep_token_id": 50282,
|
| 110 |
-
"sparse_pred_ignore_index": -100,
|
| 111 |
-
"sparse_prediction": false,
|
| 112 |
"tie_word_embeddings": true,
|
| 113 |
"transformers_version": "5.3.0",
|
|
|
|
| 114 |
"use_cache": false,
|
| 115 |
-
"vocab_size":
|
| 116 |
}
|
|
|
|
| 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",
|
|
|
|
| 31 |
"15": "B-URL",
|
| 32 |
"16": "I-URL"
|
| 33 |
},
|
|
|
|
| 34 |
"initializer_range": 0.02,
|
| 35 |
+
"intermediate_size": 3072,
|
| 36 |
+
"is_decoder": false,
|
| 37 |
"label2id": {
|
| 38 |
"B-ADDRESS": 1,
|
| 39 |
"B-COMPANY": 3,
|
|
|
|
| 53 |
"I-URL": 16,
|
| 54 |
"O": 0
|
| 55 |
},
|
| 56 |
+
"layer_norm_eps": 1e-12,
|
| 57 |
+
"max_position_embeddings": 512,
|
| 58 |
+
"model_type": "bert",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
"num_attention_heads": 12,
|
| 60 |
+
"num_hidden_layers": 12,
|
| 61 |
+
"pad_token_id": 0,
|
| 62 |
+
"pooler_fc_size": 768,
|
| 63 |
+
"pooler_num_attention_heads": 12,
|
| 64 |
+
"pooler_num_fc_layers": 3,
|
| 65 |
+
"pooler_size_per_head": 128,
|
| 66 |
+
"pooler_type": "first_token_transform",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
"tie_word_embeddings": true,
|
| 68 |
"transformers_version": "5.3.0",
|
| 69 |
+
"type_vocab_size": 2,
|
| 70 |
"use_cache": false,
|
| 71 |
+
"vocab_size": 119547
|
| 72 |
}
|
financial-pii-ready/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:a368b03f677581bb8fd655dbdc802a4fbdb5e3edb0110378723bbafead161454
|
| 3 |
+
size 711492512
|
financial-pii-ready/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:f0d8931089cd75a43c0fb36b9673e981fe4bb116f8cad37679a9b3b181dac777
|
| 3 |
+
size 1418382155
|
financial-pii-ready/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:77e1bc0cc29528179cf7713b093fffbd0754c58c2875616aa74e1b6cd67bfe7d
|
| 3 |
size 14645
|
financial-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
financial-pii-ready/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 |
}
|
financial-pii-ready/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": 131573741568000.0,
|
| 30 |
"train_batch_size": 8,
|
| 31 |
"trial_name": null,
|
| 32 |
"trial_params": null
|
financial-pii-ready/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",
|
|
@@ -38,9 +31,9 @@
|
|
| 38 |
"15": "B-URL",
|
| 39 |
"16": "I-URL"
|
| 40 |
},
|
| 41 |
-
"initializer_cutoff_factor": 2.0,
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
-
"intermediate_size":
|
|
|
|
| 44 |
"label2id": {
|
| 45 |
"B-ADDRESS": 1,
|
| 46 |
"B-COMPANY": 3,
|
|
@@ -60,57 +53,20 @@
|
|
| 60 |
"I-URL": 16,
|
| 61 |
"O": 0
|
| 62 |
},
|
| 63 |
-
"layer_norm_eps": 1e-
|
| 64 |
-
"
|
| 65 |
-
|
| 66 |
-
"sliding_attention",
|
| 67 |
-
"sliding_attention",
|
| 68 |
-
"full_attention",
|
| 69 |
-
"sliding_attention",
|
| 70 |
-
"sliding_attention",
|
| 71 |
-
"full_attention",
|
| 72 |
-
"sliding_attention",
|
| 73 |
-
"sliding_attention",
|
| 74 |
-
"full_attention",
|
| 75 |
-
"sliding_attention",
|
| 76 |
-
"sliding_attention",
|
| 77 |
-
"full_attention",
|
| 78 |
-
"sliding_attention",
|
| 79 |
-
"sliding_attention",
|
| 80 |
-
"full_attention",
|
| 81 |
-
"sliding_attention",
|
| 82 |
-
"sliding_attention",
|
| 83 |
-
"full_attention",
|
| 84 |
-
"sliding_attention",
|
| 85 |
-
"sliding_attention",
|
| 86 |
-
"full_attention"
|
| 87 |
-
],
|
| 88 |
-
"local_attention": 128,
|
| 89 |
-
"max_position_embeddings": 8192,
|
| 90 |
-
"mlp_bias": false,
|
| 91 |
-
"mlp_dropout": 0.0,
|
| 92 |
-
"model_type": "modernbert",
|
| 93 |
-
"norm_bias": false,
|
| 94 |
-
"norm_eps": 1e-05,
|
| 95 |
"num_attention_heads": 12,
|
| 96 |
-
"num_hidden_layers":
|
| 97 |
-
"pad_token_id":
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
},
|
| 104 |
-
"sliding_attention": {
|
| 105 |
-
"rope_theta": 10000.0,
|
| 106 |
-
"rope_type": "default"
|
| 107 |
-
}
|
| 108 |
-
},
|
| 109 |
-
"sep_token_id": 50282,
|
| 110 |
-
"sparse_pred_ignore_index": -100,
|
| 111 |
-
"sparse_prediction": false,
|
| 112 |
"tie_word_embeddings": true,
|
| 113 |
"transformers_version": "5.3.0",
|
|
|
|
| 114 |
"use_cache": false,
|
| 115 |
-
"vocab_size":
|
| 116 |
}
|
|
|
|
| 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",
|
|
|
|
| 31 |
"15": "B-URL",
|
| 32 |
"16": "I-URL"
|
| 33 |
},
|
|
|
|
| 34 |
"initializer_range": 0.02,
|
| 35 |
+
"intermediate_size": 3072,
|
| 36 |
+
"is_decoder": false,
|
| 37 |
"label2id": {
|
| 38 |
"B-ADDRESS": 1,
|
| 39 |
"B-COMPANY": 3,
|
|
|
|
| 53 |
"I-URL": 16,
|
| 54 |
"O": 0
|
| 55 |
},
|
| 56 |
+
"layer_norm_eps": 1e-12,
|
| 57 |
+
"max_position_embeddings": 512,
|
| 58 |
+
"model_type": "bert",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
"num_attention_heads": 12,
|
| 60 |
+
"num_hidden_layers": 12,
|
| 61 |
+
"pad_token_id": 0,
|
| 62 |
+
"pooler_fc_size": 768,
|
| 63 |
+
"pooler_num_attention_heads": 12,
|
| 64 |
+
"pooler_num_fc_layers": 3,
|
| 65 |
+
"pooler_size_per_head": 128,
|
| 66 |
+
"pooler_type": "first_token_transform",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
"tie_word_embeddings": true,
|
| 68 |
"transformers_version": "5.3.0",
|
| 69 |
+
"type_vocab_size": 2,
|
| 70 |
"use_cache": false,
|
| 71 |
+
"vocab_size": 119547
|
| 72 |
}
|
financial-pii-ready/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:9573b1a3c4c82ee47e0ea17df336a8a8274df97b6220f3aec5fd5c88440b2536
|
| 3 |
+
size 711554579
|
financial-pii-ready/TokenBased-CRF/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
financial-pii-ready/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 |
}
|