HHansi commited on
Commit
e469c15
·
verified ·
1 Parent(s): 730d83c

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.8377777777777777
2
+ cls_report = precision recall f1-score support
3
+
4
+ 0.0 0.8500 0.8355 0.8427 468
5
+ 1.0 0.8250 0.8403 0.8326 432
6
+
7
+ accuracy 0.8378 900
8
+ macro avg 0.8375 0.8379 0.8376 900
9
+ weighted avg 0.8380 0.8378 0.8378 900
10
+
11
+ eval_loss = 0.4502580145994822
12
+ fn = 69
13
+ fp = 77
14
+ macro_f1 = 0.8376206105662765
15
+ mcc = 0.6753738281072992
16
+ tn = 391
17
+ tp = 363
18
+ weighted_f1 = 0.8378226826953495
19
+ weighted_p = 0.8374999999999999
20
+ weighted_r = 0.8378739316239316
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_CLS-BT_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": "CLS-BT", "special_tags": ["[CLS]", "<e>"], "merge_n": 3, "merge_type": "concat"}
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:621259fd97774fa0b79fdc47980eb1500c263eb96295b476ded07d629cd998f8
3
+ size 2660532549
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:006d94ff85766cdc3107a575efe91da8a161a1ba72ede5821896e58c634280ba
3
+ size 1334514421
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a93a77a513e2e8c74a0f7643b089a6503701a057afe58a9c7890e0113b7dc464
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.8463 0.8920 0.8685 500
5
+ T 0.8858 0.8380 0.8613 500
6
+
7
+ accuracy 0.8650 1000
8
+ macro avg 0.8661 0.8650 0.8649 1000
9
+ weighted avg 0.8661 0.8650 0.8649 1000
10
+
11
+
12
+ ADJ
13
+ Accuracy = 0.8263888888888888
14
+ Weighted Recall = 0.8263888888888888
15
+ Weighted Precision = 0.8304186795491143
16
+ Weighted F1 = 0.826447498861292
17
+ Macro Recall = 0.8285603715170279
18
+ Macro Precision = 0.8281159420289854
19
+ Macro F1 = 0.8263805160356884
20
+ ADV
21
+ Accuracy = 0.7666666666666667
22
+ Weighted Recall = 0.7666666666666667
23
+ Weighted Precision = 0.7645933014354066
24
+ Weighted F1 = 0.7647473560517039
25
+ Macro Recall = 0.75
26
+ Macro Precision = 0.7583732057416268
27
+ Macro F1 = 0.7532314923619272
28
+ NOUN
29
+ Accuracy = 0.8636363636363636
30
+ Weighted Recall = 0.8636363636363636
31
+ Weighted Precision = 0.8646348181909783
32
+ Weighted F1 = 0.8635266961898396
33
+ Macro Recall = 0.8635339694382668
34
+ Macro Precision = 0.8647061363734507
35
+ Macro F1 = 0.8635110294117647
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:74b00bd5f1e20b2d928a5d360c6137943f8112062facf8656704558a1b87d728
3
+ size 2875
vocab.txt ADDED
The diff for this file is too large to render. See raw diff