amc-madalin commited on
Commit
726a3fb
1 Parent(s): e77c4ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -33,7 +33,7 @@ while True:
33
  break
34
 
35
  inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False, padding=True, truncation=True, max_length=512)
36
- response = olmo.generate(**inputs, max_length=512, pad_token_id=tokenizer.eos_token_id, eos_token_id=tokenizer.eos_token_id, do_sample=True, top_k=50, top_p=0.95)
37
  reply = tokenizer.decode(response[0], skip_special_tokens=True)
38
  print("AI: ", reply)
39
  ```
 
33
  break
34
 
35
  inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False, padding=True, truncation=True, max_length=512)
36
+ response = model.generate(**inputs, max_length=512, pad_token_id=tokenizer.eos_token_id, eos_token_id=tokenizer.eos_token_id, do_sample=True, top_k=50, top_p=0.95)
37
  reply = tokenizer.decode(response[0], skip_special_tokens=True)
38
  print("AI: ", reply)
39
  ```