Upload folder using huggingface_hub
Browse files- classification_report.json +68 -0
- config.json +68 -0
- model.safetensors +3 -0
- predictions.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- training_args.bin +3 -0
classification_report.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"ADDRESS": {
|
| 3 |
+
"precision": 1.0,
|
| 4 |
+
"recall": 0.9355,
|
| 5 |
+
"f1-score": 0.9667,
|
| 6 |
+
"support": 31
|
| 7 |
+
},
|
| 8 |
+
"COMPANY": {
|
| 9 |
+
"precision": 0.9737,
|
| 10 |
+
"recall": 0.925,
|
| 11 |
+
"f1-score": 0.9487,
|
| 12 |
+
"support": 40
|
| 13 |
+
},
|
| 14 |
+
"CREDIT_CARD": {
|
| 15 |
+
"precision": 1.0,
|
| 16 |
+
"recall": 0.963,
|
| 17 |
+
"f1-score": 0.9811,
|
| 18 |
+
"support": 27
|
| 19 |
+
},
|
| 20 |
+
"EMAIL": {
|
| 21 |
+
"precision": 1.0,
|
| 22 |
+
"recall": 0.9565,
|
| 23 |
+
"f1-score": 0.9778,
|
| 24 |
+
"support": 23
|
| 25 |
+
},
|
| 26 |
+
"NAME": {
|
| 27 |
+
"precision": 1.0,
|
| 28 |
+
"recall": 0.9388,
|
| 29 |
+
"f1-score": 0.9684,
|
| 30 |
+
"support": 49
|
| 31 |
+
},
|
| 32 |
+
"PHONE": {
|
| 33 |
+
"precision": 1.0,
|
| 34 |
+
"recall": 0.9643,
|
| 35 |
+
"f1-score": 0.9818,
|
| 36 |
+
"support": 28
|
| 37 |
+
},
|
| 38 |
+
"SSN": {
|
| 39 |
+
"precision": 1.0,
|
| 40 |
+
"recall": 0.9394,
|
| 41 |
+
"f1-score": 0.9688,
|
| 42 |
+
"support": 33
|
| 43 |
+
},
|
| 44 |
+
"URL": {
|
| 45 |
+
"precision": 1.0,
|
| 46 |
+
"recall": 0.9231,
|
| 47 |
+
"f1-score": 0.96,
|
| 48 |
+
"support": 26
|
| 49 |
+
},
|
| 50 |
+
"OVERALL_MICRO": {
|
| 51 |
+
"precision": 0.9959,
|
| 52 |
+
"recall": 0.9416,
|
| 53 |
+
"f1-score": 0.968,
|
| 54 |
+
"support": 257
|
| 55 |
+
},
|
| 56 |
+
"OVERALL_MACRO": {
|
| 57 |
+
"precision": 0.9967,
|
| 58 |
+
"recall": 0.9432,
|
| 59 |
+
"f1-score": 0.9692,
|
| 60 |
+
"support": 257
|
| 61 |
+
},
|
| 62 |
+
"OVERALL_WEIGHTED": {
|
| 63 |
+
"precision": 0.9959,
|
| 64 |
+
"recall": 0.9416,
|
| 65 |
+
"f1-score": 0.968,
|
| 66 |
+
"support": 257
|
| 67 |
+
}
|
| 68 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": null,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"id2label": {
|
| 16 |
+
"0": "O",
|
| 17 |
+
"1": "B-ADDRESS",
|
| 18 |
+
"2": "I-ADDRESS",
|
| 19 |
+
"3": "B-COMPANY",
|
| 20 |
+
"4": "I-COMPANY",
|
| 21 |
+
"5": "B-CREDIT_CARD",
|
| 22 |
+
"6": "I-CREDIT_CARD",
|
| 23 |
+
"7": "B-EMAIL",
|
| 24 |
+
"8": "I-EMAIL",
|
| 25 |
+
"9": "B-NAME",
|
| 26 |
+
"10": "I-NAME",
|
| 27 |
+
"11": "B-PHONE",
|
| 28 |
+
"12": "I-PHONE",
|
| 29 |
+
"13": "B-SSN",
|
| 30 |
+
"14": "I-SSN",
|
| 31 |
+
"15": "B-URL",
|
| 32 |
+
"16": "I-URL"
|
| 33 |
+
},
|
| 34 |
+
"initializer_range": 0.02,
|
| 35 |
+
"intermediate_size": 3072,
|
| 36 |
+
"is_decoder": false,
|
| 37 |
+
"label2id": {
|
| 38 |
+
"B-ADDRESS": 1,
|
| 39 |
+
"B-COMPANY": 3,
|
| 40 |
+
"B-CREDIT_CARD": 5,
|
| 41 |
+
"B-EMAIL": 7,
|
| 42 |
+
"B-NAME": 9,
|
| 43 |
+
"B-PHONE": 11,
|
| 44 |
+
"B-SSN": 13,
|
| 45 |
+
"B-URL": 15,
|
| 46 |
+
"I-ADDRESS": 2,
|
| 47 |
+
"I-COMPANY": 4,
|
| 48 |
+
"I-CREDIT_CARD": 6,
|
| 49 |
+
"I-EMAIL": 8,
|
| 50 |
+
"I-NAME": 10,
|
| 51 |
+
"I-PHONE": 12,
|
| 52 |
+
"I-SSN": 14,
|
| 53 |
+
"I-URL": 16,
|
| 54 |
+
"O": 0
|
| 55 |
+
},
|
| 56 |
+
"layer_norm_eps": 1e-12,
|
| 57 |
+
"max_position_embeddings": 512,
|
| 58 |
+
"model_type": "bert",
|
| 59 |
+
"num_attention_heads": 12,
|
| 60 |
+
"num_hidden_layers": 12,
|
| 61 |
+
"pad_token_id": 0,
|
| 62 |
+
"position_embedding_type": "absolute",
|
| 63 |
+
"tie_word_embeddings": true,
|
| 64 |
+
"transformers_version": "5.6.2",
|
| 65 |
+
"type_vocab_size": 2,
|
| 66 |
+
"use_cache": false,
|
| 67 |
+
"vocab_size": 30522
|
| 68 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9327b28c5901d10405da6ffdb833b4f0a44feeb566a38ce22348b00fcb26dfd8
|
| 3 |
+
size 435642204
|
predictions.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"cls_token": "[CLS]",
|
| 5 |
+
"do_lower_case": true,
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"local_files_only": false,
|
| 8 |
+
"mask_token": "[MASK]",
|
| 9 |
+
"model_max_length": 512,
|
| 10 |
+
"pad_token": "[PAD]",
|
| 11 |
+
"sep_token": "[SEP]",
|
| 12 |
+
"strip_accents": null,
|
| 13 |
+
"tokenize_chinese_chars": true,
|
| 14 |
+
"tokenizer_class": "BertTokenizer",
|
| 15 |
+
"unk_token": "[UNK]"
|
| 16 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d82fcb7c64b3c8c0c2b9a104f6b2c790fe7af14e4af88e6333592ad8834c2f02
|
| 3 |
+
size 5265
|