dougtrajano commited on
Commit
34e989e
1 Parent(s): 2f3ab56

Model save

Browse files
last-checkpoint/config.json DELETED
@@ -1,43 +0,0 @@
1
- {
2
- "_name_or_path": "neuralmind/bert-large-portuguese-cased",
3
- "architectures": [
4
- "ToxicityTypeForSequenceClassification"
5
- ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "directionality": "bidi",
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 1024,
12
- "id2label": {
13
- "0": "INDIVIDUAL",
14
- "1": "GROUP",
15
- "2": "OTHER"
16
- },
17
- "initializer_range": 0.02,
18
- "intermediate_size": 4096,
19
- "label2id": {
20
- "GROUP": 1,
21
- "INDIVIDUAL": 0,
22
- "OTHER": 2
23
- },
24
- "layer_norm_eps": 1e-12,
25
- "max_position_embeddings": 512,
26
- "model_type": "bert",
27
- "num_attention_heads": 16,
28
- "num_hidden_layers": 24,
29
- "output_past": true,
30
- "pad_token_id": 0,
31
- "pooler_fc_size": 768,
32
- "pooler_num_attention_heads": 12,
33
- "pooler_num_fc_layers": 3,
34
- "pooler_size_per_head": 128,
35
- "pooler_type": "first_token_transform",
36
- "position_embedding_type": "absolute",
37
- "problem_type": "single_label_classification",
38
- "torch_dtype": "float32",
39
- "transformers_version": "4.26.1",
40
- "type_vocab_size": 2,
41
- "use_cache": true,
42
- "vocab_size": 29794
43
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4468673744bceca94436b1b737ca547696e8bb37b757a5ecfa504c6996936a9d
3
- size 3468339
 
 
 
 
last-checkpoint/pytorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:33616d69562b4704c4c978a9bd8f4b84df973a32d5b273dc87a97cc8272cae5e
3
- size 1337733933
 
 
 
 
last-checkpoint/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a8640d95accf7f62986182888680ab0d89f419f6d439632ad5915c94c02d4ca
3
- size 14503
 
 
 
 
last-checkpoint/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d70d9f841c5d130f597e74d073ac68b6b30d0cb12a026c5366cb226db3f56738
3
- size 623
 
 
 
 
last-checkpoint/special_tokens_map.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
7
- }
 
 
 
 
 
 
 
 
last-checkpoint/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer_config.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "cls_token": "[CLS]",
3
- "do_basic_tokenize": true,
4
- "do_lower_case": false,
5
- "mask_token": "[MASK]",
6
- "model_max_length": 1000000000000000019884624838656,
7
- "name_or_path": "neuralmind/bert-large-portuguese-cased",
8
- "never_split": null,
9
- "pad_token": "[PAD]",
10
- "sep_token": "[SEP]",
11
- "special_tokens_map_file": "/root/.cache/huggingface/hub/models--neuralmind--bert-large-portuguese-cased/snapshots/aa302f6ea73b759f7df9cad58bd272127b67ec28/special_tokens_map.json",
12
- "strip_accents": null,
13
- "tokenize_chinese_chars": true,
14
- "tokenizer_class": "BertTokenizer",
15
- "unk_token": "[UNK]"
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/trainer_state.json DELETED
@@ -1,94 +0,0 @@
1
- {
2
- "best_metric": 0.7986186145166447,
3
- "best_model_checkpoint": "/opt/ml/checkpoints/toxicity-target-type-identification-2023-02-26-12-48-26-617/model/checkpoint-1065",
4
- "epoch": 5.0,
5
- "global_step": 1775,
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
- "eval_accuracy": 0.6902748414376322,
13
- "eval_f1": 0.7052333645117603,
14
- "eval_loss": 0.7145297527313232,
15
- "eval_precision": 0.7527983972979847,
16
- "eval_recall": 0.6902748414376322,
17
- "eval_runtime": 19.9276,
18
- "eval_samples_per_second": 47.472,
19
- "eval_steps_per_second": 5.972,
20
- "step": 355
21
- },
22
- {
23
- "epoch": 1.41,
24
- "learning_rate": 3.766830354166815e-05,
25
- "loss": 0.8011,
26
- "step": 500
27
- },
28
- {
29
- "epoch": 2.0,
30
- "eval_accuracy": 0.7928118393234672,
31
- "eval_f1": 0.7840254300809458,
32
- "eval_loss": 0.9930071234703064,
33
- "eval_precision": 0.783507252961592,
34
- "eval_recall": 0.7928118393234672,
35
- "eval_runtime": 20.1728,
36
- "eval_samples_per_second": 46.895,
37
- "eval_steps_per_second": 5.899,
38
- "step": 710
39
- },
40
- {
41
- "epoch": 2.82,
42
- "learning_rate": 3.581272208641356e-05,
43
- "loss": 0.529,
44
- "step": 1000
45
- },
46
- {
47
- "epoch": 3.0,
48
- "eval_accuracy": 0.8002114164904862,
49
- "eval_f1": 0.7986186145166447,
50
- "eval_loss": 1.4281493425369263,
51
- "eval_precision": 0.7989985820486601,
52
- "eval_recall": 0.8002114164904862,
53
- "eval_runtime": 17.0638,
54
- "eval_samples_per_second": 55.439,
55
- "eval_steps_per_second": 6.974,
56
- "step": 1065
57
- },
58
- {
59
- "epoch": 4.0,
60
- "eval_accuracy": 0.7727272727272727,
61
- "eval_f1": 0.7753471858137818,
62
- "eval_loss": 1.678259015083313,
63
- "eval_precision": 0.778801583678501,
64
- "eval_recall": 0.7727272727272727,
65
- "eval_runtime": 17.2821,
66
- "eval_samples_per_second": 54.739,
67
- "eval_steps_per_second": 6.886,
68
- "step": 1420
69
- },
70
- {
71
- "epoch": 4.23,
72
- "learning_rate": 3.3957140631158974e-05,
73
- "loss": 0.2706,
74
- "step": 1500
75
- },
76
- {
77
- "epoch": 5.0,
78
- "eval_accuracy": 0.7727272727272727,
79
- "eval_f1": 0.7682734112208002,
80
- "eval_loss": 2.390378475189209,
81
- "eval_precision": 0.7659798393766588,
82
- "eval_recall": 0.7727272727272727,
83
- "eval_runtime": 19.0454,
84
- "eval_samples_per_second": 49.671,
85
- "eval_steps_per_second": 6.248,
86
- "step": 1775
87
- }
88
- ],
89
- "max_steps": 10650,
90
- "num_train_epochs": 30,
91
- "total_flos": 2462684273097684.0,
92
- "trial_name": null,
93
- "trial_params": null
94
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:80715c069b8d9da3c0faa5ea124e133952b534e9fb42fb0b2f263286fbeb0100
3
- size 3695
 
 
 
 
last-checkpoint/vocab.txt DELETED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:33616d69562b4704c4c978a9bd8f4b84df973a32d5b273dc87a97cc8272cae5e
3
  size 1337733933
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d6d270e0be9438d10946bd174ffb0092a7e98228bee8a10caef76a29751629
3
  size 1337733933