Missing merges.txt

#2
by zhangyi0105 - opened

When i use the model downloaded at local device, like this:
model_name_or_path = "./property/roberta-large-mnli"
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)

There is a error arise:
with open(merges_file, encoding="utf-8") as merges_handle:
TypeError: expected str, bytes or os.PathLike object, not NoneType

It needs the "merges.txt" file.

Sign up or log in to comment