init commit
Browse files- .gitattributes +1 -0
- README.md +3 -0
- model_config.json +19 -0
- model_state.pdparams +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -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
|
README.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
3 |
---
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
library_name: paddlenlp
|
4 |
+
tags:
|
5 |
+
- fill-mask
|
6 |
---
|
model_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"init_args": [
|
3 |
+
{
|
4 |
+
"attention_probs_dropout_prob": 0.1,
|
5 |
+
"hidden_act": "relu",
|
6 |
+
"hidden_dropout_prob": 0.1,
|
7 |
+
"hidden_size": 768,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"max_position_embeddings": 513,
|
10 |
+
"num_attention_heads": 12,
|
11 |
+
"num_hidden_layers": 12,
|
12 |
+
"type_vocab_size": 2,
|
13 |
+
"vocab_size": 18000,
|
14 |
+
"pad_token_id": 0,
|
15 |
+
"init_class": "ErnieModel"
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"init_class": "ErnieForMaskedLM"
|
19 |
+
}
|
model_state.pdparams
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:419a6739d1ff796fa8247f923293a63ddd7eba91f2f144ecf538d8d767b430bd
|
3 |
+
size 457222253
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "model_max_length": 513, "tokenizer_class": "ErnieTokenizer"}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|