JohannesKiesel
commited on
Commit
•
7cdf35e
1
Parent(s):
116ebbb
End of training
Browse files- README.md +56 -0
- config.json +107 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: valueeval24-bert-baseline-toy-2024-02-27
|
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 |
+
# valueeval24-bert-baseline-toy-2024-02-27
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.5490
|
19 |
+
- F1-score: {0: 0, 1: 0.67, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0.33, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 0, 21: 0, 22: 0, 23: 0, 24: 0, 25: 0, 26: 0, 27: 0, 28: 0, 29: 0, 30: 0, 31: 0.33, 32: 0, 33: 0, 34: 0, 35: 0, 36: 0, 37: 0}
|
20 |
+
- Marco-avg-f1-score: 0.04
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 2e-05
|
40 |
+
- train_batch_size: 8
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 20
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.38.0
|
54 |
+
- Pytorch 2.2.0+cu121
|
55 |
+
- Datasets 2.17.1
|
56 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
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": "Self-direction: thought attained",
|
14 |
+
"1": "Self-direction: thought constrained",
|
15 |
+
"2": "Self-direction: action attained",
|
16 |
+
"3": "Self-direction: action constrained",
|
17 |
+
"4": "Stimulation attained",
|
18 |
+
"5": "Stimulation constrained",
|
19 |
+
"6": "Hedonism attained",
|
20 |
+
"7": "Hedonism constrained",
|
21 |
+
"8": "Achievement attained",
|
22 |
+
"9": "Achievement constrained",
|
23 |
+
"10": "Power: dominance attained",
|
24 |
+
"11": "Power: dominance constrained",
|
25 |
+
"12": "Power: resources attained",
|
26 |
+
"13": "Power: resources constrained",
|
27 |
+
"14": "Face attained",
|
28 |
+
"15": "Face constrained",
|
29 |
+
"16": "Security: personal attained",
|
30 |
+
"17": "Security: personal constrained",
|
31 |
+
"18": "Security: societal attained",
|
32 |
+
"19": "Security: societal constrained",
|
33 |
+
"20": "Tradition attained",
|
34 |
+
"21": "Tradition constrained",
|
35 |
+
"22": "Conformity: rules attained",
|
36 |
+
"23": "Conformity: rules constrained",
|
37 |
+
"24": "Conformity: interpersonal attained",
|
38 |
+
"25": "Conformity: interpersonal constrained",
|
39 |
+
"26": "Humility attained",
|
40 |
+
"27": "Humility constrained",
|
41 |
+
"28": "Benevolence: caring attained",
|
42 |
+
"29": "Benevolence: caring constrained",
|
43 |
+
"30": "Benevolence: dependability attained",
|
44 |
+
"31": "Benevolence: dependability constrained",
|
45 |
+
"32": "Universalism: concern attained",
|
46 |
+
"33": "Universalism: concern constrained",
|
47 |
+
"34": "Universalism: nature attained",
|
48 |
+
"35": "Universalism: nature constrained",
|
49 |
+
"36": "Universalism: tolerance attained",
|
50 |
+
"37": "Universalism: tolerance constrained"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"intermediate_size": 3072,
|
54 |
+
"label2id": {
|
55 |
+
"Achievement attained": 8,
|
56 |
+
"Achievement constrained": 9,
|
57 |
+
"Benevolence: caring attained": 28,
|
58 |
+
"Benevolence: caring constrained": 29,
|
59 |
+
"Benevolence: dependability attained": 30,
|
60 |
+
"Benevolence: dependability constrained": 31,
|
61 |
+
"Conformity: interpersonal attained": 24,
|
62 |
+
"Conformity: interpersonal constrained": 25,
|
63 |
+
"Conformity: rules attained": 22,
|
64 |
+
"Conformity: rules constrained": 23,
|
65 |
+
"Face attained": 14,
|
66 |
+
"Face constrained": 15,
|
67 |
+
"Hedonism attained": 6,
|
68 |
+
"Hedonism constrained": 7,
|
69 |
+
"Humility attained": 26,
|
70 |
+
"Humility constrained": 27,
|
71 |
+
"Power: dominance attained": 10,
|
72 |
+
"Power: dominance constrained": 11,
|
73 |
+
"Power: resources attained": 12,
|
74 |
+
"Power: resources constrained": 13,
|
75 |
+
"Security: personal attained": 16,
|
76 |
+
"Security: personal constrained": 17,
|
77 |
+
"Security: societal attained": 18,
|
78 |
+
"Security: societal constrained": 19,
|
79 |
+
"Self-direction: action attained": 2,
|
80 |
+
"Self-direction: action constrained": 3,
|
81 |
+
"Self-direction: thought attained": 0,
|
82 |
+
"Self-direction: thought constrained": 1,
|
83 |
+
"Stimulation attained": 4,
|
84 |
+
"Stimulation constrained": 5,
|
85 |
+
"Tradition attained": 20,
|
86 |
+
"Tradition constrained": 21,
|
87 |
+
"Universalism: concern attained": 32,
|
88 |
+
"Universalism: concern constrained": 33,
|
89 |
+
"Universalism: nature attained": 34,
|
90 |
+
"Universalism: nature constrained": 35,
|
91 |
+
"Universalism: tolerance attained": 36,
|
92 |
+
"Universalism: tolerance constrained": 37
|
93 |
+
},
|
94 |
+
"layer_norm_eps": 1e-12,
|
95 |
+
"max_position_embeddings": 512,
|
96 |
+
"model_type": "bert",
|
97 |
+
"num_attention_heads": 12,
|
98 |
+
"num_hidden_layers": 12,
|
99 |
+
"pad_token_id": 0,
|
100 |
+
"position_embedding_type": "absolute",
|
101 |
+
"problem_type": "multi_label_classification",
|
102 |
+
"torch_dtype": "float32",
|
103 |
+
"transformers_version": "4.38.0",
|
104 |
+
"type_vocab_size": 2,
|
105 |
+
"use_cache": true,
|
106 |
+
"vocab_size": 30522
|
107 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc010033dd53dd7bf152b76ed8fc60001a72bd5251e74ed75e8aa7e8b80e335d
|
3 |
+
size 438069384
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9db45a1eb24f9a9e4b678fd3461c3eb66140e35b1bf6d0e702121b5f5d7f6e3
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|