sgns.sogou.char.bz2
词向量 RNN
在线加载模型地址

确定自己使用的框架并导入对应的库。导入库实现样例代码可参考 文档中心-预训练模型使用教程

在代码中实现加载预训练模型地址

调用模型的实现方法
from flyai.utils import remote_helper
from gensim.models import KeyedVectors

pretrain_path = remote_helper.get_remote_date('https://www.flyai.com/m/sgns.sogou.char.bz2')
data_root = os.path.splitext(pretrain_path)[0]
# 加载词向量
wv_from_text = KeyedVectors.load_word2vec_format(data_root, binary=False, encoding="utf8",  unicode_errors='ignore')