update: change model BertForPretraining to BertForMaskedLM
Browse files- config.json +2 -1
config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"gradient_checkpointing": false,
|
@@ -15,6 +15,7 @@
|
|
15 |
"num_attention_heads": 4,
|
16 |
"num_hidden_layers": 12,
|
17 |
"pad_token_id": 0,
|
|
|
18 |
"position_embedding_type": "absolute",
|
19 |
"transformers_version": "4.7.0",
|
20 |
"type_vocab_size": 2,
|
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
+
"BertForMaskedLM"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"gradient_checkpointing": false,
|
|
|
15 |
"num_attention_heads": 4,
|
16 |
"num_hidden_layers": 12,
|
17 |
"pad_token_id": 0,
|
18 |
+
"tokenizer_class": "BertJapaneseTokenizer",
|
19 |
"position_embedding_type": "absolute",
|
20 |
"transformers_version": "4.7.0",
|
21 |
"type_vocab_size": 2,
|