2023-05-11 07:05:07,609 - modelscope - WARNING - No preprocessor field found in cfg. 2023-05-11 07:05:07,609 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-05-11 07:05:07,609 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config:
你遇到的问题可能是由于你的configuration.json文件中缺少preprocessor字段或者preprocessor字段的值不正确导致的。
"preprocessor": {
"type": "text",
"val": {
"max_length": 128,
"tokenizer": "bert-base-uncased"
},
"mode": "inference",
"name": "text-preprocessor"
}