Skip to content

Commit d8db0f1

Browse files
Update phishing_email_detection_gpt2.py
Comment out an artifact of GPT test so we this can lint and run.
1 parent d5bdbce commit d8db0f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phishing_email_detection_gpt2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ def from_config(cls, config):
343343
cerebros_time_per_model = cerebros_time_all_models_min / (moities_to_try * tries_per_moity)
344344

345345
print(f"Cerebros trained 2 models FROM A COLD START in ONLY {cerebros_time_all_models_min} min. Cerebros took only {cerebros_time_per_model} minutes on average per model.")
346-
print(f"GPT2 took {gpt_time_on_one_model_min} just to FINE TUNE one PRE - TRAINED model. Although this is a small scale test, this shows the advantage of scaling in ON timing VS ON**2 timing.")
346+
# Un-comment this !!!!!
347+
# print(f"GPT2 took {gpt_time_on_one_model_min} just to FINE TUNE one PRE - TRAINED model. Although this is a small scale test, this shows the advantage of scaling in ON timing VS ON**2 timing.")
347348

348349

349350
print(f'Cerebros best accuracy achieved is {result}')

0 commit comments

Comments
 (0)