Allow loading via AutoTokenizer
#3
by
tomaarsen
HF staff
- opened
- config.json +0 -1
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- vocab.txt +0 -0
config.json
CHANGED
@@ -9,7 +9,6 @@
|
|
9 |
"auto_map": {
|
10 |
"AutoConfig": "configuration_bert.BertConfig",
|
11 |
"AutoModelForSequenceClassification": "bert_layers.BertForTextEncoding",
|
12 |
-
"AutoTokenizer": "bert-base-uncased"
|
13 |
},
|
14 |
"classifier_dropout": null,
|
15 |
"gradient_checkpointing": false,
|
|
|
9 |
"auto_map": {
|
10 |
"AutoConfig": "configuration_bert.BertConfig",
|
11 |
"AutoModelForSequenceClassification": "bert_layers.BertForTextEncoding",
|
|
|
12 |
},
|
13 |
"classifier_dropout": null,
|
14 |
"gradient_checkpointing": false,
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": false,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 8192,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "BertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|