Which version of huggingface/transformers do you refer to?
HunYuanfeng opened this issue · comments
Mr.Yu 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.