-
Notifications
You must be signed in to change notification settings - Fork 48
fix: llm palm score tests #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -54,7 +54,7 @@ def test_llm_palm_configure_fit(llm_fine_tune_df_default_index, llm_remote_text_ | |||
model_name="text-bison", max_iterations=1 | |||
) | |||
|
|||
df = llm_fine_tune_df_default_index.dropna() | |||
df = llm_fine_tune_df_default_index.dropna().sample(n=100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add retry for experimental features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@@ -54,7 +54,7 @@ def test_llm_palm_configure_fit(llm_fine_tune_df_default_index, llm_remote_text_ | |||
model_name="text-bison", max_iterations=1 | |||
) | |||
|
|||
df = llm_fine_tune_df_default_index.dropna() | |||
df = llm_fine_tune_df_default_index.dropna().sample(n=100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious how much run time reduction with sampling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It didn't improve much. It still takes the same amount of time around 30-40 mins, and the durations has some variations.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes internal # 336527025🦕