EhsanAghazadeh commited on
Commit
5b352b6
1 Parent(s): e868b1c

Add model and its dependencies

Browse files
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.8120772838592529,
4
+ "eval_loss": 0.4710211753845215,
5
+ "eval_runtime": 9.3483,
6
+ "eval_samples": 2070,
7
+ "eval_samples_per_second": 221.43,
8
+ "eval_steps_per_second": 27.705,
9
+ "train_loss": 0.4380302508397086,
10
+ "train_runtime": 1381.1035,
11
+ "train_samples": 18496,
12
+ "train_samples_per_second": 66.961,
13
+ "train_steps_per_second": 2.093
14
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.9.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.8120772838592529,
4
+ "eval_loss": 0.4710211753845215,
5
+ "eval_runtime": 9.3483,
6
+ "eval_samples": 2070,
7
+ "eval_samples_per_second": 221.43,
8
+ "eval_steps_per_second": 27.705
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cfc18f3c2dbdf401d43067db4cd5d13f0c1e224239638544a1bebce8fb4c952
3
+ size 1112266157
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": false}}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base", "tokenizer_class": "XLMRobertaTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.4380302508397086,
4
+ "train_runtime": 1381.1035,
5
+ "train_samples": 18496,
6
+ "train_samples_per_second": 66.961,
7
+ "train_steps_per_second": 2.093
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8120772838592529,
3
+ "best_model_checkpoint": "./xlm-roberta-base/fine_tuned_models_fa/checkpoint-2312",
4
+ "epoch": 5.0,
5
+ "global_step": 2890,
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
+ "learning_rate": 1.8585209003215436e-05,
13
+ "loss": 0.6364,
14
+ "step": 578
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_accuracy": 0.7149758338928223,
19
+ "eval_loss": 0.5824872255325317,
20
+ "eval_runtime": 9.3258,
21
+ "eval_samples_per_second": 221.964,
22
+ "eval_steps_per_second": 27.772,
23
+ "step": 578
24
+ },
25
+ {
26
+ "epoch": 2.0,
27
+ "learning_rate": 1.529100529100529e-05,
28
+ "loss": 0.5021,
29
+ "step": 1156
30
+ },
31
+ {
32
+ "epoch": 2.0,
33
+ "eval_accuracy": 0.7772946953773499,
34
+ "eval_loss": 0.481751948595047,
35
+ "eval_runtime": 9.33,
36
+ "eval_samples_per_second": 221.864,
37
+ "eval_steps_per_second": 27.76,
38
+ "step": 1156
39
+ },
40
+ {
41
+ "epoch": 3.0,
42
+ "learning_rate": 1.0194003527336862e-05,
43
+ "loss": 0.411,
44
+ "step": 1734
45
+ },
46
+ {
47
+ "epoch": 3.0,
48
+ "eval_accuracy": 0.8106279969215393,
49
+ "eval_loss": 0.45674559473991394,
50
+ "eval_runtime": 9.3205,
51
+ "eval_samples_per_second": 222.092,
52
+ "eval_steps_per_second": 27.788,
53
+ "step": 1734
54
+ },
55
+ {
56
+ "epoch": 4.0,
57
+ "learning_rate": 5.097001763668431e-06,
58
+ "loss": 0.3452,
59
+ "step": 2312
60
+ },
61
+ {
62
+ "epoch": 4.0,
63
+ "eval_accuracy": 0.8120772838592529,
64
+ "eval_loss": 0.4710211753845215,
65
+ "eval_runtime": 9.3338,
66
+ "eval_samples_per_second": 221.775,
67
+ "eval_steps_per_second": 27.749,
68
+ "step": 2312
69
+ },
70
+ {
71
+ "epoch": 5.0,
72
+ "learning_rate": 0.0,
73
+ "loss": 0.2955,
74
+ "step": 2890
75
+ },
76
+ {
77
+ "epoch": 5.0,
78
+ "eval_accuracy": 0.8101449012756348,
79
+ "eval_loss": 0.4912046492099762,
80
+ "eval_runtime": 9.331,
81
+ "eval_samples_per_second": 221.842,
82
+ "eval_steps_per_second": 27.757,
83
+ "step": 2890
84
+ },
85
+ {
86
+ "epoch": 5.0,
87
+ "step": 2890,
88
+ "total_flos": 6083127599923200.0,
89
+ "train_loss": 0.4380302508397086,
90
+ "train_runtime": 1381.1035,
91
+ "train_samples_per_second": 66.961,
92
+ "train_steps_per_second": 2.093
93
+ }
94
+ ],
95
+ "max_steps": 2890,
96
+ "num_train_epochs": 5,
97
+ "total_flos": 6083127599923200.0,
98
+ "trial_name": null,
99
+ "trial_params": null
100
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d44113396440b824d0b5a4ea5200b0fc83920e971a2d04314f402202765b3dc1
3
+ size 2735