bert_tiny_en_uncased_sst2 / preprocessor.json
mattdangerw's picture
Upload folder using huggingface_hub
91ff790 verified
{
"module": "keras_hub.src.models.bert.bert_text_classifier_preprocessor",
"class_name": "BertTextClassifierPreprocessor",
"config": {
"name": "bert_preprocessor_2",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "float32"
},
"registered_name": null
},
"tokenizer": {
"module": "keras_hub.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
},
"config_file": "tokenizer.json",
"vocabulary": null,
"sequence_length": null,
"lowercase": true,
"strip_accents": false,
"split": true,
"suffix_indicator": "##",
"oov_token": "[UNK]",
"special_tokens": null,
"special_tokens_in_strings": false
},
"registered_name": "keras_hub>BertTokenizer"
},
"config_file": "preprocessor.json",
"sequence_length": 512,
"truncate": "round_robin"
},
"registered_name": "keras_hub>BertTextClassifierPreprocessor"
}