HHansi commited on
Commit
08cd37f
1 Parent(s): 7186bdf

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<e>": 250002, "</e>": 250003}
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": 250004
28
+ }
eval_results.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accuracy = 0.62
2
+ cls_report = precision recall f1-score support
3
+
4
+ 0.0 0.6486 0.4898 0.5581 49
5
+ 1.0 0.6032 0.7451 0.6667 51
6
+
7
+ accuracy 0.6200 100
8
+ macro avg 0.6259 0.6174 0.6124 100
9
+ weighted avg 0.6255 0.6200 0.6135 100
10
+
11
+ eval_loss = 0.6601252830945529
12
+ fn = 13
13
+ fp = 25
14
+ macro_f1 = 0.6124031007751938
15
+ mcc = 0.24321134889678236
16
+ tn = 24
17
+ tp = 38
18
+ weighted_f1 = 0.6134883720930232
19
+ weighted_p = 0.625911625911626
20
+ weighted_r = 0.6174469787915167
model_args.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"adam_epsilon": 1e-08, "begin_tag": "<e>", "best_model_dir": "best_model/fr_fr", "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": "fr_fr_xlm-roberta-large_P_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": true, "strategy": "P", "special_tags": ["<e>", "</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:c61c2aa96ed3ab96bdaac41b092f8de3357ed4a8ff8b76b0fd96dc3ccfe6b8c1
3
+ size 4504577789
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:557faa395738e4981ab62e074154565d553ee73a8253df9cff4eb9e0a2f1862c
3
+ size 2256539517
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e4345f01bbe04cdb9deed558ff659f1ce5725d35521228fb87cfb3d3b9001f
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.6404 0.4560 0.5327 500
5
+ T 0.5776 0.7440 0.6503 500
6
+
7
+ accuracy 0.6000 1000
8
+ macro avg 0.6090 0.6000 0.5915 1000
9
+ weighted avg 0.6090 0.6000 0.5915 1000
10
+
11
+
12
+ ADJ
13
+ Accuracy = 0.6086956521739131
14
+ Weighted Recall = 0.6086956521739131
15
+ Weighted Precision = 0.6051594431041072
16
+ Weighted F1 = 0.5995203064887401
17
+ Macro Recall = 0.5941786949779315
18
+ Macro Precision = 0.6035681490226945
19
+ Macro F1 = 0.5912624953720844
20
+ ADV
21
+ Accuracy = 0.7666666666666667
22
+ Weighted Recall = 0.7666666666666667
23
+ Weighted Precision = 0.7634615384615384
24
+ Weighted F1 = 0.7342062193126022
25
+ Macro Recall = 0.6428571428571428
26
+ Macro Precision = 0.7596153846153846
27
+ Macro F1 = 0.6563011456628478
28
+ NOUN
29
+ Accuracy = 0.5953307392996109
30
+ Weighted Recall = 0.5953307392996109
31
+ Weighted Precision = 0.6146210814550412
32
+ Weighted F1 = 0.5735579532509423
33
+ Macro Recall = 0.5918404434146562
34
+ Macro Precision = 0.6153100222463066
35
+ Macro F1 = 0.5720027542474659
36
+ VERB
37
+ Accuracy = 0.5845588235294118
38
+ Weighted Recall = 0.5845588235294118
39
+ Weighted Precision = 0.5877953677111647
40
+ Weighted F1 = 0.5857933761401524
41
+ Macro Recall = 0.5799558864074994
42
+ Macro Precision = 0.5790104620749782
43
+ Macro F1 = 0.5790915191104172
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:44be60ebc54ce4e8ed91f58609ea46b674a65dcad7aa8c26a5cfcc16a6c74f76
3
+ size 2811