albertmartinez
commited on
Commit
•
e730577
1
Parent(s):
5461d2f
Training in progress, step 500
Browse files- config.json +33 -32
- model.safetensors +1 -1
- special_tokens_map.json +35 -5
- tokenizer.json +16 -2
- training_args.bin +2 -2
config.json
CHANGED
@@ -1,52 +1,53 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "bert-
|
3 |
"_num_labels": 16,
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
6 |
],
|
7 |
"attention_probs_dropout_prob": 0.1,
|
8 |
"classifier_dropout": null,
|
|
|
9 |
"gradient_checkpointing": false,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
"0": "sdg1",
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
-
"5": "
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
23 |
-
"9": "
|
24 |
-
"10": "
|
25 |
-
"11": "
|
26 |
-
"12": "
|
27 |
-
"13": "
|
28 |
-
"14": "
|
29 |
-
"15": "
|
30 |
},
|
31 |
"initializer_range": 0.02,
|
32 |
"intermediate_size": 3072,
|
33 |
"label2id": {
|
34 |
"sdg1": 0,
|
35 |
-
"sdg10":
|
36 |
-
"sdg11":
|
37 |
-
"sdg12":
|
38 |
-
"sdg13":
|
39 |
-
"sdg14":
|
40 |
-
"sdg15":
|
41 |
-
"sdg16":
|
42 |
-
"sdg2":
|
43 |
-
"sdg3":
|
44 |
-
"sdg4":
|
45 |
-
"sdg5":
|
46 |
-
"sdg6":
|
47 |
-
"sdg7":
|
48 |
-
"sdg8":
|
49 |
-
"sdg9":
|
50 |
},
|
51 |
"layer_norm_eps": 1e-12,
|
52 |
"max_position_embeddings": 512,
|
@@ -57,7 +58,7 @@
|
|
57 |
"position_embedding_type": "absolute",
|
58 |
"problem_type": "single_label_classification",
|
59 |
"torch_dtype": "float32",
|
60 |
-
"transformers_version": "4.
|
61 |
"type_vocab_size": 2,
|
62 |
"use_cache": true,
|
63 |
"vocab_size": 30522
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "albertmartinez/bert-sdg-classification",
|
3 |
"_num_labels": 16,
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
6 |
],
|
7 |
"attention_probs_dropout_prob": 0.1,
|
8 |
"classifier_dropout": null,
|
9 |
+
"finetuning_task": "text-classification",
|
10 |
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
"0": "sdg1",
|
16 |
+
"1": "sdg10",
|
17 |
+
"2": "sdg11",
|
18 |
+
"3": "sdg12",
|
19 |
+
"4": "sdg13",
|
20 |
+
"5": "sdg14",
|
21 |
+
"6": "sdg15",
|
22 |
+
"7": "sdg16",
|
23 |
+
"8": "sdg2",
|
24 |
+
"9": "sdg3",
|
25 |
+
"10": "sdg4",
|
26 |
+
"11": "sdg5",
|
27 |
+
"12": "sdg6",
|
28 |
+
"13": "sdg7",
|
29 |
+
"14": "sdg8",
|
30 |
+
"15": "sdg9"
|
31 |
},
|
32 |
"initializer_range": 0.02,
|
33 |
"intermediate_size": 3072,
|
34 |
"label2id": {
|
35 |
"sdg1": 0,
|
36 |
+
"sdg10": 1,
|
37 |
+
"sdg11": 2,
|
38 |
+
"sdg12": 3,
|
39 |
+
"sdg13": 4,
|
40 |
+
"sdg14": 5,
|
41 |
+
"sdg15": 6,
|
42 |
+
"sdg16": 7,
|
43 |
+
"sdg2": 8,
|
44 |
+
"sdg3": 9,
|
45 |
+
"sdg4": 10,
|
46 |
+
"sdg5": 11,
|
47 |
+
"sdg6": 12,
|
48 |
+
"sdg7": 13,
|
49 |
+
"sdg8": 14,
|
50 |
+
"sdg9": 15
|
51 |
},
|
52 |
"layer_norm_eps": 1e-12,
|
53 |
"max_position_embeddings": 512,
|
|
|
58 |
"position_embedding_type": "absolute",
|
59 |
"problem_type": "single_label_classification",
|
60 |
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.42.4",
|
62 |
"type_vocab_size": 2,
|
63 |
"use_cache": true,
|
64 |
"vocab_size": 30522
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 438001712
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1cbafce2416f12f0b58b6d518ccd68c14cfea1f0d32eeb91ba3a69e6758545e
|
3 |
size 438001712
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,37 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
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
CHANGED
@@ -1,7 +1,21 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 512,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
+
"padding": {
|
10 |
+
"strategy": {
|
11 |
+
"Fixed": 512
|
12 |
+
},
|
13 |
+
"direction": "Right",
|
14 |
+
"pad_to_multiple_of": null,
|
15 |
+
"pad_id": 0,
|
16 |
+
"pad_type_id": 0,
|
17 |
+
"pad_token": "[PAD]"
|
18 |
+
},
|
19 |
"added_tokens": [
|
20 |
{
|
21 |
"id": 0,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53bc8014e93020f2b6690a7cf2c38c59c476d0a5b91777b8c2949fde8c0c562b
|
3 |
+
size 5240
|