Skip to content

Commit b4d0691

Browse files
Merge pull request #2 from guodongxiaren/v1.0
V1.0
2 parents 050a7b0 + 50dfe61 commit b4d0691

File tree

10 files changed

+21452
-0
lines changed

10 files changed

+21452
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.bin
2+
*.pt
3+
*.ckpt
4+
*.onnx
5+
*.tar.gz
6+
__pycache__

bert_pretrain/bert_config.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"attention_probs_dropout_prob": 0.1,
3+
"directionality": "bidi",
4+
"hidden_act": "gelu",
5+
"hidden_dropout_prob": 0.1,
6+
"hidden_size": 768,
7+
"initializer_range": 0.02,
8+
"intermediate_size": 3072,
9+
"max_position_embeddings": 512,
10+
"num_attention_heads": 12,
11+
"num_hidden_layers": 12,
12+
"pooler_fc_size": 768,
13+
"pooler_num_attention_heads": 12,
14+
"pooler_num_fc_layers": 3,
15+
"pooler_size_per_head": 128,
16+
"pooler_type": "first_token_transform",
17+
"type_vocab_size": 2,
18+
"vocab_size": 21128
19+
}

0 commit comments

Comments
 (0)