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.
Masked language modeling (MLM): taking a sentence, the model randomly masks 15% of the words in the input then run
the entire masked sentence through the model and has to predict the masked words. This is different from traditional
recurrent neural networks (RNNs) that usually see the words one after the other, or from autoregressive models like
GPT internally masks the future tokens. It allows the model to learn a bidirectional representation of the
sentence.
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.")
Runs of recobo agriculture-bert-uncased on huggingface.co
43
Total runs
-5
24-hour runs
-20
3-day runs
-13
7-day runs
-64
30-day runs
More Information About agriculture-bert-uncased huggingface.co Model
agriculture-bert-uncased huggingface.co
agriculture-bert-uncased huggingface.co is an AI model on huggingface.co that provides agriculture-bert-uncased's model effect (), which can be used instantly with this recobo agriculture-bert-uncased model. huggingface.co supports a free trial of the agriculture-bert-uncased model, and also provides paid use of the agriculture-bert-uncased. Support call agriculture-bert-uncased model through api, including Node.js, Python, http.
agriculture-bert-uncased huggingface.co is an online trial and call api platform, which integrates agriculture-bert-uncased's modeling effects, including api services, and provides a free online trial of agriculture-bert-uncased, you can try agriculture-bert-uncased online for free by clicking the link below.
recobo agriculture-bert-uncased online free url in huggingface.co:
agriculture-bert-uncased is an open source model from GitHub that offers a free installation service, and any user can find agriculture-bert-uncased on GitHub to install. At the same time, huggingface.co provides the effect of agriculture-bert-uncased install, users can directly use agriculture-bert-uncased installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
agriculture-bert-uncased install url in huggingface.co: