End of training
Browse files- README.md +54 -0
- config.json +98 -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,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: Bert_base_NER_PII65k
|
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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/tuevu_smu/huggingface/runs/mjqe8h9n)
|
15 |
+
# Bert_base_NER_PII65k
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 5e-05
|
37 |
+
- train_batch_size: 16
|
38 |
+
- eval_batch_size: 64
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- lr_scheduler_warmup_steps: 500
|
43 |
+
- num_epochs: 3
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.41.0.dev0
|
52 |
+
- Pytorch 1.13.1
|
53 |
+
- Datasets 2.18.0
|
54 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-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": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "ACCOUNTNAME",
|
14 |
+
"1": "ACCOUNTNUMBER",
|
15 |
+
"2": "COINADDRESS",
|
16 |
+
"3": "COMPANY_NAME",
|
17 |
+
"4": "CREDITCARDISSUER",
|
18 |
+
"5": "CREDITCARDNUMBER",
|
19 |
+
"6": "CURRENCY",
|
20 |
+
"7": "DATE",
|
21 |
+
"8": "EMAIL",
|
22 |
+
"9": "GENDER",
|
23 |
+
"10": "GEO",
|
24 |
+
"11": "IBAN",
|
25 |
+
"12": "PASSWORD",
|
26 |
+
"13": "PHONEIMEI",
|
27 |
+
"14": "PHONE_NUMBER",
|
28 |
+
"15": "PREFIX",
|
29 |
+
"16": "SSN",
|
30 |
+
"17": "STREET",
|
31 |
+
"18": "SUFFIX",
|
32 |
+
"19": "USERAGENT",
|
33 |
+
"20": "USERNAME",
|
34 |
+
"21": "VEHICLEVIN",
|
35 |
+
"22": "VEHICLEVRM",
|
36 |
+
"23": "ZIPCODE",
|
37 |
+
"24": "ADDRESS",
|
38 |
+
"25": "BIC",
|
39 |
+
"26": "IP",
|
40 |
+
"27": "JOB",
|
41 |
+
"28": "MAC",
|
42 |
+
"29": "NAME",
|
43 |
+
"30": "NUM",
|
44 |
+
"31": "TIME",
|
45 |
+
"32": "URL",
|
46 |
+
"33": "O"
|
47 |
+
},
|
48 |
+
"initializer_range": 0.02,
|
49 |
+
"intermediate_size": 3072,
|
50 |
+
"label2id": {
|
51 |
+
"ACCOUNTNAME": 0,
|
52 |
+
"ACCOUNTNUMBER": 1,
|
53 |
+
"ADDRESS": 24,
|
54 |
+
"BIC": 25,
|
55 |
+
"COINADDRESS": 2,
|
56 |
+
"COMPANY_NAME": 3,
|
57 |
+
"CREDITCARDISSUER": 4,
|
58 |
+
"CREDITCARDNUMBER": 5,
|
59 |
+
"CURRENCY": 6,
|
60 |
+
"DATE": 7,
|
61 |
+
"EMAIL": 8,
|
62 |
+
"GENDER": 9,
|
63 |
+
"GEO": 10,
|
64 |
+
"IBAN": 11,
|
65 |
+
"IP": 26,
|
66 |
+
"JOB": 27,
|
67 |
+
"MAC": 28,
|
68 |
+
"NAME": 29,
|
69 |
+
"NUM": 30,
|
70 |
+
"O": 33,
|
71 |
+
"PASSWORD": 12,
|
72 |
+
"PHONEIMEI": 13,
|
73 |
+
"PHONE_NUMBER": 14,
|
74 |
+
"PREFIX": 15,
|
75 |
+
"SSN": 16,
|
76 |
+
"STREET": 17,
|
77 |
+
"SUFFIX": 18,
|
78 |
+
"TIME": 31,
|
79 |
+
"URL": 32,
|
80 |
+
"USERAGENT": 19,
|
81 |
+
"USERNAME": 20,
|
82 |
+
"VEHICLEVIN": 21,
|
83 |
+
"VEHICLEVRM": 22,
|
84 |
+
"ZIPCODE": 23
|
85 |
+
},
|
86 |
+
"layer_norm_eps": 1e-12,
|
87 |
+
"max_position_embeddings": 512,
|
88 |
+
"model_type": "bert",
|
89 |
+
"num_attention_heads": 12,
|
90 |
+
"num_hidden_layers": 12,
|
91 |
+
"pad_token_id": 0,
|
92 |
+
"position_embedding_type": "absolute",
|
93 |
+
"torch_dtype": "float32",
|
94 |
+
"transformers_version": "4.41.0.dev0",
|
95 |
+
"type_vocab_size": 2,
|
96 |
+
"use_cache": true,
|
97 |
+
"vocab_size": 30522
|
98 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9901771cb09115e7c792b8930ef13e235934c4c698a3b0e2340e7c7b474dab23
|
3 |
+
size 435694520
|
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:4e41e4ea4111114257b57c4e2d553c7fb60539cd5b756a7997f245502896de90
|
3 |
+
size 4603
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|