-
RoFormer_pytorch:RoFormer_pytorch下载
资源介绍
PyTorch RoFormer
原版Tensorflow权重()
(提取码:xy9x)
已经转化为PyTorch权重
(提取码:a79k)
手动权重转换
python convert_roformer_original_tf_checkpoint_to_pytorch.py \
--tf_checkpoint_path=xxxxxx/chinese_roformer_L-12_H-768_A-12/bert_model.ckpt \
--roformer_config_file=pretrained_models/chinese_roformer_base/config.json \
--pytorch_dump_path=pretrained_models/chinese_roformer_base/pytorch_model.bin
tf与pytorch精