burakaytan
commited on
Commit
•
ed5a1c3
1
Parent(s):
ffd6166
Update README.md
Browse files
README.md
CHANGED
@@ -17,8 +17,8 @@ Load transformers library with:
|
|
17 |
```python
|
18 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
19 |
|
20 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
21 |
-
model = AutoModelForMaskedLM.from_pretrained("
|
22 |
```
|
23 |
|
24 |
|
@@ -29,8 +29,8 @@ from transformers import pipeline
|
|
29 |
|
30 |
fill_mask = pipeline(
|
31 |
"fill-mask",
|
32 |
-
model="
|
33 |
-
tokenizer="
|
34 |
)
|
35 |
|
36 |
fill_mask("iki ülke arasında <mask> başladı")
|
|
|
17 |
```python
|
18 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
19 |
|
20 |
+
tokenizer = AutoTokenizer.from_pretrained("TURKCELL/roberta-base-turkish-uncased")
|
21 |
+
model = AutoModelForMaskedLM.from_pretrained("TURKCELL/roberta-base-turkish-uncased")
|
22 |
```
|
23 |
|
24 |
|
|
|
29 |
|
30 |
fill_mask = pipeline(
|
31 |
"fill-mask",
|
32 |
+
model="TURKCELL/roberta-base-turkish-uncased",
|
33 |
+
tokenizer="TURKCELL/roberta-base-turkish-uncased"
|
34 |
)
|
35 |
|
36 |
fill_mask("iki ülke arasında <mask> başladı")
|