bert_tiny_imdb / preprocessor.json
swritchie's picture
Upload folder using huggingface_hub
400802c verified
raw
history blame
1.37 kB
{
"module": "keras_nlp.src.models.bert.bert_preprocessor",
"class_name": "BertPreprocessor",
"config": {
"name": "bert_preprocessor",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "float32"
},
"registered_name": null
},
"tokenizer": {
"module": "keras_nlp.src.models.bert.bert_tokenizer",
"class_name": "BertTokenizer",
"config": {
"name": "bert_tokenizer",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "int32"
},
"registered_name": null
},
"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"
}