limafang commited on
Commit
29fab1d
1 Parent(s): 46426a8

添加模型配置

Browse files
model/text2vec_ernie/config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_probs_dropout_prob": 0.1,
3
+ "hidden_act": "gelu",
4
+ "hidden_dropout_prob": 0.1,
5
+ "intermediate_size": 4096,
6
+ "hidden_size": 1024,
7
+ "initializer_range": 0.02,
8
+ "max_position_embeddings": 2048,
9
+ "num_attention_heads": 16,
10
+ "num_hidden_layers": 20,
11
+ "task_type_vocab_size": 16,
12
+ "type_vocab_size": 4,
13
+ "use_task_id": true,
14
+ "vocab_size": 40000,
15
+ "layer_norm_eps": 1e-05,
16
+ "model_type": "ernie",
17
+ "architectures": [
18
+ "ErnieForMaskedLM"
19
+ ]
20
+ }
model/text2vec_ernie/vocab.txt ADDED
The diff for this file is too large to render. See raw diff