Downloads · 30 days
17
1% of all-time downloads
muhtasham/TajBERTo
TajBERTo is a fill-mask model from muhtasham. Use it when you need the model to fill a missing word. It is set up for transformers.
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
2.4K
Public
Parameters
83.5M
2.7 GB on disk
Likes
5
Public
Click a slice to open those files.
.pt1.3 GB · 50%
How the weights are stored.
F3283.5M · 100%
From the Hugging Face model README
from transformers import pipeline
fill_mask = pipeline(
"fill-mask",
model="muhtasham/TajBERTo",
tokenizer="muhtasham/TajBERTo"
)
fill_mask("Пойтахти <mask> Душанбе")
# This is the beginning of a beautiful <mask>.
{'score': 0.1952248513698578,
'sequence': 'Пойтахти шаҳри Душанбе',
'token': 710,
'token_str': ' шаҳри'},
{'score': 0.029092855751514435,
'sequence': 'Пойтахти дар Душанбе',
'token': 310,
'token_str': ' дар'},
{'score': 0.020065447315573692,
'sequence': 'Пойтахти Душанбе Душанбе',
'token': 717,
'token_str': ' Душанбе'},
{'score': 0.016725927591323853,
'sequence': 'Пойтахти Тоҷикистон Душанбе',
'token': 424,
'token_str': ' Тоҷикистон'},
{'score': 0.011400512419641018,
'sequence': 'Пойтахти аз Душанбе',
'token': 335,
'token_str': ' аз'}