Downloads · 30 days
7
7% of all-time downloads
chi-vi/chivi-lert-base
chivi-lert-base is a fill-mask model from chi-vi. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as apache-2.0.
hfl/chinese-lert-base pretrained from scratch in Chinese novels corpus with MLM task.
Downloads · 30 days
7
7% of all-time downloads
All-time downloads
97
Public
Parameters
102M
830 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors409 MB · 100%
From the Hugging Face model README
hfl/chinese-lert-base pretrained from scratch in Chinese novels corpus with MLM task.
Note: We use a custom vocabulary specifically designed for the Chinese web novel domain to minimize the number of unknown tokens encountered during NLP tasks.
Use the model with a pipeline for masked language modeling task:
from transformers import AutoTokenizer, AutoModelForMaskedLM, pipeline
tokenizer = AutoTokenizer.from_pretrained("chi-vi/chivi-lert-base")
model = AutoModelForMaskedLM.from_pretrained("chi-vi/chivi-lert-base")
pipe = pipeline("fill-mask", model=model, tokenizer=tokenizer)
print(pipe("9月14号周日晚间,美林公司同意以440亿美元出售[UNK]米国银行。"))