pouya-pezeshkpour commited on
Commit
8549907
1 Parent(s): e34abed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -21,11 +21,11 @@ This is a mbert-based model for multiple-choice question answering.
21
  Here is an example of how you can run this model:
22
 
23
  ```python
24
- from transformers import bert-base-multilingual-uncased, bert-base-multilingual-uncasedTokenizer
25
 
26
  model_name = f"persiannlp/mt5-base-parsinlu-multiple-choice"
27
- tokenizer = bert-base-multilingual-uncasedTokenizer.from_pretrained(model_name)
28
- model = bert-base-multilingual-uncasedForConditionalGeneration.from_pretrained(model_name)
29
 
30
 
31
  def run_model(input_string, **generator_args):
 
21
  Here is an example of how you can run this model:
22
 
23
  ```python
24
+ from transformers import BertTokenizer, BertModel
25
 
26
  model_name = f"persiannlp/mt5-base-parsinlu-multiple-choice"
27
+ tokenizer = BertTokenizer.from_pretrained(model_name)
28
+ model = BertModelForConditionalGeneration.from_pretrained(model_name)
29
 
30
 
31
  def run_model(input_string, **generator_args):