HFHAB commited on
Commit
1d5a3bc
·
verified ·
1 Parent(s): 6276bbf

Update main.py

Browse files

trust_remote_code = True

Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -16,6 +16,7 @@ class Item(BaseModel):
16
  max_new_tokens: int = 1048
17
  top_p: float = 0.15
18
  repetition_penalty: float = 1.0
 
19
 
20
  def format_prompt(message, history):
21
  prompt = "<s>"
 
16
  max_new_tokens: int = 1048
17
  top_p: float = 0.15
18
  repetition_penalty: float = 1.0
19
+ trust_remote_code = True
20
 
21
  def format_prompt(message, history):
22
  prompt = "<s>"