Skip to content

Commit 1fa8cf9

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Increase generation prompt length to original value of 25.
1 parent cc0f881 commit 1fa8cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def objective(trial: optuna.Trial) -> float:
8484

8585
## Generation time configurables: ##########
8686

87-
GENERATION_PROMPT_LEN = 10
87+
GENERATION_PROMPT_LEN = 25
8888
MAX_NEW_TOKENS = MAX_SEQ_LENGTH - GENERATION_PROMPT_LEN
8989
RESULT_CUTOFF = 20 # Only print out verbose text samples when perplexity is < RESULT_CUTOFF
9090

0 commit comments

Comments
 (0)