HHansi commited on
Commit
078d98a
1 Parent(s): 854fb53

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-large",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
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-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.16.2",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 250002
28
+ }
eval_results.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accuracy = 0.75
2
+ cls_report = precision recall f1-score support
3
+
4
+ 0.0 0.8293 0.6538 0.7312 52
5
+ 1.0 0.6949 0.8542 0.7664 48
6
+
7
+ accuracy 0.7500 100
8
+ macro avg 0.7621 0.7540 0.7488 100
9
+ weighted avg 0.7648 0.7500 0.7481 100
10
+
11
+ eval_loss = 0.5292884764763025
12
+ fn = 7
13
+ fp = 18
14
+ macro_f1 = 0.7487689679429204
15
+ mcc = 0.5160348458557357
16
+ tn = 34
17
+ tp = 41
18
+ weighted_f1 = 0.7480655210531606
19
+ weighted_p = 0.7620917734601075
20
+ weighted_r = 0.7540064102564102
model_args.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"adam_epsilon": 1e-08, "begin_tag": "<e>", "best_model_dir": "best_model/ru_ru", "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": 8, "evaluate_during_training": true, "evaluate_during_training_silent": false, "evaluate_during_training_steps": 20, "evaluate_during_training_verbose": true, "evaluate_each_epoch": true, "fp16": false, "gradient_accumulation_steps": 1, "learning_rate": 1e-05, "local_rank": -1, "logging_steps": 20, "manual_seed": 777, "max_grad_norm": 1.0, "max_seq_length": 120, "model_name": "xlm-roberta-large", "model_type": "xlmroberta", "multiprocessing_chunksize": 500, "n_gpu": 1, "no_cache": false, "no_save": false, "num_train_epochs": 5, "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": 20, "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": false, "wandb_kwargs": {"group": "ru_ru_xlm-roberta-large_CLS_concat", "job_type": "2"}, "wandb_project": "TransWiC-groups", "warmup_ratio": 0.1, "warmup_steps": 57, "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": false, "strategy": "CLS", "special_tags": null, "merge_n": 1, "merge_type": "concat"}
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926fc26d95f52585b17b98c1c87aa877747199db8902baabc4d035125104f5da
3
+ size 4487769257
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c173f1e9eb032e23518664f01a14d08d8ef9eb47ec529d9bbd1086849daefa91
3
+ size 2243936061
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5046591cc0b384a915f6d9c592150d9216d0d8436ea1c38ddcb159383d63b32d
3
+ size 627
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
test_eval.txt ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Default classification report:
2
+ precision recall f1-score support
3
+
4
+ F 0.6000 0.6120 0.6059 500
5
+ T 0.6041 0.5920 0.5980 500
6
+
7
+ accuracy 0.6020 1000
8
+ macro avg 0.6020 0.6020 0.6020 1000
9
+ weighted avg 0.6020 0.6020 0.6020 1000
10
+
11
+
12
+ ADJ
13
+ Accuracy = 0.7333333333333333
14
+ Weighted Recall = 0.7333333333333333
15
+ Weighted Precision = 0.7333333333333333
16
+ Weighted F1 = 0.7333333333333333
17
+ Macro Recall = 0.7129186602870814
18
+ Macro Precision = 0.7129186602870814
19
+ Macro F1 = 0.7129186602870814
20
+ ADV
21
+ Accuracy = 0.4375
22
+ Weighted Recall = 0.4375
23
+ Weighted Precision = 0.4821428571428571
24
+ Weighted F1 = 0.44411764705882356
25
+ Macro Recall = 0.45
26
+ Macro Precision = 0.45238095238095233
27
+ Macro F1 = 0.43529411764705883
28
+ NOUN
29
+ Accuracy = 0.5807560137457045
30
+ Weighted Recall = 0.5807560137457045
31
+ Weighted Precision = 0.5809495603310036
32
+ Weighted F1 = 0.5808253659506336
33
+ Macro Recall = 0.5805673758865249
34
+ Macro Precision = 0.5805140805140805
35
+ Macro F1 = 0.5805132810284527
36
+ VERB
37
+ Accuracy = 0.6317204301075269
38
+ Weighted Recall = 0.6317204301075269
39
+ Weighted Precision = 0.6325339189830471
40
+ Weighted F1 = 0.6315740328630824
41
+ Macro Recall = 0.6321016566918206
42
+ Macro Precision = 0.6323120583806325
43
+ Macro F1 = 0.6316538859055068
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "do_lower_case": false, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": "/home/hh2/.cache/huggingface/transformers/7766c86e10505ed9b39af34e456480399bf06e35b36b8f2b917460a2dbe94e59.a984cf52fc87644bd4a2165f1e07e0ac880272c1e82d648b4674907056912bd7", "name_or_path": "xlm-roberta-large", "tokenizer_class": "XLMRobertaTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:457c0c185e54362cf9bbc420222f8da556767b914717bd5d5a9f1759ce246bf8
3
+ size 2811