Shushant Pudasaini
commited on
Commit
•
8d3e10b
1
Parent(s):
c5a3afe
model card
Browse fileschanges model card
README.md
CHANGED
@@ -9,5 +9,6 @@ model = AutoModelForMaskedLM.from_pretrained("Shushant/nepaliBERT")
|
|
9 |
|
10 |
from transformers import pipeline
|
11 |
|
12 |
-
fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer, )
|
|
|
13 |
```
|
|
|
9 |
|
10 |
from transformers import pipeline
|
11 |
|
12 |
+
fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer, )
|
13 |
+
from pprint import pprint pprint(fill_mask(f"तिमीलाई कस्तो {tokenizer.mask_token}."))
|
14 |
```
|