Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ Pre-prepared model in Uzbek (Cyrillic and latin script) to model the masked lang
|
|
27 |
|
28 |
You can use this model directly with a pipeline for masked language modeling:
|
29 |
|
30 |
-
<
|
31 |
from transformers import pipeline
|
32 |
|
33 |
unmasker = pipeline('fill-mask', model='rifkat/uztext-3Gb-BPE-Roberta')
|
@@ -78,7 +78,7 @@ unmasker("Алишер Навоий – улуғ ўзбек ва бошқа ту
|
|
78 |
'sequence': 'Kuchli yomg‘irlar tufayli bir qator joylarda kuchli sel oqishi kuzatildi.',
|
79 |
'token': 5853,
|
80 |
'token_str': ' joylarda'}]
|
81 |
-
</
|
82 |
|
83 |
<p><b>Training data.</b>
|
84 |
|
|
|
27 |
|
28 |
You can use this model directly with a pipeline for masked language modeling:
|
29 |
|
30 |
+
<pre><code class="language-python">
|
31 |
from transformers import pipeline
|
32 |
|
33 |
unmasker = pipeline('fill-mask', model='rifkat/uztext-3Gb-BPE-Roberta')
|
|
|
78 |
'sequence': 'Kuchli yomg‘irlar tufayli bir qator joylarda kuchli sel oqishi kuzatildi.',
|
79 |
'token': 5853,
|
80 |
'token_str': ' joylarda'}]
|
81 |
+
</code></pre>
|
82 |
|
83 |
<p><b>Training data.</b>
|
84 |
|