Skip to content

Commit

Permalink
fix(components): remove default prediction column names in evaluation…
Browse files Browse the repository at this point in the history
… classification component to fix incorrect column names for bigquery data source

PiperOrigin-RevId: 626116194
  • Loading branch information
jsondai authored and Google Cloud Pipeline Components maintainers committed Apr 18, 2024
1 parent 2a8d39e commit 2d839fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/google-cloud/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Upcoming release
* Use larger base reward model when tuning `text-bison@001`, `chat-bison@001` and `t5-xxl` with the `preview.llm.rlhf_pipeline`.
* Move `preview.model_evaluation.autosxs_pipeline` to `v1.model_evaluation.autosxs_pipeline`.
* Remove default prediction column names in `v1.model_evaluation.classification_component` component to fix pipeline errors when using bigquery data source.

## Release 2.13.1
* Fix model name preprocess error, pass correct model to `ModelImportEvaluationOp` component in `v1.model_evaluation.evaluation_llm_text_generation_pipeline` and `v1.model_evaluation.evaluation_llm_classification_pipeline`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def model_evaluation_classification(
ground_truth_bigquery_source: str = '',
classification_type: str = 'multiclass',
class_labels: List[str] = [],
prediction_score_column: str = 'prediction.scores',
prediction_label_column: str = 'prediction.classes',
prediction_score_column: str = '',
prediction_label_column: str = '',
slicing_specs: List[Any] = [],
positive_classes: List[str] = [],
dataflow_service_account: str = '',
Expand Down

0 comments on commit 2d839fa

Please sign in to comment.