Skip to content

Commit 237ae53

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Syntax / Fix typo...
1 parent 5a7c323 commit 237ae53

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
@@ -795,7 +795,7 @@ def create_dataset(raw_text_samples, tokenizer, sample_expansion_batch_size=50,
795795
pd.DataFrame(phase_i_b_history.history)
796796
# To Do: Find best metric: Reference: cerebros/simplecerebrosrandomsearch/simple_cerebros_random_search.py: Line ~ 590
797797
# = phase_i_b_history.
798-
result_phase_i_b = float(phase_i_b_history[''perplexity_phase_i_b''].min())
798+
result_phase_i_b = float(phase_i_b_history['perplexity_phase_i_b'].min())
799799
mlflow.log_metric("phase_i_b-perplexity", result_phase_i_b, step=trial_number)
800800

801801
print("########### Phase I-b Model Checkpoint Generation Samples: ###########")

0 commit comments

Comments
 (0)