Zamoranesis commited on
Commit
e73ecdb
1 Parent(s): 0f29dbc

mental_bert

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: mental/mental-bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: mental_bert
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # mental_bert
15
+
16
+ This model is a fine-tuned version of [mental/mental-bert-base-uncased](https://huggingface.co/mental/mental-bert-base-uncased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.9179
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.0005
38
+ - train_batch_size: 64
39
+ - eval_batch_size: 64
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_ratio: 0.1
44
+ - lr_scheduler_warmup_steps: 100
45
+ - training_steps: 2000
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:------:|:----:|:---------------:|
51
+ | 1.4138 | 6.25 | 100 | 1.1695 |
52
+ | 1.0912 | 12.5 | 200 | 1.1862 |
53
+ | 0.8699 | 18.75 | 300 | 0.9926 |
54
+ | 0.7713 | 25.0 | 400 | 1.0570 |
55
+ | 0.6655 | 31.25 | 500 | 1.0891 |
56
+ | 0.6127 | 37.5 | 600 | 1.0389 |
57
+ | 0.5461 | 43.75 | 700 | 0.9947 |
58
+ | 0.5167 | 50.0 | 800 | 1.0043 |
59
+ | 0.45 | 56.25 | 900 | 0.9688 |
60
+ | 0.436 | 62.5 | 1000 | 0.9482 |
61
+ | 0.3896 | 68.75 | 1100 | 1.0424 |
62
+ | 0.3624 | 75.0 | 1200 | 0.9242 |
63
+ | 0.3821 | 81.25 | 1300 | 1.0748 |
64
+ | 0.3156 | 87.5 | 1400 | 1.0121 |
65
+ | 0.3099 | 93.75 | 1500 | 0.9404 |
66
+ | 0.2829 | 100.0 | 1600 | 0.8997 |
67
+ | 0.2712 | 106.25 | 1700 | 0.8902 |
68
+ | 0.2596 | 112.5 | 1800 | 0.9054 |
69
+ | 0.2622 | 118.75 | 1900 | 1.0317 |
70
+ | 0.2631 | 125.0 | 2000 | 0.9179 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.33.3
76
+ - Pytorch 2.0.1+cu118
77
+ - Datasets 2.14.5
78
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mental/mental-bert-base-uncased",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
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
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.33.3",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
generation_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "pad_token_id": 0,
4
+ "transformers_version": "4.33.3"
5
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecaef6b4346414a0c063810d90018bce9c2230fe18ac41c00ca0ca3258c186ad
3
+ size 438126133
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
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72d31e51b07045def6070c8c3ab907be182e5d11ebed981143cc4377346803d1
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff