HHansi commited on
Commit
7df8f05
·
verified ·
1 Parent(s): 03b9497

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<e>": 28996, "</e>": 28997}
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-large-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "pad_token_id": 0,
21
+ "pooler_fc_size": 768,
22
+ "pooler_num_attention_heads": 12,
23
+ "pooler_num_fc_layers": 3,
24
+ "pooler_size_per_head": 128,
25
+ "pooler_type": "first_token_transform",
26
+ "position_embedding_type": "absolute",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.16.2",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 28998
32
+ }
eval_results.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accuracy = 0.8166666666666667
2
+ cls_report = precision recall f1-score support
3
+
4
+ 0.0 0.8359 0.8056 0.8205 468
5
+ 1.0 0.7973 0.8287 0.8127 432
6
+
7
+ accuracy 0.8167 900
8
+ macro avg 0.8166 0.8171 0.8166 900
9
+ weighted avg 0.8174 0.8167 0.8167 900
10
+
11
+ eval_loss = 0.3937067449092865
12
+ fn = 74
13
+ fp = 91
14
+ macro_f1 = 0.8165849224160397
15
+ mcc = 0.6337532135510374
16
+ tn = 377
17
+ tp = 358
18
+ weighted_f1 = 0.816739806259333
19
+ weighted_p = 0.8166237857964731
20
+ weighted_r = 0.8171296296296297
model_args.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"adam_epsilon": 1e-08, "begin_tag": "<e>", "best_model_dir": "temp/outputs/best_model", "cache_dir": "temp/cache_dir/", "config": {}, "custom_layer_parameters": [], "custom_parameter_groups": [], "dataloader_num_workers": 70, "do_lower_case": false, "dynamic_quantize": false, "early_stopping_consider_epochs": false, "early_stopping_delta": 0, "early_stopping_metric": "eval_loss", "early_stopping_metric_minimize": true, "early_stopping_patience": 10, "encoding": null, "end_tag": "</e>", "eval_batch_size": 64, "evaluate_during_training": true, "evaluate_during_training_silent": false, "evaluate_during_training_steps": 100, "evaluate_during_training_verbose": true, "evaluate_each_epoch": true, "fp16": false, "gradient_accumulation_steps": 1, "learning_rate": 1e-05, "local_rank": -1, "logging_steps": 100, "manual_seed": 777, "max_grad_norm": 1.0, "max_seq_length": 120, "model_name": "bert-large-cased", "model_type": "bert", "multiprocessing_chunksize": 500, "n_gpu": 1, "no_cache": false, "no_save": false, "num_train_epochs": 3, "output_dir": "temp/outputs/", "overwrite_output_dir": true, "process_count": 70, "quantized_model": false, "reprocess_input_data": true, "save_best_model": true, "save_eval_checkpoints": false, "save_model_every_epoch": false, "save_optimizer_and_scheduler": true, "save_steps": 100, "save_recent_only": true, "silent": false, "tensorboard_dir": null, "thread_count": null, "train_batch_size": 8, "train_custom_parameters_only": false, "use_cached_eval_features": false, "use_early_stopping": true, "use_multiprocessing": true, "wandb_kwargs": {"group": "en-en_bert-large-cased_ET_concat", "job_type": "2"}, "wandb_project": "TransWiC-groups", "warmup_ratio": 0.1, "warmup_steps": 304, "weight_decay": 0, "skip_special_tokens": true, "model_class": "ClassificationModel", "labels_list": [0, 1], "labels_map": {}, "lazy_delimiter": "\t", "lazy_labels_column": 1, "lazy_loading": false, "lazy_loading_start_line": 1, "lazy_text_a_column": null, "lazy_text_b_column": null, "lazy_text_column": 0, "onnx": false, "regression": false, "sliding_window": false, "stride": 0.8, "tie_value": 1, "tagging": true, "strategy": "ET", "special_tags": ["</e>"], "merge_n": 2, "merge_type": "concat"}
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a09b9a8930584ab49297ea6372707323e1bfd9ed534c672c8825a9ac6959aff9
3
+ size 2660516165
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681108625ac7ad064a35cc4b0f6ae03e86e5795be38f8749788e929351e69096
3
+ size 1334506229
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1da73c70cac73c61c8c15484142824a0f19fa1e2017a31188fd7ff0a104da5
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
test_eval.txt ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Default classification report:
2
+ precision recall f1-score support
3
+
4
+ F 0.8849 0.8920 0.8884 500
5
+ T 0.8911 0.8840 0.8876 500
6
+
7
+ accuracy 0.8880 1000
8
+ macro avg 0.8880 0.8880 0.8880 1000
9
+ weighted avg 0.8880 0.8880 0.8880 1000
10
+
11
+
12
+ ADJ
13
+ Accuracy = 0.8958333333333334
14
+ Weighted Recall = 0.8958333333333334
15
+ Weighted Precision = 0.8962836741317753
16
+ Weighted F1 = 0.8956665858193872
17
+ Macro Recall = 0.8943498452012384
18
+ Macro Precision = 0.8968841285296981
19
+ Macro F1 = 0.8952219257821974
20
+ ADV
21
+ Accuracy = 0.8333333333333334
22
+ Weighted Recall = 0.8333333333333334
23
+ Weighted Precision = 0.8325358851674641
24
+ Weighted F1 = 0.8319623971797885
25
+ Macro Recall = 0.8194444444444444
26
+ Macro Precision = 0.8301435406698565
27
+ Macro F1 = 0.8237367802585194
28
+ NOUN
29
+ Accuracy = 0.884469696969697
30
+ Weighted Recall = 0.884469696969697
31
+ Weighted Precision = 0.8844735559405106
32
+ Weighted F1 = 0.8844684537057419
33
+ Macro Recall = 0.8844608651983643
34
+ Macro Precision = 0.8844774149113241
35
+ Macro F1 = 0.8844659671778317
36
+ VERB
37
+ Accuracy = 0.8959731543624161
38
+ Weighted Recall = 0.8959731543624161
39
+ Weighted Precision = 0.8964195526695528
40
+ Weighted F1 = 0.8959438605976638
41
+ Macro Recall = 0.8959731543624161
42
+ Macro Precision = 0.8964195526695526
43
+ Macro F1 = 0.895943860597664
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": "/home/hh2/.cache/huggingface/transformers/75be22d7750034989358861e325977feda47740e1c3f8a4dc1cb73570aad843e.2b9a196704f2f183fe3f4b48d6e662dba8203fdcb3346bfa896831378edf6f97", "name_or_path": "bert-large-cased", "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d42cb174732c195f77260b13667ac9154d0c06cd7541d4bae16a603b003db32
3
+ size 2811
vocab.txt ADDED
The diff for this file is too large to render. See raw diff