DanielJunior
commited on
Commit
•
ef7baa0
1
Parent(s):
dd40094
Upload 11 files
Browse files- config.json +31 -0
- eval_results.txt +2 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +15 -0
- train_results.txt +3 -0
- trainer_state.json +48 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./models/portuguese_diff_cse",
|
3 |
+
"architectures": [
|
4 |
+
"BertForCL"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"directionality": "bidi",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"output_past": true,
|
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 |
+
"transformers_version": "4.2.1",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 29794
|
31 |
+
}
|
eval_results.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
epoch = 2.0
|
2 |
+
eval_stsb_spearman = 0.9955015182117884
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc03e195d704961a6901dcf3f9f2b9fab176e1a8d03fd66bcc59033e32fa9046
|
3 |
+
size 1752475211
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:501f6fc436c01812ac214093738d0a3abf648c6c528614eb37e3ab49c0f9b3c6
|
3 |
+
size 1236084368
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e606b8aa8d5c49237bb38368639a476285e14d1fff4a86e2966fec9c0e8393c
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_lower_case": false,
|
3 |
+
"unk_token": "[UNK]",
|
4 |
+
"sep_token": "[SEP]",
|
5 |
+
"pad_token": "[PAD]",
|
6 |
+
"cls_token": "[CLS]",
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"tokenize_chinese_chars": true,
|
9 |
+
"strip_accents": null,
|
10 |
+
"special_tokens_map_file": "/home/user/.cache/huggingface/transformers/eecc45187d085a1169eed91017d358cc0e9cbdd5dc236bcd710059dbf0a2f816.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d",
|
11 |
+
"name_or_path": "neuralmind/bert-base-portuguese-cased",
|
12 |
+
"do_basic_tokenize": true,
|
13 |
+
"never_split": null,
|
14 |
+
"model_max_length": 512
|
15 |
+
}
|
train_results.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
epoch = 2.0
|
2 |
+
train_runtime = 507.537
|
3 |
+
train_samples_per_second = 0.859
|
trainer_state.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9955015182117884,
|
3 |
+
"best_model_checkpoint": "./models/portuguese_diff_cse",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 436,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"electra_acc": 0.1145,
|
12 |
+
"electra_fix_acc": 0.8984,
|
13 |
+
"electra_rep_acc": 0.0633,
|
14 |
+
"epoch": 0.0,
|
15 |
+
"learning_rate": 6.98394495412844e-06,
|
16 |
+
"loss": 0.3321,
|
17 |
+
"neg_sim": -0.0092,
|
18 |
+
"pos_sim": 0.548,
|
19 |
+
"step": 1
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 0.57,
|
23 |
+
"eval_stsb_spearman": 0.9955015182117884,
|
24 |
+
"step": 125
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 1.15,
|
28 |
+
"eval_stsb_spearman": 0.9947652924624643,
|
29 |
+
"step": 250
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 1.72,
|
33 |
+
"eval_stsb_spearman": 0.9947550447251673,
|
34 |
+
"step": 375
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.0,
|
38 |
+
"step": 436,
|
39 |
+
"train_runtime": 507.537,
|
40 |
+
"train_samples_per_second": 0.859
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"max_steps": 436,
|
44 |
+
"num_train_epochs": 2,
|
45 |
+
"total_flos": 6073324447075440,
|
46 |
+
"trial_name": null,
|
47 |
+
"trial_params": null
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1816d65ce9a3b787746a59bf2dd9636afab4c6a81d1cd507141fba56da3070d9
|
3 |
+
size 2031
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|