Closed huiyangzhou closed 3 years ago
tokenizer = T5Tokenizer.from_pretrained("imxly/t5-pegasus")#google/mt5-base
OSError: Can't load tokenizer for 'imxly/t5-pegasus'. Make sure that:
'imxly/t5-pegasus' is a correct model identifier listed on 'https://huggingface.co/models'
or 'imxly/t5-pegasus' is the correct path to a directory containing relevant tokenizer files
tokenizer = BertTokenizer.from_pretrained("imxly/t5-pegasus")
tokenizer = BertTokenizer.from_pretrained("imxly/t5-pegasus") 不能直接用BertTokenizer哦
tokenizer = T5Tokenizer.from_pretrained("imxly/t5-pegasus")#google/mt5-base
OSError: Can't load tokenizer for 'imxly/t5-pegasus'. Make sure that:
'imxly/t5-pegasus' is a correct model identifier listed on 'https://huggingface.co/models'
or 'imxly/t5-pegasus' is the correct path to a directory containing relevant tokenizer files