地址链接:https://www.flyai.com/m/roberta_chn_base.pdparams
查看来源:https://paddlenlp.bj.bcebos.com/models/transformers/roberta_base/roberta_chn_base.pdparams
确定自己使用的框架并导入对应的库。导入库实现样例代码可参考 文档中心-预训练模型使用教程
在代码中实现加载预训练模型地址
from paddlenlp.transformers import RobertaModel
from flyai.utils import remote_helper
path = remote_helper.get_remote_date('https://www.flyai.com/m/GPT_LCCC-base-tf.zip')
roberta = RobertaModel.from_pretrained(path)