Aspik101 commited on
Commit
8e3abe7
·
verified ·
1 Parent(s): 5d07e94

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dslim/bert-base-NER",
3
+ "_num_labels": 9,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "B-EMAIL",
14
+ "1": "B-ID_NUM",
15
+ "2": "B-NAME_STUDENT",
16
+ "3": "B-PHONE_NUM",
17
+ "4": "B-STREET_ADDRESS",
18
+ "5": "B-URL_PERSONAL",
19
+ "6": "B-USERNAME",
20
+ "7": "I-ID_NUM",
21
+ "8": "I-NAME_STUDENT",
22
+ "9": "I-PHONE_NUM",
23
+ "10": "I-STREET_ADDRESS",
24
+ "11": "I-URL_PERSONAL",
25
+ "12": "O"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-EMAIL": 0,
31
+ "B-ID_NUM": 1,
32
+ "B-NAME_STUDENT": 2,
33
+ "B-PHONE_NUM": 3,
34
+ "B-STREET_ADDRESS": 4,
35
+ "B-URL_PERSONAL": 5,
36
+ "B-USERNAME": 6,
37
+ "I-ID_NUM": 7,
38
+ "I-NAME_STUDENT": 8,
39
+ "I-PHONE_NUM": 9,
40
+ "I-STREET_ADDRESS": 10,
41
+ "I-URL_PERSONAL": 11,
42
+ "O": 12
43
+ },
44
+ "layer_norm_eps": 1e-12,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "bert",
47
+ "num_attention_heads": 12,
48
+ "num_hidden_layers": 12,
49
+ "output_past": true,
50
+ "pad_token_id": 0,
51
+ "position_embedding_type": "absolute",
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.37.0",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 28996
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df7418c0ba39f594216af0588a82446745499ecf7e1b3bdb79ecd648fb996ef1
3
+ size 430942044
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6381df379b40796b20cd1670c7af0fcd5050a90f777324205a25d9c8e2855b8
3
+ size 14503
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fe5cae1b0d8354ae4ef880bc0536e25e18bf803021058753ba9093ee8c8630f
3
+ size 623
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "max_len": 512,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
trainer_state.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 6.944444444444445,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 3.47,
13
+ "learning_rate": 1.3069444444444446e-05,
14
+ "loss": 0.0337,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 3.47,
19
+ "eval_accuracy": 0.9997195086900363,
20
+ "eval_f1": 0.9970659339871015,
21
+ "eval_loss": 0.0010710632195696235,
22
+ "eval_precision": 0.9965583503025783,
23
+ "eval_recall": 0.9975740349970572,
24
+ "eval_runtime": 52.9895,
25
+ "eval_samples_per_second": 74.203,
26
+ "eval_steps_per_second": 1.17,
27
+ "step": 500
28
+ },
29
+ {
30
+ "epoch": 6.94,
31
+ "learning_rate": 6.125000000000001e-06,
32
+ "loss": 0.0006,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 6.94,
37
+ "eval_accuracy": 0.9997527521045505,
38
+ "eval_f1": 0.9976693319946933,
39
+ "eval_loss": 0.0008877807413227856,
40
+ "eval_precision": 0.9968186638388123,
41
+ "eval_recall": 0.9985214532822302,
42
+ "eval_runtime": 69.3048,
43
+ "eval_samples_per_second": 56.735,
44
+ "eval_steps_per_second": 0.895,
45
+ "step": 1000
46
+ }
47
+ ],
48
+ "logging_steps": 500,
49
+ "max_steps": 1440,
50
+ "num_input_tokens_seen": 0,
51
+ "num_train_epochs": 10,
52
+ "save_steps": 500,
53
+ "total_flos": 1.3191935457675504e+16,
54
+ "train_batch_size": 64,
55
+ "trial_name": null,
56
+ "trial_params": null
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edb9c4a151da618dfc3faf2865e5150c5604b3e00b7e64921254beed6229eff3
3
+ size 4207
vocab.txt ADDED
The diff for this file is too large to render. See raw diff