alvinchangw / COCON_ICLR2021

Pytorch implementation of CoCon: A Self-Supervised Approach for Controlled Text Generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Which version of huggingface/transformers do you refer to?

HunYuanfeng opened this issue · comments

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.