End of training
Browse files- README.md +53 -0
- config.json +114 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: Bert_large_NER_PII_062024
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# Bert_large_NER_PII_062024
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [google-bert/bert-large-uncased](https://huggingface.co/google-bert/bert-large-uncased) on the None dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 5e-05
|
36 |
+
- train_batch_size: 16
|
37 |
+
- eval_batch_size: 64
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- lr_scheduler_warmup_steps: 500
|
42 |
+
- num_epochs: 5
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
### Framework versions
|
49 |
+
|
50 |
+
- Transformers 4.41.0.dev0
|
51 |
+
- Pytorch 1.13.1
|
52 |
+
- Datasets 2.18.0
|
53 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "ACCOUNTNAME",
|
14 |
+
"1": "ACCOUNTNUMBER",
|
15 |
+
"2": "COINADDRESS",
|
16 |
+
"3": "ADDRESS",
|
17 |
+
"4": "AGE",
|
18 |
+
"5": "BIC",
|
19 |
+
"6": "CREDITCARDISSUER",
|
20 |
+
"7": "CREDITCARDNUMBER",
|
21 |
+
"8": "CURRENCY",
|
22 |
+
"9": "DATE",
|
23 |
+
"10": "EMAIL",
|
24 |
+
"11": "COLOR",
|
25 |
+
"12": "GENDER",
|
26 |
+
"13": "GEO",
|
27 |
+
"14": "HEIGHT",
|
28 |
+
"15": "JOB",
|
29 |
+
"16": "MAC",
|
30 |
+
"17": "MISC",
|
31 |
+
"18": "USERNAME",
|
32 |
+
"19": "NAME",
|
33 |
+
"20": "NEARBYGPSCOORDINATE",
|
34 |
+
"21": "ORDINALDIRECTION",
|
35 |
+
"22": "ORG",
|
36 |
+
"23": "PASSWORD",
|
37 |
+
"24": "PHONEIMEI",
|
38 |
+
"25": "PHONENUMBER",
|
39 |
+
"26": "PREFIX",
|
40 |
+
"27": "SSN",
|
41 |
+
"28": "STREET",
|
42 |
+
"29": "TIME",
|
43 |
+
"30": "URL",
|
44 |
+
"31": "VEHICLEVIN",
|
45 |
+
"32": "VEHICLEVRM",
|
46 |
+
"33": "ZIPCODE",
|
47 |
+
"34": "IP",
|
48 |
+
"35": "NUM",
|
49 |
+
"36": "BLOODTYPE",
|
50 |
+
"37": "WEIGHTS",
|
51 |
+
"38": "DOB",
|
52 |
+
"39": "GPE",
|
53 |
+
"40": "IBAN",
|
54 |
+
"41": "O"
|
55 |
+
},
|
56 |
+
"initializer_range": 0.02,
|
57 |
+
"intermediate_size": 4096,
|
58 |
+
"label2id": {
|
59 |
+
"ACCOUNTNAME": 0,
|
60 |
+
"ACCOUNTNUMBER": 1,
|
61 |
+
"ADDRESS": 3,
|
62 |
+
"AGE": 4,
|
63 |
+
"BIC": 5,
|
64 |
+
"BLOODTYPE": 36,
|
65 |
+
"COINADDRESS": 2,
|
66 |
+
"COLOR": 11,
|
67 |
+
"CREDITCARDISSUER": 6,
|
68 |
+
"CREDITCARDNUMBER": 7,
|
69 |
+
"CURRENCY": 8,
|
70 |
+
"DATE": 9,
|
71 |
+
"DOB": 38,
|
72 |
+
"EMAIL": 10,
|
73 |
+
"GENDER": 12,
|
74 |
+
"GEO": 13,
|
75 |
+
"GPE": 39,
|
76 |
+
"HEIGHT": 14,
|
77 |
+
"IBAN": 40,
|
78 |
+
"IP": 34,
|
79 |
+
"JOB": 15,
|
80 |
+
"MAC": 16,
|
81 |
+
"MISC": 17,
|
82 |
+
"NAME": 19,
|
83 |
+
"NEARBYGPSCOORDINATE": 20,
|
84 |
+
"NUM": 35,
|
85 |
+
"O": 41,
|
86 |
+
"ORDINALDIRECTION": 21,
|
87 |
+
"ORG": 22,
|
88 |
+
"PASSWORD": 23,
|
89 |
+
"PHONEIMEI": 24,
|
90 |
+
"PHONENUMBER": 25,
|
91 |
+
"PREFIX": 26,
|
92 |
+
"SSN": 27,
|
93 |
+
"STREET": 28,
|
94 |
+
"TIME": 29,
|
95 |
+
"URL": 30,
|
96 |
+
"USERNAME": 18,
|
97 |
+
"VEHICLEVIN": 31,
|
98 |
+
"VEHICLEVRM": 32,
|
99 |
+
"WEIGHTS": 37,
|
100 |
+
"ZIPCODE": 33
|
101 |
+
},
|
102 |
+
"layer_norm_eps": 1e-12,
|
103 |
+
"max_position_embeddings": 512,
|
104 |
+
"model_type": "bert",
|
105 |
+
"num_attention_heads": 16,
|
106 |
+
"num_hidden_layers": 24,
|
107 |
+
"pad_token_id": 0,
|
108 |
+
"position_embedding_type": "absolute",
|
109 |
+
"torch_dtype": "float32",
|
110 |
+
"transformers_version": "4.41.0.dev0",
|
111 |
+
"type_vocab_size": 2,
|
112 |
+
"use_cache": true,
|
113 |
+
"vocab_size": 30522
|
114 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5350ea3dcec13bb4b2163cac153fcedc4b6f10d01d75f22408980064c7af96e1
|
3 |
+
size 1336588168
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11496af66bcfec9c19cea824d5210001e0a372f8b32a02a027566ea79be08ff4
|
3 |
+
size 4603
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|