Upload folder using huggingface_hub
Browse files- financial-pii-ready/TokenBased-CRF/checkpoint-63/config.json +66 -22
- 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 +7 -5
- financial-pii-ready/TokenBased-CRF/checkpoint-63/trainer_state.json +1 -1
- financial-pii-ready/TokenBased-CRF/config.json +66 -22
- 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 +7 -5
financial-pii-ready/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",
|
|
@@ -31,9 +38,9 @@
|
|
| 31 |
"15": "B-URL",
|
| 32 |
"16": "I-URL"
|
| 33 |
},
|
|
|
|
| 34 |
"initializer_range": 0.02,
|
| 35 |
-
"intermediate_size":
|
| 36 |
-
"is_decoder": false,
|
| 37 |
"label2id": {
|
| 38 |
"B-ADDRESS": 1,
|
| 39 |
"B-COMPANY": 3,
|
|
@@ -53,20 +60,57 @@
|
|
| 53 |
"I-URL": 16,
|
| 54 |
"O": 0
|
| 55 |
},
|
| 56 |
-
"layer_norm_eps": 1e-
|
| 57 |
-
"
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
"num_attention_heads": 12,
|
| 60 |
-
"num_hidden_layers":
|
| 61 |
-
"pad_token_id":
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
"tie_word_embeddings": true,
|
| 68 |
"transformers_version": "5.3.0",
|
| 69 |
-
"type_vocab_size": 2,
|
| 70 |
"use_cache": false,
|
| 71 |
-
"vocab_size":
|
| 72 |
}
|
|
|
|
| 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",
|
|
|
|
| 38 |
"15": "B-URL",
|
| 39 |
"16": "I-URL"
|
| 40 |
},
|
| 41 |
+
"initializer_cutoff_factor": 2.0,
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
+
"intermediate_size": 1152,
|
|
|
|
| 44 |
"label2id": {
|
| 45 |
"B-ADDRESS": 1,
|
| 46 |
"B-COMPANY": 3,
|
|
|
|
| 60 |
"I-URL": 16,
|
| 61 |
"O": 0
|
| 62 |
},
|
| 63 |
+
"layer_norm_eps": 1e-05,
|
| 64 |
+
"layer_types": [
|
| 65 |
+
"full_attention",
|
| 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": 22,
|
| 97 |
+
"pad_token_id": 50283,
|
| 98 |
+
"position_embedding_type": "absolute",
|
| 99 |
+
"rope_parameters": {
|
| 100 |
+
"full_attention": {
|
| 101 |
+
"rope_theta": 160000.0,
|
| 102 |
+
"rope_type": "default"
|
| 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": 50368
|
| 116 |
}
|
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:bb2de5121940ea499d69515b14943ddc906365e18614190136df170dd83d7d15
|
| 3 |
+
size 596125728
|
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:f50d75c63f240db17404009f1824339ab3d3605828257e6872700b30067727cb
|
| 3 |
+
size 1192340747
|
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:7991aa545aa2a9819a120cc19b48bfbf88dcaec121a00f803b9fbabf38d57d55
|
| 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,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 |
}
|
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": 169489987584000.0,
|
| 30 |
"train_batch_size": 8,
|
| 31 |
"trial_name": null,
|
| 32 |
"trial_params": null
|
financial-pii-ready/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",
|
|
@@ -31,9 +38,9 @@
|
|
| 31 |
"15": "B-URL",
|
| 32 |
"16": "I-URL"
|
| 33 |
},
|
|
|
|
| 34 |
"initializer_range": 0.02,
|
| 35 |
-
"intermediate_size":
|
| 36 |
-
"is_decoder": false,
|
| 37 |
"label2id": {
|
| 38 |
"B-ADDRESS": 1,
|
| 39 |
"B-COMPANY": 3,
|
|
@@ -53,20 +60,57 @@
|
|
| 53 |
"I-URL": 16,
|
| 54 |
"O": 0
|
| 55 |
},
|
| 56 |
-
"layer_norm_eps": 1e-
|
| 57 |
-
"
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
"num_attention_heads": 12,
|
| 60 |
-
"num_hidden_layers":
|
| 61 |
-
"pad_token_id":
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
"tie_word_embeddings": true,
|
| 68 |
"transformers_version": "5.3.0",
|
| 69 |
-
"type_vocab_size": 2,
|
| 70 |
"use_cache": false,
|
| 71 |
-
"vocab_size":
|
| 72 |
}
|
|
|
|
| 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",
|
|
|
|
| 38 |
"15": "B-URL",
|
| 39 |
"16": "I-URL"
|
| 40 |
},
|
| 41 |
+
"initializer_cutoff_factor": 2.0,
|
| 42 |
"initializer_range": 0.02,
|
| 43 |
+
"intermediate_size": 1152,
|
|
|
|
| 44 |
"label2id": {
|
| 45 |
"B-ADDRESS": 1,
|
| 46 |
"B-COMPANY": 3,
|
|
|
|
| 60 |
"I-URL": 16,
|
| 61 |
"O": 0
|
| 62 |
},
|
| 63 |
+
"layer_norm_eps": 1e-05,
|
| 64 |
+
"layer_types": [
|
| 65 |
+
"full_attention",
|
| 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": 22,
|
| 97 |
+
"pad_token_id": 50283,
|
| 98 |
+
"position_embedding_type": "absolute",
|
| 99 |
+
"rope_parameters": {
|
| 100 |
+
"full_attention": {
|
| 101 |
+
"rope_theta": 160000.0,
|
| 102 |
+
"rope_type": "default"
|
| 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": 50368
|
| 116 |
}
|
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:798dac6bd4c7223f4c9479c9b3366a3d5d59047b2246056d2cb3f12c52a9b5f0
|
| 3 |
+
size 596171855
|
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,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 |
}
|