fathan commited on
Commit
2855852
1 Parent(s): df454a9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
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
- # IJEBERTweet: IndoBERTweet-base
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/ijebertweet-codemixed-indobertweet-base")
71
- model = AutoModel.from_pretrained("fathan/ijebertweet-codemixed-indobertweet-base")
72
 
73
  ```
74
  ### Masked language model
75
  ```python
76
  from transformers import pipeline
77
 
78
- pretrained_model = "fathan/ijebertweet-codemixed-indobertweet-base"
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: IndoBERTweet-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-indobertweet-base")
71
+ model = AutoModel.from_pretrained("fathan/ijebert-codemixed-indobertweet-base")
72
 
73
  ```
74
  ### Masked language model
75
  ```python
76
  from transformers import pipeline
77
 
78
+ pretrained_model = "fathan/ijebert-codemixed-indobertweet-base"
79
 
80
  fill_mask = pipeline(
81
  "fill-mask",