Upload folder using huggingface_hub
Browse files- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/config.json +66 -22
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/model.safetensors +2 -2
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/optimizer.pt +2 -2
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/rng_state.pth +1 -1
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer.json +0 -0
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer_config.json +7 -5
- nemotron-pii-ready/TokenBased-CRF/checkpoint-63/trainer_state.json +4 -4
- nemotron-pii-ready/TokenBased-CRF/config.json +66 -22
- nemotron-pii-ready/TokenBased-CRF/pytorch_model.bin +2 -2
- nemotron-pii-ready/TokenBased-CRF/tokenizer.json +0 -0
- nemotron-pii-ready/TokenBased-CRF/tokenizer_config.json +7 -5
nemotron-pii-ready/TokenBased-CRF/checkpoint-63/config.json
CHANGED
|
@@ -1,40 +1,84 @@
|
|
| 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"
|
| 17 |
},
|
|
|
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
-
"intermediate_size":
|
| 20 |
-
"is_decoder": false,
|
| 21 |
"label2id": {
|
| 22 |
"O": 0
|
| 23 |
},
|
| 24 |
-
"layer_norm_eps": 1e-
|
| 25 |
-
"
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"num_attention_heads": 12,
|
| 28 |
-
"num_hidden_layers":
|
| 29 |
-
"pad_token_id":
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"tie_word_embeddings": true,
|
| 36 |
"transformers_version": "5.3.0",
|
| 37 |
-
"type_vocab_size": 2,
|
| 38 |
"use_cache": false,
|
| 39 |
-
"vocab_size":
|
| 40 |
}
|
|
|
|
| 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"
|
| 24 |
},
|
| 25 |
+
"initializer_cutoff_factor": 2.0,
|
| 26 |
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 1152,
|
|
|
|
| 28 |
"label2id": {
|
| 29 |
"O": 0
|
| 30 |
},
|
| 31 |
+
"layer_norm_eps": 1e-05,
|
| 32 |
+
"layer_types": [
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"full_attention"
|
| 55 |
+
],
|
| 56 |
+
"local_attention": 128,
|
| 57 |
+
"max_position_embeddings": 8192,
|
| 58 |
+
"mlp_bias": false,
|
| 59 |
+
"mlp_dropout": 0.0,
|
| 60 |
+
"model_type": "modernbert",
|
| 61 |
+
"norm_bias": false,
|
| 62 |
+
"norm_eps": 1e-05,
|
| 63 |
"num_attention_heads": 12,
|
| 64 |
+
"num_hidden_layers": 22,
|
| 65 |
+
"pad_token_id": 50283,
|
| 66 |
+
"position_embedding_type": "absolute",
|
| 67 |
+
"rope_parameters": {
|
| 68 |
+
"full_attention": {
|
| 69 |
+
"rope_theta": 160000.0,
|
| 70 |
+
"rope_type": "default"
|
| 71 |
+
},
|
| 72 |
+
"sliding_attention": {
|
| 73 |
+
"rope_theta": 10000.0,
|
| 74 |
+
"rope_type": "default"
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"sep_token_id": 50282,
|
| 78 |
+
"sparse_pred_ignore_index": -100,
|
| 79 |
+
"sparse_prediction": false,
|
| 80 |
"tie_word_embeddings": true,
|
| 81 |
"transformers_version": "5.3.0",
|
|
|
|
| 82 |
"use_cache": false,
|
| 83 |
+
"vocab_size": 50368
|
| 84 |
}
|
nemotron-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:6ad7634dceddbed7c5bfe64f2538d7f71bfaef155afaa3081e82e8902568a8cb
|
| 3 |
+
size 596075208
|
nemotron-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:9bf6b24ce637aeb60e01e75cab68f8b57f7873fc864167c98da41fbdcf9525d9
|
| 3 |
+
size 1192239755
|
nemotron-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:08504cb4efee454165d24aa00ad8e58713d98093f38b30f8a5112618d186bfa1
|
| 3 |
size 14645
|
nemotron-pii-ready/TokenBased-CRF/checkpoint-63/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nemotron-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 |
}
|
nemotron-pii-ready/TokenBased-CRF/checkpoint-63/trainer_state.json
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 12 |
{
|
| 13 |
"epoch": 1.0,
|
| 14 |
"eval_loss": 0.0,
|
| 15 |
-
"eval_runtime": 1.
|
| 16 |
-
"eval_samples_per_second":
|
| 17 |
-
"eval_steps_per_second":
|
| 18 |
"step": 63
|
| 19 |
}
|
| 20 |
],
|
|
@@ -35,7 +35,7 @@
|
|
| 35 |
"attributes": {}
|
| 36 |
}
|
| 37 |
},
|
| 38 |
-
"total_flos":
|
| 39 |
"train_batch_size": 8,
|
| 40 |
"trial_name": null,
|
| 41 |
"trial_params": null
|
|
|
|
| 12 |
{
|
| 13 |
"epoch": 1.0,
|
| 14 |
"eval_loss": 0.0,
|
| 15 |
+
"eval_runtime": 1.9477,
|
| 16 |
+
"eval_samples_per_second": 51.343,
|
| 17 |
+
"eval_steps_per_second": 6.675,
|
| 18 |
"step": 63
|
| 19 |
}
|
| 20 |
],
|
|
|
|
| 35 |
"attributes": {}
|
| 36 |
}
|
| 37 |
},
|
| 38 |
+
"total_flos": 169470597120000.0,
|
| 39 |
"train_batch_size": 8,
|
| 40 |
"trial_name": null,
|
| 41 |
"trial_params": null
|
nemotron-pii-ready/TokenBased-CRF/config.json
CHANGED
|
@@ -1,40 +1,84 @@
|
|
| 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"
|
| 17 |
},
|
|
|
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
-
"intermediate_size":
|
| 20 |
-
"is_decoder": false,
|
| 21 |
"label2id": {
|
| 22 |
"O": 0
|
| 23 |
},
|
| 24 |
-
"layer_norm_eps": 1e-
|
| 25 |
-
"
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"num_attention_heads": 12,
|
| 28 |
-
"num_hidden_layers":
|
| 29 |
-
"pad_token_id":
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"tie_word_embeddings": true,
|
| 36 |
"transformers_version": "5.3.0",
|
| 37 |
-
"type_vocab_size": 2,
|
| 38 |
"use_cache": false,
|
| 39 |
-
"vocab_size":
|
| 40 |
}
|
|
|
|
| 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"
|
| 24 |
},
|
| 25 |
+
"initializer_cutoff_factor": 2.0,
|
| 26 |
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 1152,
|
|
|
|
| 28 |
"label2id": {
|
| 29 |
"O": 0
|
| 30 |
},
|
| 31 |
+
"layer_norm_eps": 1e-05,
|
| 32 |
+
"layer_types": [
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"full_attention"
|
| 55 |
+
],
|
| 56 |
+
"local_attention": 128,
|
| 57 |
+
"max_position_embeddings": 8192,
|
| 58 |
+
"mlp_bias": false,
|
| 59 |
+
"mlp_dropout": 0.0,
|
| 60 |
+
"model_type": "modernbert",
|
| 61 |
+
"norm_bias": false,
|
| 62 |
+
"norm_eps": 1e-05,
|
| 63 |
"num_attention_heads": 12,
|
| 64 |
+
"num_hidden_layers": 22,
|
| 65 |
+
"pad_token_id": 50283,
|
| 66 |
+
"position_embedding_type": "absolute",
|
| 67 |
+
"rope_parameters": {
|
| 68 |
+
"full_attention": {
|
| 69 |
+
"rope_theta": 160000.0,
|
| 70 |
+
"rope_type": "default"
|
| 71 |
+
},
|
| 72 |
+
"sliding_attention": {
|
| 73 |
+
"rope_theta": 10000.0,
|
| 74 |
+
"rope_type": "default"
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"sep_token_id": 50282,
|
| 78 |
+
"sparse_pred_ignore_index": -100,
|
| 79 |
+
"sparse_prediction": false,
|
| 80 |
"tie_word_embeddings": true,
|
| 81 |
"transformers_version": "5.3.0",
|
|
|
|
| 82 |
"use_cache": false,
|
| 83 |
+
"vocab_size": 50368
|
| 84 |
}
|
nemotron-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:ed31be5bbaf8407607ebea72a793e7d2042ffa9a758ccc645cd1b60b48e9b74b
|
| 3 |
+
size 596121359
|
nemotron-pii-ready/TokenBased-CRF/tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nemotron-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 |
}
|