from transformers import BertTokenizerFast
tokenizer = BertTokenizerFast("./vocab.txt",
        unk_token="<unk>",
        sep_token="</s>",
        cls_token="<s>",
        pad_token="<pad>",
        mask_token="[MASK]"
)
features = pipeline(
        "feature-extraction",
        model="./model",
        tokenizer=tokenizer
        )
search_features = features(text)

#IndexError: index out of range in self