Which version of huggingface/transformers do you refer to?
HunYuanfeng opened this issue · 0 comments
HunYuanfeng commented
I meet on this problem:
from .modeling_tf_utils import TFPreTrainedModel, get_initializer, keras_serializable, shape_list
ImportError: cannot import name 'keras_serializable'
The version of huggingface/transformers in my env is 2.10.0.