pouya-pezeshkpour commited on
Commit
46e7773
1 Parent(s): f15fd84

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ model = AutoModelForMultipleChoice.from_pretrained(model_name, config = config)
31
 
32
 
33
  def run_model(input_string):
34
- input_ids = tokenizer(input_string, return_tensors="pt")
35
  output = model(input_ids)
36
  print(output)
37
  return output
 
31
 
32
 
33
  def run_model(input_string):
34
+ input_ids = tokenizer.encode(input_string, return_tensors="pt")
35
  output = model(input_ids)
36
  print(output)
37
  return output