kauffinger
commited on
Commit
•
88f201a
1
Parent(s):
76ac795
Trained for four epochs on enron
Browse files- .gitattributes +1 -0
- config.json +29 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +21 -0
- trainer_state.json +142 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
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 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
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.25.1",
|
26 |
+
"type_vocab_size": 1,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 250002
|
29 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:772f485bfa964ceaca9eee3c04b706c7b8b5d39e1fafd80158a71abaf7a6baf6
|
3 |
+
size 2224479365
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5509373af07c4424e18f6b39d6b12d7e56aaa5503a38e512c637dc4c14f6b1a
|
3 |
+
size 1112254133
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95ae9913bfca7218ab97cf3ed92e4ae1f29264d5a024c50a79c12b3e954c9d63
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b81ea28dd40bbb06af618449b6fdda1ed03b36b8df7b59f262b727d237b849af
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50da2f84fc792838940acca98873197c2795d8678983a21238a931caf0457dab
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2c509a525eb51aebb33fb59c24ee923c1d4c1db23c3ae81fe05ccf354084f7b
|
3 |
+
size 17082758
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
+
"lstrip": true,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"model_max_length": 512,
|
14 |
+
"name_or_path": "xlm-roberta-base",
|
15 |
+
"num_labels": 2,
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "</s>",
|
18 |
+
"special_tokens_map_file": null,
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.996,
|
3 |
+
"best_model_checkpoint": "xlm-roberta-base-finetuned-enron/checkpoint-7932",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 7932,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.25,
|
12 |
+
"learning_rate": 1.8999495713565305e-05,
|
13 |
+
"loss": 0.1679,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.5,
|
18 |
+
"learning_rate": 1.799293998991427e-05,
|
19 |
+
"loss": 0.0773,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.76,
|
24 |
+
"learning_rate": 1.698436712052446e-05,
|
25 |
+
"loss": 0.0504,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.0,
|
30 |
+
"eval_accuracy": 0.995,
|
31 |
+
"eval_loss": 0.022810379043221474,
|
32 |
+
"eval_runtime": 7.2177,
|
33 |
+
"eval_samples_per_second": 277.095,
|
34 |
+
"eval_steps_per_second": 17.318,
|
35 |
+
"step": 1983
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 1.01,
|
39 |
+
"learning_rate": 1.5977811396873426e-05,
|
40 |
+
"loss": 0.0436,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 1.26,
|
45 |
+
"learning_rate": 1.4969238527483611e-05,
|
46 |
+
"loss": 0.0377,
|
47 |
+
"step": 2500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 1.51,
|
51 |
+
"learning_rate": 1.39606656580938e-05,
|
52 |
+
"loss": 0.0283,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.77,
|
57 |
+
"learning_rate": 1.2952092788703986e-05,
|
58 |
+
"loss": 0.0211,
|
59 |
+
"step": 3500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 2.0,
|
63 |
+
"eval_accuracy": 0.991,
|
64 |
+
"eval_loss": 0.05412155017256737,
|
65 |
+
"eval_runtime": 8.3181,
|
66 |
+
"eval_samples_per_second": 240.441,
|
67 |
+
"eval_steps_per_second": 15.028,
|
68 |
+
"step": 3966
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 2.02,
|
72 |
+
"learning_rate": 1.194351991931417e-05,
|
73 |
+
"loss": 0.0201,
|
74 |
+
"step": 4000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 2.27,
|
78 |
+
"learning_rate": 1.0936964195663137e-05,
|
79 |
+
"loss": 0.0073,
|
80 |
+
"step": 4500
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 2.52,
|
84 |
+
"learning_rate": 9.928391326273324e-06,
|
85 |
+
"loss": 0.0094,
|
86 |
+
"step": 5000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.77,
|
90 |
+
"learning_rate": 8.919818456883512e-06,
|
91 |
+
"loss": 0.0118,
|
92 |
+
"step": 5500
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 3.0,
|
96 |
+
"eval_accuracy": 0.993,
|
97 |
+
"eval_loss": 0.0558784045279026,
|
98 |
+
"eval_runtime": 7.2776,
|
99 |
+
"eval_samples_per_second": 274.815,
|
100 |
+
"eval_steps_per_second": 17.176,
|
101 |
+
"step": 5949
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 3.03,
|
105 |
+
"learning_rate": 7.911245587493697e-06,
|
106 |
+
"loss": 0.0122,
|
107 |
+
"step": 6000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 3.28,
|
111 |
+
"learning_rate": 6.902672718103883e-06,
|
112 |
+
"loss": 0.0034,
|
113 |
+
"step": 6500
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 3.53,
|
117 |
+
"learning_rate": 5.89409984871407e-06,
|
118 |
+
"loss": 0.0091,
|
119 |
+
"step": 7000
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 3.78,
|
123 |
+
"learning_rate": 4.885526979324257e-06,
|
124 |
+
"loss": 0.0027,
|
125 |
+
"step": 7500
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 4.0,
|
129 |
+
"eval_accuracy": 0.996,
|
130 |
+
"eval_loss": 0.031464751809835434,
|
131 |
+
"eval_runtime": 7.3051,
|
132 |
+
"eval_samples_per_second": 273.782,
|
133 |
+
"eval_steps_per_second": 17.111,
|
134 |
+
"step": 7932
|
135 |
+
}
|
136 |
+
],
|
137 |
+
"max_steps": 9915,
|
138 |
+
"num_train_epochs": 5,
|
139 |
+
"total_flos": 3.326409472938432e+16,
|
140 |
+
"trial_name": null,
|
141 |
+
"trial_params": null
|
142 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81c026923163f5548ac526d3f042090ebebc98b002256cf06abd1ea0b97ccefc
|
3 |
+
size 3451
|