我是靠谱客的博主 无聊外套,最近开发中收集的这篇文章主要介绍SError: Model name ‘bert-base-cased‘ was not found in tokenizers model name list,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

OSError: Model name 'bert-base-cased' was not found in tokenizers model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese, bert-base-german-cased, bert-large-uncased-whole-word-masking, bert-large-cased-whole-word-masking, bert-large-uncased-whole-word-masking-finetuned-squad, bert-large-cased-whole-word-masking-finetuned-squad, bert-base-cased-finetuned-mrpc, bert-base-german-dbmdz-cased, bert-base-german-dbmdz-uncased, TurkuNLP/bert-base-finnish-cased-v1, TurkuNLP/bert-base-finnish-uncased-v1, wietsedv/bert-base-dutch-cased). We assumed 'bert-base-cased' was a path, a model identifier, or url to a directory containing vocabulary files named ['vocab.txt'] but couldn't find such vocabulary files at this path or url.
 

bert-base-cased-vocab.txt

改为

vocab.txt

总而言之,就是找不到路径,自己调整一下路径就可以了

最后

以上就是无聊外套为你收集整理的SError: Model name ‘bert-base-cased‘ was not found in tokenizers model name list的全部内容,希望文章能够帮你解决SError: Model name ‘bert-base-cased‘ was not found in tokenizers model name list所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(59)

评论列表共有 0 条评论

立即
投稿
返回
顶部