我想用huggingface做中文文本相似度: tokenizer = BertTokenizer.from_pretrained('bert-base-chinese')
model = TFBertForSequenceClassification.from_pretrained('bert-base-chinese') 它不工作,系统报告错误: Some weights of the model checkpoint at bert-base-chinese were notweights of
我为我的网页创建了一个即时搜索应用程序(类似于谷歌搜索),.It对英文字符的搜索效果很好,但不适用于外国字符(用中文测试)。我想知道如何修改才能使其能够搜索外国字符。数据库设置:PHP搜索查询:
$query=mysqli_query($conn,"SELECT * from objects WHERE Match(name) Against ('%$search%' in natural language mode) LIMIT 9") or die