kz209 commited on
Commit
f3984f1
·
1 Parent(s): 3b35717
Files changed (1) hide show
  1. utils/model.py +1 -1
utils/model.py CHANGED
@@ -16,7 +16,7 @@ class Model():
16
  device_map="auto",
17
  )
18
 
19
- def gen(self, content, temp=0.0, max_length=500):
20
  sequences = self.pipeline(
21
  content,
22
  max_new_tokens=max_length,
 
16
  device_map="auto",
17
  )
18
 
19
+ def gen(self, content, temp=0.1, max_length=500):
20
  sequences = self.pipeline(
21
  content,
22
  max_new_tokens=max_length,