wu981526092
commited on
Commit
•
c1456bb
1
Parent(s):
70c7d8d
update
Browse files- config.json +46 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- trainer_state.json +76 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "unrelated",
|
13 |
+
"1": "stereotype_gender",
|
14 |
+
"2": "anti-stereotype_gender",
|
15 |
+
"3": "stereotype_race",
|
16 |
+
"4": "anti-stereotype_race",
|
17 |
+
"5": "stereotype_profession",
|
18 |
+
"6": "anti-stereotype_profession",
|
19 |
+
"7": "stereotype_religion",
|
20 |
+
"8": "anti-stereotype_religion"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"anti-stereotype_gender": 2,
|
25 |
+
"anti-stereotype_profession": 6,
|
26 |
+
"anti-stereotype_race": 4,
|
27 |
+
"anti-stereotype_religion": 8,
|
28 |
+
"stereotype_gender": 1,
|
29 |
+
"stereotype_profession": 5,
|
30 |
+
"stereotype_race": 3,
|
31 |
+
"stereotype_religion": 7,
|
32 |
+
"unrelated": 0
|
33 |
+
},
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "distilbert",
|
36 |
+
"n_heads": 12,
|
37 |
+
"n_layers": 6,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"qa_dropout": 0.1,
|
40 |
+
"seq_classif_dropout": 0.2,
|
41 |
+
"sinusoidal_pos_embds": false,
|
42 |
+
"tie_weights_": true,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.30.2",
|
45 |
+
"vocab_size": 30522
|
46 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f3a2ede176455f03fbb391b979ffdae699ee0b6a651038e4d30e81caf24615b
|
3 |
+
size 175105008
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe3f43365dd427813db2965cc9f4572fac706b40840d2b76126d8bea971329c1
|
3 |
+
size 176815110
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d96600483ff85427d732ec69c81a43227d9090e71ba01297a2070e3b1e7a2276
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3da5120f044f3bc98c066d6f08325e23bfcbf5fa4b3a593c660f74ac4cba240a
|
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,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.06264707446098328,
|
3 |
+
"best_model_checkpoint": "token_level_model/best_model/checkpoint-1264",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 1264,
|
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_balanced accuracy": 0.6290652713011048,
|
13 |
+
"eval_f1": 0.5903625610241477,
|
14 |
+
"eval_loss": 0.08535531163215637,
|
15 |
+
"eval_precision": 0.6673952462175068,
|
16 |
+
"eval_recall": 0.6290652713011048,
|
17 |
+
"eval_runtime": 1.1616,
|
18 |
+
"eval_samples_per_second": 1088.145,
|
19 |
+
"eval_steps_per_second": 68.009,
|
20 |
+
"step": 316
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.58,
|
24 |
+
"learning_rate": 1.7362869198312237e-05,
|
25 |
+
"loss": 0.1826,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_balanced accuracy": 0.7368620541402373,
|
31 |
+
"eval_f1": 0.7319179038298047,
|
32 |
+
"eval_loss": 0.0663721114397049,
|
33 |
+
"eval_precision": 0.7513664045814622,
|
34 |
+
"eval_recall": 0.7368620541402373,
|
35 |
+
"eval_runtime": 1.1399,
|
36 |
+
"eval_samples_per_second": 1108.902,
|
37 |
+
"eval_steps_per_second": 69.306,
|
38 |
+
"step": 632
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"eval_balanced accuracy": 0.7154153135735104,
|
43 |
+
"eval_f1": 0.7058619488659976,
|
44 |
+
"eval_loss": 0.0662752017378807,
|
45 |
+
"eval_precision": 0.7270224611135597,
|
46 |
+
"eval_recall": 0.7154153135735104,
|
47 |
+
"eval_runtime": 1.1286,
|
48 |
+
"eval_samples_per_second": 1119.927,
|
49 |
+
"eval_steps_per_second": 69.995,
|
50 |
+
"step": 948
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.16,
|
54 |
+
"learning_rate": 1.4725738396624474e-05,
|
55 |
+
"loss": 0.0568,
|
56 |
+
"step": 1000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 4.0,
|
60 |
+
"eval_balanced accuracy": 0.73742506900579,
|
61 |
+
"eval_f1": 0.7367887044772851,
|
62 |
+
"eval_loss": 0.06264707446098328,
|
63 |
+
"eval_precision": 0.7489761641718176,
|
64 |
+
"eval_recall": 0.73742506900579,
|
65 |
+
"eval_runtime": 1.1361,
|
66 |
+
"eval_samples_per_second": 1112.55,
|
67 |
+
"eval_steps_per_second": 69.534,
|
68 |
+
"step": 1264
|
69 |
+
}
|
70 |
+
],
|
71 |
+
"max_steps": 3792,
|
72 |
+
"num_train_epochs": 12,
|
73 |
+
"total_flos": 100660027447476.0,
|
74 |
+
"trial_name": null,
|
75 |
+
"trial_params": null
|
76 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76b8d0f901caec1b204fedf3a32dcc6d45c2a6f05439608359b93e904dccc26c
|
3 |
+
size 3963
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|