ClaudiaRichard
commited on
ClaudiaRichard/mbti_classification_v3/
Browse files- README.md +64 -0
- config.json +39 -0
- model.safetensors +3 -0
- runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708843901.d45e614e63bd.218.0 +3 -0
- runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708848999.d45e614e63bd.218.1 +3 -0
- runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849065.d45e614e63bd.218.2 +3 -0
- runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849097.d45e614e63bd.218.3 +3 -0
- runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849138.d45e614e63bd.218.4 +3 -0
- runs/Feb25_08-19-37_d45e614e63bd/events.out.tfevents.1708849219.d45e614e63bd.218.5 +3 -0
- runs/Feb25_08-19-37_d45e614e63bd/events.out.tfevents.1708849302.d45e614e63bd.218.6 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849445.d45e614e63bd.218.7 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849600.d45e614e63bd.218.8 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849640.d45e614e63bd.218.9 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849673.d45e614e63bd.218.10 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850122.d45e614e63bd.218.11 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850152.d45e614e63bd.218.12 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850251.d45e614e63bd.218.13 +3 -0
- runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708851357.d45e614e63bd.218.14 +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: sentence-transformers/bert-base-nli-mean-tokens
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: mbti-bert-nli-finetuned_v2
|
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 |
+
# mbti-bert-nli-finetuned_v2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [sentence-transformers/bert-base-nli-mean-tokens](https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5429
|
21 |
+
- F1: 0.5231
|
22 |
+
- Roc Auc: 0.6546
|
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: 2
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc |
|
55 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|
|
56 |
+
| 0.5413 | 1.0 | 5948 | 0.5385 | 0.5721 | 0.6766 |
|
57 |
+
| 0.5046 | 2.0 | 11896 | 0.5429 | 0.5231 | 0.6546 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.38.1
|
63 |
+
- Pytorch 2.1.0+cu121
|
64 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentence-transformers/bert-base-nli-mean-tokens",
|
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": 768,
|
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": 3072,
|
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.38.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:58ef3aa03770f35fbaf1b091c2f611136d95cda6b6068939ff2116fd002ca2df
|
3 |
+
size 437964800
|
runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708843901.d45e614e63bd.218.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:380baf1f3fc6099bb07fa85a0a53cff23d7c11aa14c1ff4aa11c3ee643eda529
|
3 |
+
size 14182
|
runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708848999.d45e614e63bd.218.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec9b119fc1b789d73baaa76a8b1edc303bef75a873ddc1f12d30acf7aeb01bf0
|
3 |
+
size 3864
|
runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849065.d45e614e63bd.218.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df8bccfec5d54008199c02715191c4015e59d9772135f841d1c88374a9976d50
|
3 |
+
size 3864
|
runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849097.d45e614e63bd.218.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cdc37eddf8c1b8921bb23d96e97fe528861c5e053b24835b705bb155f420e1b
|
3 |
+
size 3864
|
runs/Feb25_06-51-31_d45e614e63bd/events.out.tfevents.1708849138.d45e614e63bd.218.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3ed449046fb96efcfd5befdde5ecf4d1ce3bf463073ffa5f2bdf84ed774d8e6
|
3 |
+
size 3864
|
runs/Feb25_08-19-37_d45e614e63bd/events.out.tfevents.1708849219.d45e614e63bd.218.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0eaf9f5c0b40e55c0ba3c68e8953b8ddfe84a9cc688ab809405c7a46956dcfe
|
3 |
+
size 3864
|
runs/Feb25_08-19-37_d45e614e63bd/events.out.tfevents.1708849302.d45e614e63bd.218.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37d65a4a71af86dbea95fafee972e63865e9119a9500e5d97c0b13e35d8571ee
|
3 |
+
size 3864
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849445.d45e614e63bd.218.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:993892ae53981668a47ba93027e7a3dbfd0d6175230d4bb1ace35a1d5ef00ecd
|
3 |
+
size 3864
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849600.d45e614e63bd.218.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d1de8f635eb293981994a2e8c1e82413f1600d72d213addbf68f9c32662ecb2
|
3 |
+
size 3864
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849640.d45e614e63bd.218.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e0fba3cfce144f43f38bde00bffc93fda15377aa8a48b58d77f6de4cf717c73
|
3 |
+
size 3864
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708849673.d45e614e63bd.218.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1286c507657c8062be0536b86813406bf0d53bb470587ff48a7ff2d7863f5997
|
3 |
+
size 3864
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850122.d45e614e63bd.218.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:983b42872f9f7400ea2a6ffb390cc7097a55f340809fb9a5dd43377bba3e8cec
|
3 |
+
size 4846
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850152.d45e614e63bd.218.12
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:031f564d0967b45db0be752802ea750be02f9d16008a652a8a7b1328687fbe70
|
3 |
+
size 4846
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708850251.d45e614e63bd.218.13
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5e544320aed0eae881cf01bd013ad158b2dad42ae4607cb60a54bc9d2f1c6fa
|
3 |
+
size 7167
|
runs/Feb25_08-23-44_d45e614e63bd/events.out.tfevents.1708851357.d45e614e63bd.218.14
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cdd89e656b57257862b36d65eee400f74978b10b8f65c6e9c32bf6a05dfbcc4
|
3 |
+
size 10757
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"device": "cpu",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": true,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:677e2ad17fab37138f1296425d320385fc66509b523879d6c0ce8947b645c178
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|