Exception: data did not match any variant of untagged enum ModelWrapper at line 244953 column 3

#2
by taufiq-ai - opened

Why getting this error for tokenizer?

Exception                                 Traceback (most recent call last)
<ipython-input-3-9fa72a0c0d4e> in <cell line: 6>()
      4 device = "auto"
      5 model_path = "ibm-granite/granite-3.1-2b-instruct"
----> 6 tokenizer = AutoTokenizer.from_pretrained(model_path)
<OTHER ERRORS>
Exception: data did not match any variant of untagged enum ModelWrapper at line 244953 column 3
IBM Granite org

Hi @taufiq-ai , can you share what version of transformers you're using? Also, can you post the larger stack trace with line numbers of where the exception itself is being generated? This will help us track down the issue.

Sign up or log in to comment