File size: 947 Bytes
c69bf79
e695b48
c69bf79
 
 
 
 
 
e695b48
c69bf79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
    "module": "keras_nlp.src.models.bert.bert_preprocessor",
    "class_name": "BertPreprocessor",
    "config": {
        "name": "bert_preprocessor",
        "trainable": true,
        "dtype": "float32",
        "tokenizer": {
            "module": "keras_nlp.src.models.bert.bert_tokenizer",
            "class_name": "BertTokenizer",
            "config": {
                "name": "bert_tokenizer",
                "trainable": true,
                "dtype": "int32",
                "vocabulary": null,
                "sequence_length": null,
                "lowercase": true,
                "strip_accents": false,
                "split": true,
                "suffix_indicator": "##",
                "oov_token": "[UNK]"
            },
            "registered_name": "keras_nlp>BertTokenizer"
        },
        "sequence_length": 512,
        "truncate": "round_robin"
    },
    "registered_name": "keras_nlp>BertPreprocessor"
}