skythrone commited on
Commit
4825efd
·
verified ·
1 Parent(s): 2da35c8

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "Data Retention",
12
+ "1": "Data Security",
13
+ "2": "Do Not Track",
14
+ "3": "First Party Collection/Use",
15
+ "4": "International and Specific Audiences",
16
+ "5": "Other",
17
+ "6": "Policy Change",
18
+ "7": "Third Party Sharing/Collection",
19
+ "8": "User Access, Edit and Deletion",
20
+ "9": "User Choice/Control"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "Data Retention": 0,
25
+ "Data Security": 1,
26
+ "Do Not Track": 2,
27
+ "First Party Collection/Use": 3,
28
+ "International and Specific Audiences": 4,
29
+ "Other": 5,
30
+ "Policy Change": 6,
31
+ "Third Party Sharing/Collection": 7,
32
+ "User Access, Edit and Deletion": 8,
33
+ "User Choice/Control": 9
34
+ },
35
+ "max_position_embeddings": 512,
36
+ "model_type": "distilbert",
37
+ "n_heads": 12,
38
+ "n_layers": 6,
39
+ "pad_token_id": 0,
40
+ "problem_type": "single_label_classification",
41
+ "qa_dropout": 0.1,
42
+ "seq_classif_dropout": 0.2,
43
+ "sinusoidal_pos_embds": false,
44
+ "tie_weights_": true,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.50.2",
47
+ "vocab_size": 30522
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d6905eaead170cb3078bf736fe7d043b7a40a44ef8c25f6e1db7afe15d8d96c
3
+ size 267857176
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d368c77aa6ed7576fd5e68d25a6942f1fb05542fd803339fc6741214073e4feb
3
+ size 535776442
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f658fc9daf3543cd840aed164ce5c69a9952dab02ac3924b6f511b5f468e8a1
3
+ size 14244
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d487966417957508740a2f759ca5c31cd1b732cdfce17508ef2b1ebaa719e27b
3
+ size 988
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75fb616baaa6e56bb8ce651fb6c774ad2b00741e407fad158db4b6e5ef006629
3
+ size 1064
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
trainer_state.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 870,
3
+ "best_metric": 0.7589469053789701,
4
+ "best_model_checkpoint": "/content/drive/MyDrive/Colab_Policy_Classifier/models/clause_classifier/checkpoint-870",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 870,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.3448275862068966,
14
+ "grad_norm": 3.4654626846313477,
15
+ "learning_rate": 2.2241799789345004e-05,
16
+ "loss": 1.4292,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 0.6896551724137931,
21
+ "grad_norm": 2.985247850418091,
22
+ "learning_rate": 1.935325436215734e-05,
23
+ "loss": 0.9887,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_accuracy": 0.7372278508299203,
29
+ "eval_f1": 0.7321217976470575,
30
+ "eval_loss": 0.789239227771759,
31
+ "eval_precision": 0.7474557284898623,
32
+ "eval_recall": 0.7372278508299203,
33
+ "eval_runtime": 3.3237,
34
+ "eval_samples_per_second": 1395.735,
35
+ "eval_steps_per_second": 21.963,
36
+ "step": 290
37
+ },
38
+ {
39
+ "epoch": 1.0344827586206897,
40
+ "grad_norm": 3.3700387477874756,
41
+ "learning_rate": 1.6464708934969675e-05,
42
+ "loss": 0.8142,
43
+ "step": 300
44
+ },
45
+ {
46
+ "epoch": 1.3793103448275863,
47
+ "grad_norm": 2.9865570068359375,
48
+ "learning_rate": 1.3576163507782014e-05,
49
+ "loss": 0.754,
50
+ "step": 400
51
+ },
52
+ {
53
+ "epoch": 1.7241379310344827,
54
+ "grad_norm": 3.4569103717803955,
55
+ "learning_rate": 1.0687618080594351e-05,
56
+ "loss": 0.7182,
57
+ "step": 500
58
+ },
59
+ {
60
+ "epoch": 2.0,
61
+ "eval_accuracy": 0.7622332399223971,
62
+ "eval_f1": 0.756081866353382,
63
+ "eval_loss": 0.7054521441459656,
64
+ "eval_precision": 0.7641530421389079,
65
+ "eval_recall": 0.7622332399223971,
66
+ "eval_runtime": 3.3179,
67
+ "eval_samples_per_second": 1398.193,
68
+ "eval_steps_per_second": 22.002,
69
+ "step": 580
70
+ },
71
+ {
72
+ "epoch": 2.0689655172413794,
73
+ "grad_norm": 3.4565210342407227,
74
+ "learning_rate": 7.799072653406689e-06,
75
+ "loss": 0.7063,
76
+ "step": 600
77
+ },
78
+ {
79
+ "epoch": 2.413793103448276,
80
+ "grad_norm": 3.1291258335113525,
81
+ "learning_rate": 4.910527226219027e-06,
82
+ "loss": 0.6467,
83
+ "step": 700
84
+ },
85
+ {
86
+ "epoch": 2.7586206896551726,
87
+ "grad_norm": 3.1852426528930664,
88
+ "learning_rate": 2.021981799031364e-06,
89
+ "loss": 0.6372,
90
+ "step": 800
91
+ },
92
+ {
93
+ "epoch": 3.0,
94
+ "eval_accuracy": 0.7633110584177625,
95
+ "eval_f1": 0.7589469053789701,
96
+ "eval_loss": 0.6927562355995178,
97
+ "eval_precision": 0.7643222340640288,
98
+ "eval_recall": 0.7633110584177625,
99
+ "eval_runtime": 3.3108,
100
+ "eval_samples_per_second": 1401.186,
101
+ "eval_steps_per_second": 22.049,
102
+ "step": 870
103
+ }
104
+ ],
105
+ "logging_steps": 100,
106
+ "max_steps": 870,
107
+ "num_input_tokens_seen": 0,
108
+ "num_train_epochs": 3,
109
+ "save_steps": 500,
110
+ "stateful_callbacks": {
111
+ "TrainerControl": {
112
+ "args": {
113
+ "should_epoch_stop": false,
114
+ "should_evaluate": false,
115
+ "should_log": false,
116
+ "should_save": true,
117
+ "should_training_stop": true
118
+ },
119
+ "attributes": {}
120
+ }
121
+ },
122
+ "total_flos": 7374849755904000.0,
123
+ "train_batch_size": 64,
124
+ "trial_name": null,
125
+ "trial_params": null
126
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80523e51d2f83e6a2a16fa7702bf64d5d926f0007e6d9e19adf73b1e0359ec1c
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff