albert和roberta等pytorch模型转换文件及参数

albert transformers3中的转换文件

--tf_checkpoint_path=D:\DL\pretrain_model\albert\albert_xlarge --albert_config_file=D:\DL\pretrain_model\albert\albert_xlarge/config.json --pytorch_dump_path=D:\DL\pretrain_model\albert\albert_xlarge/pytorch_model.bin

 

roberta CCF-BDCI-Sentiment-Analysis-Baseline项目有个转换文件,windows下好像是库装没好没成功,直接在linux上转换的

--tf_checkpoint_path=F:/working/Archive/dl/pretrain_model/nlp/roeberta_zh_L-24_H-1024_A-16 --pytorch_dump_path=F:/working/Archive/dl/pretrain_model/nlp/roeberta_zh_L-24_H-1024_A-16/pytorch --bert_config_file F:/working/Archive/dl/pretrain_model/nlp/roeberta_zh_L-24_H-102

 

posted @ 2020-11-01 19:26  地表最强队队员  阅读(542)  评论(0编辑  收藏  举报