Chantland commited on
Commit
0bcb039
·
1 Parent(s): ccd0ab4

Initial commit

Browse files
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "EVENT",
13
+ "1": "EVENT_Illness",
14
+ "2": "EVENT_Accident",
15
+ "3": "EVENT_Other",
16
+ "4": "CAUSE",
17
+ "5": "CAUSE_Just_Happens",
18
+ "6": "CAUSE_Material_Physical",
19
+ "7": "CAUSE_Spirits_Gods",
20
+ "8": "CAUSE_Witchcraft_Sorcery",
21
+ "9": "CAUSE_Rule_Violation_Taboo",
22
+ "10": "CAUSE_Jealousy_Evil_Eye",
23
+ "11": "ACTION",
24
+ "12": "ACTION_Physical_Material",
25
+ "13": "ACTION_Technical_Specialist",
26
+ "14": "ACTION_Divination",
27
+ "15": "ACTION_Shaman_Medium_Healer",
28
+ "16": "ACTION_Priest_High_Religion",
29
+ "17": "ACTION_Other"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "label2id": {
33
+ "ACTION": 11,
34
+ "ACTION_Divination": 14,
35
+ "ACTION_Other": 17,
36
+ "ACTION_Physical_Material": 12,
37
+ "ACTION_Priest_High_Religion": 16,
38
+ "ACTION_Shaman_Medium_Healer": 15,
39
+ "ACTION_Technical_Specialist": 13,
40
+ "CAUSE": 4,
41
+ "CAUSE_Jealousy_Evil_Eye": 10,
42
+ "CAUSE_Just_Happens": 5,
43
+ "CAUSE_Material_Physical": 6,
44
+ "CAUSE_Rule_Violation_Taboo": 9,
45
+ "CAUSE_Spirits_Gods": 7,
46
+ "CAUSE_Witchcraft_Sorcery": 8,
47
+ "EVENT": 0,
48
+ "EVENT_Accident": 2,
49
+ "EVENT_Illness": 1,
50
+ "EVENT_Other": 3
51
+ },
52
+ "max_position_embeddings": 512,
53
+ "model_type": "distilbert",
54
+ "n_heads": 12,
55
+ "n_layers": 6,
56
+ "pad_token_id": 0,
57
+ "problem_type": "multi_label_classification",
58
+ "qa_dropout": 0.1,
59
+ "seq_classif_dropout": 0.2,
60
+ "sinusoidal_pos_embds": false,
61
+ "tie_weights_": true,
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.24.0",
64
+ "vocab_size": 30522
65
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94f74ba96451ae68674f8c03175ca529b0c9586d1c826d4ea4dc57f2cdcf9fe
3
+ size 535796549
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5388af2efca6ed72b2c6ac82169d011caa6c00e6ac088b05c90c9632a4eeeb
3
+ size 267903341
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d6efb74f26f13ab44ac71a5b2839da2cb02076f78433571e42ff77df959c617
3
+ size 13553
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dceeccbae01744d839850b433e9e5d599a8543ba27144a7fc306eba118b0d12
3
+ size 627
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,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_lower_case": true,
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 512,
6
+ "name_or_path": "distilbert-base-uncased",
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "special_tokens_map_file": null,
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "DistilBertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
trainer_state.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7183271832718328,
3
+ "best_model_checkpoint": "HRAF_Model_MultiLabel_SubClasses/checkpoint-875",
4
+ "epoch": 5.0,
5
+ "global_step": 875,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "eval_accuracy": 0.0,
13
+ "eval_f1": 0.667278849097031,
14
+ "eval_loss": 0.41065430641174316,
15
+ "eval_roc_auc": 0.7616334780182695,
16
+ "eval_runtime": 107.1579,
17
+ "eval_samples_per_second": 3.266,
18
+ "eval_steps_per_second": 0.411,
19
+ "step": 175
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.002857142857142857,
24
+ "eval_f1": 0.692448233861145,
25
+ "eval_loss": 0.38348057866096497,
26
+ "eval_roc_auc": 0.7780945131452475,
27
+ "eval_runtime": 90.7152,
28
+ "eval_samples_per_second": 3.858,
29
+ "eval_steps_per_second": 0.485,
30
+ "step": 350
31
+ },
32
+ {
33
+ "epoch": 2.86,
34
+ "learning_rate": 8.571428571428571e-06,
35
+ "loss": 0.4077,
36
+ "step": 500
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "eval_accuracy": 0.022857142857142857,
41
+ "eval_f1": 0.7051744885679904,
42
+ "eval_loss": 0.3677811026573181,
43
+ "eval_roc_auc": 0.7873223134208052,
44
+ "eval_runtime": 90.6425,
45
+ "eval_samples_per_second": 3.861,
46
+ "eval_steps_per_second": 0.485,
47
+ "step": 525
48
+ },
49
+ {
50
+ "epoch": 4.0,
51
+ "eval_accuracy": 0.04857142857142857,
52
+ "eval_f1": 0.7114503816793892,
53
+ "eval_loss": 0.35647499561309814,
54
+ "eval_roc_auc": 0.7900212002732531,
55
+ "eval_runtime": 90.64,
56
+ "eval_samples_per_second": 3.861,
57
+ "eval_steps_per_second": 0.485,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 5.0,
62
+ "eval_accuracy": 0.05142857142857143,
63
+ "eval_f1": 0.7183271832718328,
64
+ "eval_loss": 0.3486453592777252,
65
+ "eval_roc_auc": 0.7937415018923373,
66
+ "eval_runtime": 90.5252,
67
+ "eval_samples_per_second": 3.866,
68
+ "eval_steps_per_second": 0.486,
69
+ "step": 875
70
+ }
71
+ ],
72
+ "max_steps": 875,
73
+ "num_train_epochs": 5,
74
+ "total_flos": 784104676533360.0,
75
+ "trial_name": null,
76
+ "trial_params": null
77
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afc0e69c798b4630ee068a05dd4f1a9404d270ac23a1062f1e52f9348c3979b0
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff