abdouaziiz
commited on
Commit
·
49d1899
1
Parent(s):
fbf0cdc
Update README.md
Browse files
README.md
CHANGED
@@ -25,29 +25,24 @@ tags:
|
|
25 |
|
26 |
```python
|
27 |
>>> from transformers import pipeline
|
28 |
-
>>> unmasker = pipeline('fill-mask', model='abdouaziiz/
|
29 |
-
>>> unmasker("
|
30 |
-
|
31 |
-
[{'sequence': '
|
32 |
-
'score': 0.
|
33 |
-
'token':
|
34 |
-
|
35 |
-
|
36 |
-
'
|
37 |
-
|
38 |
-
'
|
39 |
-
|
40 |
-
|
41 |
-
'
|
42 |
-
'
|
43 |
-
{'sequence': '
|
44 |
-
'score': 0.
|
45 |
-
'token':
|
46 |
-
'token_str': ' pel'},
|
47 |
-
{'sequence': 'juroom naari jullit man nanoo boole jend aw nag walla juum.',
|
48 |
-
'score': 0.0005133090307936072,
|
49 |
-
'token': 5820,
|
50 |
-
'token_str': ' juum'}]
|
51 |
```
|
52 |
|
53 |
## Training data
|
|
|
25 |
|
26 |
```python
|
27 |
>>> from transformers import pipeline
|
28 |
+
>>> unmasker = pipeline('fill-mask', model='abdouaziiz/bert-base-wolof')
|
29 |
+
>>> unmasker("kuy yoot du seqet <mask>.")
|
30 |
+
|
31 |
+
[{'sequence': '[CLS] kuy yoot du seqet. [SEP]',
|
32 |
+
'score': 0.09505125880241394,
|
33 |
+
'token': 13578},
|
34 |
+
{'sequence': '[CLS] kuy yoot du daw. [SEP]',
|
35 |
+
'score': 0.08882280439138412,
|
36 |
+
'token': 679},
|
37 |
+
{'sequence': '[CLS] kuy yoot du yoot. [SEP]',
|
38 |
+
'score': 0.057790059596300125,
|
39 |
+
'token': 5117},
|
40 |
+
{'sequence': '[CLS] kuy yoot du seqat. [SEP]',
|
41 |
+
'score': 0.05671025067567825,
|
42 |
+
'token': 4992},
|
43 |
+
{'sequence': '[CLS] kuy yoot du yaqu. [SEP]',
|
44 |
+
'score': 0.0469999685883522,
|
45 |
+
'token': 1735}]
|
|
|
|
|
|
|
|
|
|
|
46 |
```
|
47 |
|
48 |
## Training data
|