0

I am trying to run Llama 2 model from HuggingFace. Strangely these lines work fine on Colab, but give an error on Mac.

Code:

    from transformers import AutoTokenizer
    import transformers
    import torch

    model = "meta-llama/Llama-2-13b-hf"
    tokenizer = AutoTokenizer.from_pretrained(model)

Error on Mac: Exception: data did not match any variant of untagged enum PyNormalizerTypeWrapper at line 49 column 3

Any suggestions for how to resolve this? Google search not helpful.

Thanks, Kushal.

0 Answers0