Commit
•
77ef707
1
Parent(s):
6b449f3
修改config
Browse files
bart-base-chinese-v1.0/bert4torch_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "bart",
|
3 |
+
"attention_probs_dropout_prob": 0.1,
|
4 |
+
"hidden_act": "gelu",
|
5 |
+
"hidden_dropout_prob": 0.1,
|
6 |
+
"hidden_size": 768,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"max_position_embeddings": 512,
|
10 |
+
"num_attention_heads": 12,
|
11 |
+
"num_hidden_layers": 6,
|
12 |
+
"type_vocab_size": 0,
|
13 |
+
"vocab_size": 21128
|
14 |
+
}
|
bert@chinese_L-12_H-768_A-12/bert4torch_config.json
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"attention_probs_dropout_prob": 0.1,
|
3 |
-
"hidden_act": "gelu",
|
4 |
-
"hidden_dropout_prob": 0.1,
|
5 |
-
"hidden_size": 768,
|
6 |
-
"initializer_range": 0.02,
|
7 |
-
"intermediate_size": 3072,
|
8 |
-
"layer_norm_eps": 1e-12,
|
9 |
-
"max_position_embeddings": 512,
|
10 |
-
"model": "bert",
|
11 |
-
"num_attention_heads": 12,
|
12 |
-
"num_hidden_layers": 12,
|
13 |
-
"pad_token_id": 0,
|
14 |
-
"type_vocab_size": 2,
|
15 |
-
"vocab_size": 21128
|
16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|