You can use this model with Transformers
pipeline
for masked token prediction.
>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='Davlan/oyo-bert-base')
>>> unmasker("Ọjọ kẹsan-an, [MASK] Kẹjọ ni wọn ri oku Baba")
[{'score': 0.9981744289398193, 'token': 3785, 'token_str': 'osu', 'sequence': 'ojo kesan - an, osu kejo ni won ri oku baba'}, {'score': 0.0015279919607564807, 'token': 3355, 'token_str': 'ojo', 'sequence': 'ojo kesan - an, ojo kejo ni won ri oku baba'}, {'score': 0.0001734074903652072, 'token': 11780, 'token_str': 'osun', 'sequence': 'ojo kesan - an, osun kejo ni won ri oku baba'}, {'score': 9.066923666978255e-05, 'token': 21579, 'token_str': 'oṣu', 'sequence': 'ojo kesan - an, oṣu kejo ni won ri oku baba'}, {'score': 1.816015355871059e-05, 'token': 3387, 'token_str': 'odun', 'sequence': 'ojo kesan - an, odun kejo ni won ri oku baba'}]
Acknowledgment
We thank
@stefan-it
for providing the pre-processing and pre-training scripts. Finally, we would like to thank Google Cloud for providing us access to TPU v3-8 through the free cloud credits. Model trained using flax, before converted to pytorch.
BibTeX entry and citation info.
Runs of Davlan oyo-bert-base on huggingface.co
345
Total runs
-6
24-hour runs
-1
3-day runs
52
7-day runs
-324
30-day runs
More Information About oyo-bert-base huggingface.co Model
oyo-bert-base huggingface.co is an AI model on huggingface.co that provides oyo-bert-base's model effect (), which can be used instantly with this Davlan oyo-bert-base model. huggingface.co supports a free trial of the oyo-bert-base model, and also provides paid use of the oyo-bert-base. Support call oyo-bert-base model through api, including Node.js, Python, http.
oyo-bert-base huggingface.co is an online trial and call api platform, which integrates oyo-bert-base's modeling effects, including api services, and provides a free online trial of oyo-bert-base, you can try oyo-bert-base online for free by clicking the link below.
Davlan oyo-bert-base online free url in huggingface.co:
oyo-bert-base is an open source model from GitHub that offers a free installation service, and any user can find oyo-bert-base on GitHub to install. At the same time, huggingface.co provides the effect of oyo-bert-base install, users can directly use oyo-bert-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.