Skip to content

Commit 052e521

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Fix broken refernce to variable name changed; Add phase_i_b_epochs to logged params.
1 parent 2c39c46 commit 052e521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def objective(trial: optuna.Trial) -> float:
173173
"num_lateral_connection_tries_per_unit": num_lateral_connection_tries_per_unit,
174174
"learning_rate":learning_rate,
175175
"epochs":epochs,
176+
"phase_i_b_epochs": phase_i_b_epochs,
176177
"batch_size":batch_size,
177178
"gradient_accumulation_steps":gradient_accumulation_steps,
178179
"minimum_levels":minimum_levels,
@@ -1257,7 +1258,7 @@ def test_text(test_prompt: str, max_new_tokens: int, sample_number: int, result:
12571258
test_prompt=sample,
12581259
max_new_tokens=MAX_NEW_TOKENS,
12591260
sample_number=counter,
1260-
result=result,
1261+
result=phase_i_a_result,
12611262
result_cutoff=RESULT_CUTOFF,
12621263
trial_id=trial_number,
12631264
test_sample_number=counter,

0 commit comments

Comments
 (0)