Update config.json
Browse files- config.json +9 -10
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -10,18 +10,18 @@
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
},
|
26 |
"layer_norm_eps": 1e-12,
|
27 |
"max_position_embeddings": 512,
|
@@ -31,7 +31,6 @@
|
|
31 |
"pad_token_id": 0,
|
32 |
"position_embedding_type": "absolute",
|
33 |
"problem_type": "single_label_classification",
|
34 |
-
"return_dict": false,
|
35 |
"torch_dtype": "float32",
|
36 |
"transformers_version": "4.17.0",
|
37 |
"type_vocab_size": 2,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "JiaqiLee/bert-agnews",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "world",
|
14 |
+
"1": "sports",
|
15 |
+
"2": "business",
|
16 |
+
"3": "sci/tech"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"world": 0,
|
22 |
+
"sports": 1,
|
23 |
+
"business": 2,
|
24 |
+
"sci/tech": 3
|
25 |
},
|
26 |
"layer_norm_eps": 1e-12,
|
27 |
"max_position_embeddings": 512,
|
|
|
31 |
"pad_token_id": 0,
|
32 |
"position_embedding_type": "absolute",
|
33 |
"problem_type": "single_label_classification",
|
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.17.0",
|
36 |
"type_vocab_size": 2,
|