PuxAI commited on
Commit
ee66686
·
verified ·
1 Parent(s): 3116002

Train 10k + CRF for financial-pii-ready-augmented. F1: 1.0000

Browse files
financial-pii-ready-augmented/TokenBased-BERT/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "dtype": "float32",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "B-ADDRESS",
14
+ "1": "B-COMPANY",
15
+ "2": "B-CREDIT_CARD",
16
+ "3": "B-EMAIL",
17
+ "4": "B-NAME",
18
+ "5": "B-PHONE",
19
+ "6": "B-SSN/CCCD",
20
+ "7": "B-URL",
21
+ "8": "I-ADDRESS",
22
+ "9": "I-COMPANY",
23
+ "10": "I-CREDIT_CARD",
24
+ "11": "I-EMAIL",
25
+ "12": "I-NAME",
26
+ "13": "I-PHONE",
27
+ "14": "I-SSN/CCCD",
28
+ "15": "I-URL",
29
+ "16": "O"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "B-ADDRESS": 0,
35
+ "B-COMPANY": 1,
36
+ "B-CREDIT_CARD": 2,
37
+ "B-EMAIL": 3,
38
+ "B-NAME": 4,
39
+ "B-PHONE": 5,
40
+ "B-SSN/CCCD": 6,
41
+ "B-URL": 7,
42
+ "I-ADDRESS": 8,
43
+ "I-COMPANY": 9,
44
+ "I-CREDIT_CARD": 10,
45
+ "I-EMAIL": 11,
46
+ "I-NAME": 12,
47
+ "I-PHONE": 13,
48
+ "I-SSN/CCCD": 14,
49
+ "I-URL": 15,
50
+ "O": 16
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "max_position_embeddings": 512,
54
+ "model_type": "bert",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "pooler_fc_size": 768,
59
+ "pooler_num_attention_heads": 12,
60
+ "pooler_num_fc_layers": 3,
61
+ "pooler_size_per_head": 128,
62
+ "pooler_type": "first_token_transform",
63
+ "position_embedding_type": "absolute",
64
+ "transformers_version": "4.56.0",
65
+ "type_vocab_size": 2,
66
+ "use_cache": false,
67
+ "vocab_size": 119547
68
+ }
financial-pii-ready-augmented/TokenBased-BERT/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60a7f06c2be407ecf4b58db5d6c0a803098b401d2c76edfe47d6e4d3aab3b327
3
+ size 711491160
financial-pii-ready-augmented/TokenBased-BERT/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
financial-pii-ready-augmented/TokenBased-BERT/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
financial-pii-ready-augmented/TokenBased-BERT/tokenizer_config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "101": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "102": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "103": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "backend": "tokenizers",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "[CLS]",
48
+ "do_lower_case": false,
49
+ "extra_special_tokens": {},
50
+ "is_local": false,
51
+ "mask_token": "[MASK]",
52
+ "max_length": 512,
53
+ "model_max_length": 512,
54
+ "pad_to_multiple_of": null,
55
+ "pad_token": "[PAD]",
56
+ "pad_token_type_id": 0,
57
+ "padding_side": "right",
58
+ "sep_token": "[SEP]",
59
+ "stride": 0,
60
+ "strip_accents": null,
61
+ "tokenize_chinese_chars": true,
62
+ "tokenizer_class": "BertTokenizer",
63
+ "truncation_side": "right",
64
+ "truncation_strategy": "longest_first",
65
+ "unk_token": "[UNK]"
66
+ }
financial-pii-ready-augmented/TokenBased-BERT/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6fb71ffd9fc5e758c4dc68deaf5f26da5220baae99ae91d7494cafa9c233790
3
+ size 5777
financial-pii-ready-augmented/TokenBased-BERT/vocab.txt ADDED
The diff for this file is too large to render. See raw diff