Update config.json
Browse files- config.json +8 -9
config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
-
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"bos_token_id": 0,
|
@@ -9,14 +10,8 @@ RobertaConfig {
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
-
"id2label": {
|
13 |
-
"0": "LABEL_0"
|
14 |
-
},
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
-
"label2id": {
|
18 |
-
"LABEL_0": 0
|
19 |
-
},
|
20 |
"layer_norm_eps": 1e-05,
|
21 |
"max_position_embeddings": 514,
|
22 |
"model_type": "roberta",
|
@@ -25,8 +20,12 @@ RobertaConfig {
|
|
25 |
"output_past": true,
|
26 |
"pad_token_id": 0,
|
27 |
"position_embedding_type": "absolute",
|
|
|
|
|
28 |
"transformers_version": "4.54.1",
|
29 |
"type_vocab_size": 1,
|
30 |
"use_cache": true,
|
31 |
-
"vocab_size": 50265
|
|
|
|
|
32 |
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/codebert-base",
|
3 |
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 514,
|
17 |
"model_type": "roberta",
|
|
|
20 |
"output_past": true,
|
21 |
"pad_token_id": 0,
|
22 |
"position_embedding_type": "absolute",
|
23 |
+
"problem_type": "single_label_classification",
|
24 |
+
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.54.1",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 50265,
|
29 |
+
"id2label": {"0": "LABEL_0"},
|
30 |
+
"label2id": {"LABEL_0": 0},
|
31 |
}
|