怎么使用其他的模型? #293
Unanswered
RRooggeerr
asked this question in
Q&A
怎么使用其他的模型?
#293
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我想使用哈工大讯飞联合实验室发布法律领域ELECTRA预训练模型,legal-ELECTRA-small, Chinese: 12-layer, 256-hidden, 4-heads, 12M parameters。这个来做对比实验,这两行代码应该怎么修改?1.plm, tokenizer, _model_config, WrapperClass = load_plm("bert", "./lawformer")
model = AutoModelForMaskedLM.from_pretrained('./lawformer')
我在实例文档中没看到示例,帮忙解答下!谢谢!
Beta Was this translation helpful? Give feedback.
All reactions