Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ widget:
|
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
|
| 19 |
-
#
|
| 20 |
|
| 21 |
## About
|
| 22 |
This is a pre-trained masked language model for code-mixed Indonesian-Javanese-English tweets data.
|
|
@@ -67,15 +67,15 @@ The following are the results obtained from the training:
|
|
| 67 |
### Load model and tokenizer
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModel
|
| 70 |
-
tokenizer = AutoTokenizer.from_pretrained("fathan/
|
| 71 |
-
model = AutoModel.from_pretrained("fathan/
|
| 72 |
|
| 73 |
```
|
| 74 |
### Masked language model
|
| 75 |
```python
|
| 76 |
from transformers import pipeline
|
| 77 |
|
| 78 |
-
pretrained_model = "fathan/
|
| 79 |
|
| 80 |
fill_mask = pipeline(
|
| 81 |
"fill-mask",
|
|
|
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
|
| 19 |
+
# IJEBERT: BERT-base
|
| 20 |
|
| 21 |
## About
|
| 22 |
This is a pre-trained masked language model for code-mixed Indonesian-Javanese-English tweets data.
|
|
|
|
| 67 |
### Load model and tokenizer
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModel
|
| 70 |
+
tokenizer = AutoTokenizer.from_pretrained("fathan/ijebert-codemixed-bert-base")
|
| 71 |
+
model = AutoModel.from_pretrained("fathan/ijebert-codemixed-bert-base")
|
| 72 |
|
| 73 |
```
|
| 74 |
### Masked language model
|
| 75 |
```python
|
| 76 |
from transformers import pipeline
|
| 77 |
|
| 78 |
+
pretrained_model = "fathan/ijebert-codemixed-bert-base"
|
| 79 |
|
| 80 |
fill_mask = pipeline(
|
| 81 |
"fill-mask",
|