error loading the model in python 3.12

#3
by Lou1sM - opened

So it seems this is a TF checkpoint, and we have to pass the argument from_tf=True when loading the model. We also can't use python 3.12 and have to install sentencepiece for the tokenizer and have to install tf-keras for the loading the model. This produces errors though:
tensorflow.python.framework.errors_impl.UnknownError: Exception encountered when calling layer 'layer_norm' (type TFT5LayerNorm).

Sign up or log in to comment