Closed PABannier closed 11 months ago
@PABannier That file needs to be in models/vocab.txt:
models/vocab.txt
# Even if bark relies on GPT to encode text, it uses BertTokenizer (WordPiece) with open(dir_model / "vocab.txt", "r", encoding="utf-8") as fin: vocab = fin.readlines()
@vietanhdev It depends on which dir_model you specify. You could choose models in which case, you should indeed place vocab.txt in models.
dir_model
models
vocab.txt
@PABannier That file needs to be in
models/vocab.txt
: