ClueAI commited on
Commit
4b2c1af
1 Parent(s): ba4c9dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -47,7 +47,7 @@ def preprocess(text):
47
  def postprocess(text):
48
  return text.replace("_", "\n")
49
 
50
- def answer(text, sample=False, top_p=0.6):
51
  '''sample:是否抽样。生成任务,可以设置为True;
52
  top_p:0-1之间,生成的内容越多样'''
53
  text = preprocess(text)
 
47
  def postprocess(text):
48
  return text.replace("_", "\n")
49
 
50
+ def answer(text, sample=False, top_p=0.8):
51
  '''sample:是否抽样。生成任务,可以设置为True;
52
  top_p:0-1之间,生成的内容越多样'''
53
  text = preprocess(text)