Downloads · 30 days
16
2% of all-time downloads
gigilin7/agriculture-bert-base-chinese
agriculture-bert-base-chinese is a fill-mask model from gigilin7. Use it when you need the model to fill a missing word. It is set up for transformers.
This is a bert model for agriculture domain. The self-supervised learning approach of MLM was used to train the model. - Masked language modeling (MLM): taking a sentence, the model randomly masks 15% of the words in…
Downloads · 30 days
16
2% of all-time downloads
All-time downloads
790
Public
Repo size
818 MB
Likes
3
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
This is a bert model for agriculture domain. The self-supervised learning approach of MLM was used to train the model.
from transformers import pipeline
fill_mask = pipeline(
"fill-mask",
model="gigilin7/agriculture-bert-base-chinese",
tokenizer="gigilin7/agriculture-bert-base-chinese"
)
res = fill_mask("[MASK]是許多亞洲國家的主要糧食作物。")