xriminact commited on
Commit
bca33dd
·
verified ·
1 Parent(s): 3ca46c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -22,9 +22,8 @@ ov_model = OVModelForCausalLM.from_pretrained(
22
  trust_remote_code=True,
23
  )
24
 
25
- tokenizer_kwargs = model_configuration.get("tokenizer_kwargs", {})
26
  test_string = "What is OpenVino?"
27
- input_tokens = tok(test_string, return_tensors="pt", **tokenizer_kwargs)
28
  answer = ov_model.generate(**input_tokens, max_new_tokens=200)
29
  print(tok.batch_decode(answer, skip_special_tokens=True)[0])
30
  ```
 
22
  trust_remote_code=True,
23
  )
24
 
 
25
  test_string = "What is OpenVino?"
26
+ input_tokens = tok(test_string, return_tensors="pt")
27
  answer = ov_model.generate(**input_tokens, max_new_tokens=200)
28
  print(tok.batch_decode(answer, skip_special_tokens=True)[0])
29
  ```