Upload model files.
Browse files- README.md +22 -0
- config.json +29 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- zh
|
4 |
+
thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png
|
5 |
+
tags:
|
6 |
+
- pytorch
|
7 |
+
- lm-head
|
8 |
+
- albert
|
9 |
+
- zh
|
10 |
+
license: gpl-3.0
|
11 |
+
datasets:
|
12 |
+
metrics:
|
13 |
+
---
|
14 |
+
|
15 |
+
# CKIP ALBERT Tiny Chinese
|
16 |
+
|
17 |
+
## Contributers
|
18 |
+
|
19 |
+
* [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer)
|
20 |
+
|
21 |
+
## Attention
|
22 |
+
Please Use `BertTokenizer` instead of `AutoTokenizer`!!!
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"AlbertForMaskedLM"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"down_scale_factor": 1,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"eos_token_id": 3,
|
11 |
+
"gap_size": 0,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.0,
|
14 |
+
"hidden_size": 312,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"inner_group_num": 1,
|
17 |
+
"intermediate_size": 1248,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"max_position_embeddings": 512,
|
20 |
+
"model_type": "albert",
|
21 |
+
"net_structure_type": 0,
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_groups": 1,
|
24 |
+
"num_hidden_layers": 4,
|
25 |
+
"num_memory_blocks": 0,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"type_vocab_size": 2,
|
28 |
+
"vocab_size": 21128
|
29 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46949c4d40ed263d0ec44ec0247677fc876c7fd482819a8d2699fbb734bf63bb
|
3 |
+
size 16193780
|
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 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "bert-base-chinese"}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|