Update README.md
Browse files
README.md
CHANGED
@@ -24,11 +24,15 @@ widget:
|
|
24 |
Pre-prepared model in Uzbek (Cyrillic and latin script) to model the masked language and predict the next sentences.
|
25 |
|
26 |
<p><b>How to use.</b>
|
|
|
27 |
You can use this model directly with a pipeline for masked language modeling:
|
28 |
|
29 |
from transformers import pipeline
|
|
|
30 |
unmasker = pipeline('fill-mask', model='rifkat/uztext-3Gb-BPE-Roberta')
|
|
|
31 |
unmasker("Алишер Навоий – улуғ ўзбек ва бошқа туркий халқларнинг <mask>, мутафаккири ва давлат арбоби бўлган.")
|
|
|
32 |
[{'score': 0.5902208685874939,
|
33 |
'sequence': 'Алишер Навоий – улуғ ўзбек ва бошқа туркий халқларнинг шоири, мутафаккири ва давлат арбоби бўлган.',
|
34 |
'token': 28809,
|
|
|
24 |
Pre-prepared model in Uzbek (Cyrillic and latin script) to model the masked language and predict the next sentences.
|
25 |
|
26 |
<p><b>How to use.</b>
|
27 |
+
|
28 |
You can use this model directly with a pipeline for masked language modeling:
|
29 |
|
30 |
from transformers import pipeline
|
31 |
+
|
32 |
unmasker = pipeline('fill-mask', model='rifkat/uztext-3Gb-BPE-Roberta')
|
33 |
+
|
34 |
unmasker("Алишер Навоий – улуғ ўзбек ва бошқа туркий халқларнинг <mask>, мутафаккири ва давлат арбоби бўлган.")
|
35 |
+
|
36 |
[{'score': 0.5902208685874939,
|
37 |
'sequence': 'Алишер Навоий – улуғ ўзбек ва бошқа туркий халқларнинг шоири, мутафаккири ва давлат арбоби бўлган.',
|
38 |
'token': 28809,
|