ClaudiaRichard commited on
Commit
a937fb3
·
verified ·
1 Parent(s): afd31d8

ClaudiaRichard/mbti_models

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: sentence-transformers/all-MiniLM-L12-v2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: all-MiniLM-L12-v2_mbti_full
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # all-MiniLM-L12-v2_mbti_full
17
+
18
+ This model is a fine-tuned version of [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6163
21
+ - F1: 0.6302
22
+ - Roc Auc: 0.7108
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 3e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 16
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 10
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
56
+ | No log | 1.0 | 325 | 0.5453 | 0.4591 | 0.6226 |
57
+ | 0.5606 | 2.0 | 651 | 0.5234 | 0.6248 | 0.7090 |
58
+ | 0.5606 | 3.0 | 976 | 0.5217 | 0.6148 | 0.7054 |
59
+ | 0.4918 | 4.0 | 1302 | 0.5307 | 0.5912 | 0.6932 |
60
+ | 0.4152 | 5.0 | 1627 | 0.5459 | 0.6262 | 0.7116 |
61
+ | 0.4152 | 6.0 | 1953 | 0.5793 | 0.6234 | 0.7087 |
62
+ | 0.3484 | 7.0 | 2278 | 0.5958 | 0.6378 | 0.7161 |
63
+ | 0.293 | 8.0 | 2604 | 0.6076 | 0.6405 | 0.7177 |
64
+ | 0.293 | 9.0 | 2929 | 0.6186 | 0.6362 | 0.7143 |
65
+ | 0.2592 | 9.98 | 3250 | 0.6262 | 0.6365 | 0.7149 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.39.1
71
+ - Pytorch 2.2.1+cu121
72
+ - Datasets 2.18.0
73
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L12-v2",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
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": 384,
12
+ "id2label": {
13
+ "0": "I/E",
14
+ "1": "N/S",
15
+ "2": "T/F",
16
+ "3": "J/P"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 1536,
20
+ "label2id": {
21
+ "I/E": 0,
22
+ "J/P": 3,
23
+ "N/S": 1,
24
+ "T/F": 2
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "multi_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.39.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": true,
38
+ "vocab_size": 30522
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d95ca9dc66328c6e240903f33d1ea9edf190e8210084e3b3f5b584ffef39cc68
3
+ size 133469456
runs/Mar24_00-42-13_5f2b4ca659aa/events.out.tfevents.1711240934.5f2b4ca659aa.329.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3f943ff45b0a793e87c2624dc53639415538009bd8814087332733351443f5
3
+ size 5275
runs/Mar24_00-43-34_5f2b4ca659aa/events.out.tfevents.1711241014.5f2b4ca659aa.329.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:373c73a59a8f3250838bf3ec69373bb3f79922c5b94b4637002b298787b681e5
3
+ size 10208
runs/Mar24_00-52-19_5f2b4ca659aa/events.out.tfevents.1711241539.5f2b4ca659aa.329.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82f3c65a2eef1a68903e8f2087ce7f15e9c9522b5b366bfba404856f7c853978
3
+ size 4908
runs/Mar24_00-53-29_5f2b4ca659aa/events.out.tfevents.1711241609.5f2b4ca659aa.329.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49a9275ff2b08b1430638a7ecff887d39e871097b81be26e8e2136f12aa5cdf8
3
+ size 10208
runs/Mar24_00-53-29_5f2b4ca659aa/events.out.tfevents.1711242141.5f2b4ca659aa.329.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fd78f7f8b230fa6768ef2a0cac0212787efd14d835e1f8623550a25faf439a0
3
+ size 456
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9273432df763454b82b0fc04dc87a24b1b9ff4a772c13094f19b9f1f6cfdd7ef
3
+ size 4984
vocab.txt ADDED
The diff for this file is too large to render. See raw diff