pouya-pezeshkpour commited on
Commit
f80c40e
1 Parent(s): b61207b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -2
README.md CHANGED
@@ -30,8 +30,6 @@ model = BertModel.from_pretrained(model_name)
30
 
31
  def run_model(input_string):
32
  input_ids = tokenizer.encode(input_string, return_tensors="pt")
33
- #res = model.generate(input_ids, **generator_args)
34
- #output = tokenizer.batch_decode(res, skip_special_tokens=True)
35
  output = model(input_ids)
36
  print(output)
37
  return output
 
30
 
31
  def run_model(input_string):
32
  input_ids = tokenizer.encode(input_string, return_tensors="pt")
 
 
33
  output = model(input_ids)
34
  print(output)
35
  return output