Skip to content
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

Updated to latest recommended model (Gemini 1.5 Flash). #113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dynamicwebpaige
Copy link

text-bison is using the outdated PaLM v2 models; Gemini 1.5 Flash now has tuning support, and is the recommended model for text and multimodal analysis.

@@ -19,7 +19,7 @@ class _TunableClassifier(
class VertexClassifier(_TunableClassifier, _SingleLabelMixin):
def __init__(
self,
base_model: str = "text-bison@002",
base_model: str = "gemini-1.5-flash",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe changing the model name for tunable estimators is not enough.

@@ -12,7 +12,7 @@ class TunableVertexText2Text(
):
def __init__(
self,
base_model: str = "text-bison@002",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants