RoFormer_pytorch icon indicating copy to clipboard operation
RoFormer_pytorch copied to clipboard

关于模型转换问题

Open yang-zi-jiang opened this issue 2 years ago • 1 comments

请问怎样把bert4keras保存的模型转成pytorch, 是用model.save_weights()保存的 使用您提供的convert_roformer_original_tf_checkpoint_to_pytorch提示 RuntimeError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for

yang-zi-jiang avatar Jun 20 '22 05:06 yang-zi-jiang

image 确保你的tf权重是这个格式

JunnYu avatar Jun 20 '22 13:06 JunnYu