Upload with huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +27 -0
- model_state.pdparams +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
model_state.pdparams filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ErnieForMaskedLM"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"dtype": "float32",
|
7 |
+
"enable_recompute": false,
|
8 |
+
"fuse": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 312,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 8,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 8,
|
16 |
+
"model_type": "ernie",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 2,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"paddlenlp_version": null,
|
21 |
+
"pool_act": "tanh",
|
22 |
+
"task_id": 0,
|
23 |
+
"task_type_vocab_size": 16,
|
24 |
+
"type_vocab_size": 4,
|
25 |
+
"use_task_id": true,
|
26 |
+
"vocab_size": 40000
|
27 |
+
}
|
model_state.pdparams
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2150976d08b2a7ec1d03b859967a6acfdd883052648d556b16cf77ee37d5f912
|
3 |
+
size 104003333
|