Closed karndeb closed 1 year ago
Hi, sorry for the late reply;
I guess it is because you forget to declare vocab_file path in tokenizer_config.yml
The tokenizer_config.yml
looks like this
{
"do_tokenize_postprocess": false,
"sep_token": "[SEP]",
"cls_token": "[CLS]",
"unk_token": "[UNK]",
"pad_token": "[PAD]",
"mask_token": "[MASK]",
"do_lower_case": true,
"model_max_length": 512,
"vocab_file": "/path/to/vocab.txt", # here you need to replace with your path to vocab.txt
"sentencepiece_model_file": "/path/to/sentencepiece.bpe.model" # here you need to replace with your path to sentencepiece.bpe.model
}
I have update the repo and corresponding tokenizer_config.yml
at model hub, please pull the latest version and try again
Hi NormXU, I am getting this error.
Please help