SustcZhangYX
commited on
Commit
·
7f04e30
1
Parent(s):
17da505
Update EnvGPTv2
Browse files
exp.py
CHANGED
@@ -19,7 +19,7 @@ messages = [
|
|
19 |
# Pass top_p and temperature directly in the pipeline call
|
20 |
outputs = pipeline(
|
21 |
messages,
|
22 |
-
max_new_tokens=
|
23 |
top_p=0.7, # Add nucleus sampling
|
24 |
temperature=0.9, # Add temperature control
|
25 |
)
|
|
|
19 |
# Pass top_p and temperature directly in the pipeline call
|
20 |
outputs = pipeline(
|
21 |
messages,
|
22 |
+
max_new_tokens=4096,
|
23 |
top_p=0.7, # Add nucleus sampling
|
24 |
temperature=0.9, # Add temperature control
|
25 |
)
|