Closed heatingma closed 7 months ago
sorry, the code is
tokenizer = T5Tokenizer.from_pretrained(
args.pretrained_model_path,
subfolder="tokenizer"
)
I have resolved this issue by upgrading the transformer version from 4.31.0 to 4.37.0
When the code was executed to
the following error occurred
What is the reason for this? Is it because the
t2v_required_models/tokenizer/spiece.model
file on the hugging face is outdated?