init commit
Browse files- .gitattributes +1 -0
- README.md +4 -0
- model_config.json +25 -0
- model_state.pdparams +3 -0
- special_tokens_map.json +1 -0
- spm.model +3 -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,7 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
3 |
---
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
library_name: paddlenlp
|
4 |
+
tags:
|
5 |
+
- conversational
|
6 |
---
|
7 |
+
PaddleNLP playing with 🤗 Huggingface Hub!
|
model_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"init_args": [
|
3 |
+
{
|
4 |
+
"vocab_size": 30001,
|
5 |
+
"hidden_size": 768,
|
6 |
+
"num_hidden_layers": 6,
|
7 |
+
"num_attention_heads": 12,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"attention_probs_dropout_prob": 0.1,
|
12 |
+
"normalize_before": true,
|
13 |
+
"max_position_embeddings": 512,
|
14 |
+
"type_vocab_size": 2,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"unk_token_id": 0,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"bos_token_id": 1,
|
19 |
+
"eos_token_id": 2,
|
20 |
+
"mask_token_id": 30000,
|
21 |
+
"init_class": "UnifiedTransformerModel"
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"init_class": "UnifiedTransformerLMHeadModel"
|
25 |
+
}
|
model_state.pdparams
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24c30e6f82d5f478ad8d2c875a955ea046baa45a95ac655193f12dd8e87a837f
|
3 |
+
size 358521176
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[UNK]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c345d967b58c8ff9a1fbd602b93c4632beadb50b73a00902f55b9d27c83fe5d8
|
3 |
+
size 728528
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "unk_token": "[UNK]", "pad_token": "[UNK]", "cls_token": "[CLS]", "sep_token": "[SEP]", "mask_token": "[MASK]", "special_tokens_file": "", "model_max_length": 512, "tokenizer_class": "UnifiedTransformerTokenizer"}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|