Ricardo1227 commited on
Commit
b3532e5
1 Parent(s): 9088c84

Fixed punctuation errors in code in README

Browse files

README中的示例代码中出现中文逗号导致示例代码运行出错,将中文逗号改为引文标点可以修复此问题。

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -124,7 +124,7 @@ res = model.chat(
124
  msgs=msgs,
125
  tokenizer=tokenizer,
126
  sampling=True, # if sampling=False, beam_search will be used by default
127
- temperature=0.7
128
  # system_prompt='' # pass system_prompt if needed
129
  )
130
  print(res)
 
124
  msgs=msgs,
125
  tokenizer=tokenizer,
126
  sampling=True, # if sampling=False, beam_search will be used by default
127
+ temperature=0.7,
128
  # system_prompt='' # pass system_prompt if needed
129
  )
130
  print(res)