ZhuiyiTechnology / roformer-sim

SimBERT升级版(SimBERTv2)!
Apache License 2.0
439 stars 73 forks source link

如何将训练后的模型转为tf或者pytorch版本的模型呢? #8

Open houpanpan opened 3 years ago

bojone commented 3 years ago

转为tf用save_weights_as_checkpoint,转为tf后可以用 https://github.com/JunnYu/RoFormer_pytorch 的脚本转tf