dougtrajano commited on
Commit
47f9fdc
1 Parent(s): 46814f8

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "neuralmind/bert-base-portuguese-cased",
3
  "architectures": [
4
  "ToxicityTypeForSequenceClassification"
5
  ],
@@ -8,13 +8,13 @@
8
  "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "id2label": {
13
  "0": "NOT-OFFENSIVE",
14
  "1": "OFFENSIVE"
15
  },
16
  "initializer_range": 0.02,
17
- "intermediate_size": 3072,
18
  "label2id": {
19
  "NOT-OFFENSIVE": 0,
20
  "OFFENSIVE": 1
@@ -22,8 +22,8 @@
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
25
- "num_attention_heads": 12,
26
- "num_hidden_layers": 12,
27
  "output_past": true,
28
  "pad_token_id": 0,
29
  "pooler_fc_size": 768,
@@ -33,7 +33,7 @@
33
  "pooler_type": "first_token_transform",
34
  "position_embedding_type": "absolute",
35
  "torch_dtype": "float32",
36
- "transformers_version": "4.26.0",
37
  "type_vocab_size": 2,
38
  "use_cache": true,
39
  "vocab_size": 29794
 
1
  {
2
+ "_name_or_path": "neuralmind/bert-large-portuguese-cased",
3
  "architectures": [
4
  "ToxicityTypeForSequenceClassification"
5
  ],
 
8
  "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
  "id2label": {
13
  "0": "NOT-OFFENSIVE",
14
  "1": "OFFENSIVE"
15
  },
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
  "label2id": {
19
  "NOT-OFFENSIVE": 0,
20
  "OFFENSIVE": 1
 
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
25
+ "num_attention_heads": 16,
26
+ "num_hidden_layers": 24,
27
  "output_past": true,
28
  "pad_token_id": 0,
29
  "pooler_fc_size": 768,
 
33
  "pooler_type": "first_token_transform",
34
  "position_embedding_type": "absolute",
35
  "torch_dtype": "float32",
36
+ "transformers_version": "4.26.1",
37
  "type_vocab_size": 2,
38
  "use_cache": true,
39
  "vocab_size": 29794
last-checkpoint/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "NOT-OFFENSIVE",
14
+ "1": "OFFENSIVE"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
+ "label2id": {
19
+ "NOT-OFFENSIVE": 0,
20
+ "OFFENSIVE": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 16,
26
+ "num_hidden_layers": 24,
27
+ "output_past": true,
28
+ "pad_token_id": 0,
29
+ "pooler_fc_size": 768,
30
+ "pooler_num_attention_heads": 12,
31
+ "pooler_num_fc_layers": 3,
32
+ "pooler_size_per_head": 128,
33
+ "pooler_type": "first_token_transform",
34
+ "position_embedding_type": "absolute",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.26.1",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 29794
40
+ }
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3097373a4812b7efa975fcfffebce910c9be972d188b249ec4aa25c5350ad93
3
+ size 2675416477
last-checkpoint/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45592d7a0658665761f426eada85c30d56ec10d413005c3cec81e85c00eb944b
3
+ size 1337729837
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04d6a2651fa34d58dd0137d1ce4c278eb691e0dc0cd07c612660e6723cd2b957
3
+ size 14503
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74bb6545357b275e06db2c532a9dc172de544674f98c91ceb7511b4dba5bd269
3
+ size 623
last-checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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 ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8549217425622928,
3
+ "best_model_checkpoint": "/opt/ml/checkpoints/toxic-comment-classification-2023-02-26-22-07-06-968/model/checkpoint-1408",
4
+ "epoch": 1.0,
5
+ "global_step": 1408,
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.36,
12
+ "learning_rate": 3.217249581414747e-05,
13
+ "loss": 0.4937,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.71,
18
+ "learning_rate": 3.1787104153700095e-05,
19
+ "loss": 0.4465,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 1.0,
24
+ "eval_accuracy": 0.8546529723000311,
25
+ "eval_f1": 0.8549217425622928,
26
+ "eval_loss": 0.41022783517837524,
27
+ "eval_precision": 0.8668618958335471,
28
+ "eval_recall": 0.8546529723000311,
29
+ "eval_runtime": 11.9429,
30
+ "eval_samples_per_second": 269.03,
31
+ "eval_steps_per_second": 33.66,
32
+ "step": 1408
33
+ }
34
+ ],
35
+ "max_steps": 42240,
36
+ "num_train_epochs": 30,
37
+ "total_flos": 1552390150961832.0,
38
+ "trial_name": null,
39
+ "trial_params": null
40
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3b71907c1e39b22ef1ab915290602a79a529af398581187aa888ba7af47b38
3
+ size 3695
last-checkpoint/vocab.txt ADDED
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:5cc09466df4f7451ec73c9e2f59c8ca058f7d217f855947f6d8de3558d655167
3
- size 435769709
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45592d7a0658665761f426eada85c30d56ec10d413005c3cec81e85c00eb944b
3
+ size 1337729837
tokenizer_config.json CHANGED
@@ -4,11 +4,11 @@
4
  "do_lower_case": false,
5
  "mask_token": "[MASK]",
6
  "model_max_length": 1000000000000000019884624838656,
7
- "name_or_path": "neuralmind/bert-base-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-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/special_tokens_map.json",
12
  "strip_accents": null,
13
  "tokenize_chinese_chars": true,
14
  "tokenizer_class": "BertTokenizer",
 
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",
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abf0c3eac401447904c24fc61203586d910edc19df73448d1cbb9cc7add0f27e
3
- size 3567
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3b71907c1e39b22ef1ab915290602a79a529af398581187aa888ba7af47b38
3
+ size 3695