Upload BertForSequenceClassification
Browse files- config.json +83 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Maltehb/danish-bert-botxo",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "1 - Macroeconomics",
|
15 |
+
"1": "10 - Transportation",
|
16 |
+
"2": "12 - Law and Crime",
|
17 |
+
"3": "13 - Social Welfare",
|
18 |
+
"4": "14 - Housing",
|
19 |
+
"5": "15 - Domestic Commerce",
|
20 |
+
"6": "16 - Defense",
|
21 |
+
"7": "17 - Technology",
|
22 |
+
"8": "18 - Foreign Trade",
|
23 |
+
"9": "19.1 - International Affairs",
|
24 |
+
"10": "19.2 - European Integration",
|
25 |
+
"11": "2 - Civil Rights",
|
26 |
+
"12": "20 - Government Operations",
|
27 |
+
"13": "23 - Culture",
|
28 |
+
"14": "3 - Health",
|
29 |
+
"15": "4 - Agriculture",
|
30 |
+
"16": "5 - Labor",
|
31 |
+
"17": "6 - Education",
|
32 |
+
"18": "7 - Environment",
|
33 |
+
"19": "8 - Energy",
|
34 |
+
"20": "9 - Immigration",
|
35 |
+
"21": "98 - Non-thematic",
|
36 |
+
"22": "99 - Other"
|
37 |
+
},
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"intermediate_size": 3072,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1,
|
43 |
+
"LABEL_10": 10,
|
44 |
+
"LABEL_11": 11,
|
45 |
+
"LABEL_12": 12,
|
46 |
+
"LABEL_13": 13,
|
47 |
+
"LABEL_14": 14,
|
48 |
+
"LABEL_15": 15,
|
49 |
+
"LABEL_16": 16,
|
50 |
+
"LABEL_17": 17,
|
51 |
+
"LABEL_18": 18,
|
52 |
+
"LABEL_19": 19,
|
53 |
+
"LABEL_2": 2,
|
54 |
+
"LABEL_20": 20,
|
55 |
+
"LABEL_21": 21,
|
56 |
+
"LABEL_22": 22,
|
57 |
+
"LABEL_3": 3,
|
58 |
+
"LABEL_4": 4,
|
59 |
+
"LABEL_5": 5,
|
60 |
+
"LABEL_6": 6,
|
61 |
+
"LABEL_7": 7,
|
62 |
+
"LABEL_8": 8,
|
63 |
+
"LABEL_9": 9
|
64 |
+
},
|
65 |
+
"layer_norm_eps": 1e-12,
|
66 |
+
"max_position_embeddings": 512,
|
67 |
+
"model_type": "bert",
|
68 |
+
"num_attention_heads": 12,
|
69 |
+
"num_hidden_layers": 12,
|
70 |
+
"pad_token_id": 0,
|
71 |
+
"pooler_fc_size": 768,
|
72 |
+
"pooler_num_attention_heads": 12,
|
73 |
+
"pooler_num_fc_layers": 3,
|
74 |
+
"pooler_size_per_head": 128,
|
75 |
+
"pooler_type": "first_token_transform",
|
76 |
+
"position_embedding_type": "absolute",
|
77 |
+
"problem_type": "single_label_classification",
|
78 |
+
"torch_dtype": "float32",
|
79 |
+
"transformers_version": "4.28.0",
|
80 |
+
"type_vocab_size": 2,
|
81 |
+
"use_cache": true,
|
82 |
+
"vocab_size": 32000
|
83 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d888ff054baac251985e2296a9e24a3e70a0b61f724d95d6a7fff1f755ebc2fa
|
3 |
+
size 442612917
|