chinese-lert-base
  • 模型资讯
  • 模型资料

示例代码

from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks


pipeline_ins = pipeline(
		'fill-mask',
		model='dienstag/chinese-lert-base',
        model_revision='v1.0.0'
)

print(pipeline_ins('巴黎是[MASK]国的首都。'))

LERT

LERT is a linguistically-motivated pre-trained language model.

Further information: https://github.com/ymcui/LERT/blob/main/README_EN.md