We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528a1ec commit 7adfc50Copy full SHA for 7adfc50
generative-proof-of-concept-CPU-preprocessing-in-memory.py
@@ -87,7 +87,7 @@ def objective(trial: optuna.Trial) -> float:
87
88
GENERATION_PROMPT_LEN = 25
89
MAX_NEW_TOKENS = MAX_SEQ_LENGTH - GENERATION_PROMPT_LEN
90
- RESULT_CUTOFF = 20 # 100 # <---<< In production 100 # Only print out verbose text samples when perplexity is < RESULT_CUTOFF
+ RESULT_CUTOFF = 50 # 20 # 100 # <---<< In production 100 # Only print out verbose text samples when perplexity is < RESULT_CUTOFF
91
92
if GENERATION_PROMPT_LEN + MAX_NEW_TOKENS > MAX_SEQ_LENGTH:
93
raise ValueError("Sequence length overflow: Generated text length (GENERATION_PROMPT_LEN + MAX_NEW_TOKENS) "
0 commit comments