How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="hfl/chinese-lert-small")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("hfl/chinese-lert-small")
model = AutoModelForMaskedLM.from_pretrained("hfl/chinese-lert-small")
Quick Links

LERT

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

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

Downloads last month
734
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including hfl/chinese-lert-small

Paper for hfl/chinese-lert-small