Downloads · 30 days
632
1% of all-time downloads
recobo/agriculture-bert-uncased
agriculture-bert-uncased is a fill-mask model from recobo. Use it when you need the model to fill a missing word. It is set up for transformers.
A BERT-based language model further pre-trained from the checkpoint of SciBERT. The dataset gathered is a balance between scientific and general works in agriculture domain and encompassing knowledge from different ar…
Downloads · 30 days
632
1% of all-time downloads
All-time downloads
69.1K
Public
Repo size
1.8 GB
Likes
26
Public
Click a slice to open those files.
.bin440 MB · 100%
From the Hugging Face model README
A BERT-based language model further pre-trained from the checkpoint of SciBERT. The dataset gathered is a balance between scientific and general works in agriculture domain and encompassing knowledge from different areas of agriculture research and practical knowledge.
The corpus contains 1.2 million paragraphs from National Agricultural Library (NAL) from the US Gov. and 5.3 million paragraphs from books and common literature from the 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="recobo/agriculture-bert-uncased",
tokenizer="recobo/agriculture-bert-uncased"
)
fill_mask("[MASK] is the practice of cultivating plants and livestock.")