What to do when HuggingFace throws "Can't load tokenizer"

stevhliu
Thu, 17 Nov 2022 15:18:27 +0000

Hi, can you try:

from transformers import BertForMaskedLM

model = BertForMaskedLM.from_pretrained("remi/bertabs-finetuned-extractive-abstractive-summarization")

This worked for me