Huertas97 commited on
Commit
744b65b
1 Parent(s): 81771e4

First version of the bertweet-base-multi-mami model and tokenizer

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<mask>": 64000}
bpe.codes ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/bertweet-base",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "misogynous": 0,
25
+ "objectification": 3,
26
+ "shaming": 1,
27
+ "stereotype": 2,
28
+ "violence": 4
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 130,
32
+ "model_type": "roberta",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "multi_label_classification",
38
+ "tokenizer_class": "BertweetTokenizer",
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.12.5",
41
+ "type_vocab_size": 1,
42
+ "use_cache": true,
43
+ "vocab_size": 64001
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7223766efff8fe830336541ae02e96beba37d594716fbcde42efaf7558ea4b6b
3
+ size 539697581
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b19671e619c18d584d730f375e39269329073b67ca11c0f8071069413f5dabd
3
+ size 14503
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": "<mask>"}
test_results.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"test_loss": 1.3586835861206055, "test_accuracy": 0.4555, "test_f1_macro_avg": 0.5502965174823465, "test_f1_macro_weighted": 0.6266297015316841, "test_f1_samples": 0.3475138888888889, "test_runtime": 6.3833, "test_samples_per_second": 313.319, "test_steps_per_second": 39.165}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"normalization": false, "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 128, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "vinai/bertweet-base", "tokenizer_class": "BertweetTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
+ "global_step": 800,
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": 2e-05,
13
+ "loss": 0.0058,
14
+ "step": 400
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_accuracy": 0.515,
19
+ "eval_f1_macro_avg": 0.5601429722987724,
20
+ "eval_f1_macro_weighted": 0.6377567484003918,
21
+ "eval_f1_samples": 0.32541716269841264,
22
+ "eval_loss": 1.1126549243927002,
23
+ "eval_runtime": 4.9376,
24
+ "eval_samples_per_second": 324.041,
25
+ "eval_steps_per_second": 20.253,
26
+ "step": 400
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "learning_rate": 2e-05,
31
+ "loss": 0.011,
32
+ "step": 800
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.464375,
37
+ "eval_f1_macro_avg": 0.5785179362668098,
38
+ "eval_f1_macro_weighted": 0.649904719860711,
39
+ "eval_f1_samples": 0.35723908730158727,
40
+ "eval_loss": 1.280062198638916,
41
+ "eval_runtime": 4.9492,
42
+ "eval_samples_per_second": 323.283,
43
+ "eval_steps_per_second": 20.205,
44
+ "step": 800
45
+ }
46
+ ],
47
+ "max_steps": 2400,
48
+ "num_train_epochs": 6,
49
+ "total_flos": 841978055884800.0,
50
+ "trial_name": null,
51
+ "trial_params": null
52
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71d56f5b5a892196d7183bb6b8c6f2c81c662824283d890e64496f99e38ccc7a
3
+ size 2799
val_results.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"val_loss": 1.280062198638916, "val_accuracy": 0.464375, "val_f1_macro_avg": 0.5785179362668098, "val_f1_macro_weighted": 0.649904719860711, "val_f1_samples": 0.35723908730158727, "val_runtime": 5.4173, "val_samples_per_second": 295.349, "val_steps_per_second": 36.919}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff