bigframes.ml.llm.GeminiTextGenerator.fit#

GeminiTextGenerator.fit(X: DataFrame | Series | DataFrame | Series, y: DataFrame | Series | DataFrame | Series) GeminiTextGenerator[source]#
Fine tune GeminiTextGenerator model. Only support “gemini-1.5-pro-002”,

“gemini-1.5-flash-002”, “gemini-2.0-flash-001”, and “gemini-2.0-flash-lite-001”models for now.

Note

This product or feature is subject to the “Pre-GA Offerings Terms” in the General Service Terms section of the Service Specific Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products and features are available “as is” and might have limited support. For more information, see the launch stage descriptions (https://cloud.google.com/products#product-launch-stages).

Parameters:
Returns:

Fitted estimator.

Return type:

GeminiTextGenerator