Upload config
Browse files- README.md +1 -1
- config.json +11 -2
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
base_model: techthiyanes/chinese_sentiment
|
3 |
tags:
|
4 |
- generated_from_trainer
|
|
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
model-index:
|
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
+
base_model: techthiyanes/chinese_sentiment
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
model-index:
|
config.json
CHANGED
@@ -9,8 +9,19 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
"model_type": "bert",
|
@@ -18,8 +29,6 @@
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 0,
|
20 |
"position_embedding_type": "absolute",
|
21 |
-
"problem_type": "single_label_classification",
|
22 |
-
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.39.3",
|
24 |
"type_vocab_size": 2,
|
25 |
"use_cache": true,
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "0",
|
14 |
+
"1": "1"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"0": 0,
|
20 |
+
"1": 1,
|
21 |
+
"2": 2,
|
22 |
+
"3": 3,
|
23 |
+
"4": 4
|
24 |
+
},
|
25 |
"layer_norm_eps": 1e-12,
|
26 |
"max_position_embeddings": 512,
|
27 |
"model_type": "bert",
|
|
|
29 |
"num_hidden_layers": 12,
|
30 |
"pad_token_id": 0,
|
31 |
"position_embedding_type": "absolute",
|
|
|
|
|
32 |
"transformers_version": "4.39.3",
|
33 |
"type_vocab_size": 2,
|
34 |
"use_cache": true,
|