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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -25,7 +25,7 @@ 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):
 
25
 
26
  model_name = f"persiannlp/mt5-base-parsinlu-multiple-choice"
27
  tokenizer = BertTokenizer.from_pretrained(model_name)
28
+ model = BertModel.from_pretrained(model_name)
29
 
30
 
31
  def run_model(input_string, **generator_args):