Thaweewat commited on
Commit
bb5ff47
1 Parent(s): bfb6d4c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -60,7 +60,8 @@ def generate_response(input_text: str) -> str:
60
  do_sample=True,
61
  top_k=1,
62
  temperature=0.5,
63
- max_new_tokens=300,
 
64
  pad_token_id=tokenizer.eos_token_id)
65
 
66
  # Tokenize input
 
60
  do_sample=True,
61
  top_k=1,
62
  temperature=0.5,
63
+ max_new_tokens=300,
64
+ repetition_penalty=1.1,
65
  pad_token_id=tokenizer.eos_token_id)
66
 
67
  # Tokenize input