snowflake-ml-python 1.37.0__tar.gz → 1.38.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/CHANGELOG.md +24 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/PKG-INFO +25 -3
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/pyproject.toml +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/env_utils.py +20 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/feature.py +8 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/online_service.py +0 -5
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/payload_utils.py +8 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/fill_mask.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/image_classification.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/image_feature_extraction.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/object_detection.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/question_answering.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/table_question_answering.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/text_classification.py +8 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/video_classification.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/visual_question_answering.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/zero_shot_audio_classification.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/zero_shot_image_classification.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/zero_shot_object_detection.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/zero_shot_text_classification.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta/model_meta.py +30 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +0 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/utils.py +95 -24
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_trainer.py +28 -3
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/stage_file.py +60 -2
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/version.py +1 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake_ml_python.egg-info/PKG-INFO +25 -3
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake_ml_python.egg-info/requires.txt +0 -1
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/LICENSE.txt +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/README.md +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/setup.cfg +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_classify_text.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_complete.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_embed_text_1024.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_embed_text_768.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_extract_answer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_finetune.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_sentiment.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_sse_client.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_summarize.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_translate.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/cortex/_util.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/env.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/dataset_error_messages.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/dataset_errors.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/error_codes.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/error_messages.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/exceptions.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/fileset_error_messages.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/fileset_errors.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/modeling_error_messages.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/exceptions/sql_error_codes.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/file_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/human_readable_id/adjectives.txt +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/human_readable_id/animals.txt +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/human_readable_id/hrid_generator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/human_readable_id/hrid_generator_base.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/init_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/lineage/lineage_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/migrator_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/platform_capabilities.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/relax_version_strategy.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/telemetry.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/type_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/connection_params.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/db_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/formatting.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/identifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/import_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/jwt_generator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/mixins.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/parallelize.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/pkg_version_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/query_result_checker.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/result.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/service_logger.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/snowflake_env.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/snowpark_dataframe_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/sql_identifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/table_manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/tee.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/temp_file_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/utils/url.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/_internal/arrow_ingestor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/data_connector.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/data_ingestor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/data_source.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/ingestor_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/data/torch_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/dataset/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/dataset/dataset.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/dataset/dataset_factory.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/dataset/dataset_metadata.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/dataset/dataset_reader.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_client/artifact.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_client/experiment_tracking_sql_client.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_entities/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_entities/experiment.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_entities/run.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_entities/run_metadata.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_experiment_info.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_logging/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_logging/experiment_logger.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/_logging/experiment_logging_context.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/callback/keras.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/callback/lightgbm.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/callback/xgboost.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/experiment_tracking.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/experiment/utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/access_manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/aggregation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/entity.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/airline_features/entities.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/airline_features/features/plane_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/airline_features/features/weather_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/airline_features/source.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/citibike_trip_features/entities.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/example_helper.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/location_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/source_data/airline.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/source_data/fraud_transactions.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/source_data/nyc_yellow_trips.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/source_data/winequality_red.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/wine_quality_features/entities.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/examples/wine_quality_features/source.yaml +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/feature_store.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/feature_view.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/interval_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/metadata_manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/online_service_http_client.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/request_source.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/spec/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/spec/builder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/spec/enums.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/spec/models.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/stream_config.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/stream_source.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/streaming_registration.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/tile_sql_generator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/fileset/embedded_stage_fs.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/fileset/fileset.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/fileset/sfcfs.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/fileset/snowfs.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/fileset/stage_fs.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/data_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/dto_schema.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/exception_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/legacy.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/protocols.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/results.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_interop/utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/arg_protocol.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/constants.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/feature_flags.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/query_helper.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/runtime_env_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/constants.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/get_instance_ip.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/mljob_launcher.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/signal_workers.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/start_mlruntime.sh +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/startup.sh +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/scripts/worker_shutdown_listener.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/stage_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/type_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/decorators.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/job.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/job_definition.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/lineage/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/lineage/lineage_node.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/batch_inference_definition.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/batch_inference_serialization.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/batch_inference_specs.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/inference_engine_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/model_impl.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/model/model_version_impl.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/deployment_step.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/metadata_ops.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/model_ops.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/param_ops.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/param_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/ops/service_ops.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/service/import_model_spec_schema.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/service/model_deployment_spec.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/service/model_deployment_spec_schema.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/_base.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/model.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/model_version.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/service.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/stage.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_client/sql/tag.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_composer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_manifest/model_manifest.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/constants.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/function_generator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/infer_function.py_template +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/infer_function_init_once.py_template +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/infer_partitioned.py_template +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/infer_table_function.py_template +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/model_method.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_method/utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_model_composer/model_user_file/model_user_file.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_env/model_env.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/_base.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/catboost.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/custom.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/_default.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/_openai_chat_wrapper.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/_task_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/audio_text_to_text.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/automatic_speech_recognition.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/conversational.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/document_question_answering.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/image_text_to_text.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/image_to_text.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/summarization.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/text2text_generation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/text_generation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/token_classification.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/translation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/huggingface/video_text_to_text.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/keras.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/lightgbm.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/mlflow.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/prophet.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/pytorch.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/sentence_transformers.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/sklearn.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/snowmlmodel.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/tensorflow.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/torchscript.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers/xgboost.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers_migrator/pytorch_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers_migrator/tensorflow_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers_migrator/tensorflow_migrator_2025_01_01.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_handlers_migrator/torchscript_migrator_2023_12_01.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta/model_blob_meta.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta/model_meta_schema.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta_migrator/migrator_plans.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_meta_migrator/migrator_v1.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_packager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_runtime/model_runtime.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_packager/model_task/model_task_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/base_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/builtins_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/core.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/dmatrix_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/numpy_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/pandas_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/pytorch_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/snowpark_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/tensorflow_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/batch/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/code_path.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/compute_pool.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/custom_model.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/event_handler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/inference_engine.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/model_signature.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/models/huggingface.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/models/huggingface_pipeline.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/openai_signatures.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/target_platform.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/task.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/type_hints.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/volatility.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/estimator_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/local_implementations/pandas_handlers.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/local_implementations/pandas_trainer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/model_specifications.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/model_trainer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/model_trainer_builder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/model_transformer_builder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_hpo_trainer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_search_udf_file.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_handlers.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/snowpark_implementations/xgboost_external_memory_trainer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/_internal/transformer_protocols.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/calibration/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/calibration/calibrated_classifier_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/affinity_propagation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/agglomerative_clustering.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/birch.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/bisecting_k_means.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/dbscan.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/feature_agglomeration.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/k_means.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/mean_shift.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/mini_batch_k_means.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/optics.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/spectral_biclustering.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/spectral_clustering.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/cluster/spectral_coclustering.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/compose/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/compose/column_transformer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/compose/transformed_target_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/elliptic_envelope.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/empirical_covariance.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/graphical_lasso.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/graphical_lasso_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/ledoit_wolf.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/min_cov_det.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/oas.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/covariance/shrunk_covariance.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/dictionary_learning.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/factor_analysis.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/fast_ica.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/incremental_pca.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/kernel_pca.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/mini_batch_dictionary_learning.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/mini_batch_sparse_pca.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/pca.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/sparse_pca.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/decomposition/truncated_svd.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/discriminant_analysis/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/discriminant_analysis/linear_discriminant_analysis.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/discriminant_analysis/quadratic_discriminant_analysis.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/ada_boost_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/ada_boost_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/bagging_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/bagging_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/extra_trees_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/extra_trees_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/gradient_boosting_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/gradient_boosting_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/isolation_forest.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/random_forest_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/random_forest_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/stacking_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/voting_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/ensemble/voting_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/generic_univariate_select.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/select_fdr.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/select_fpr.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/select_fwe.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/select_k_best.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/select_percentile.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/sequential_feature_selector.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/feature_selection/variance_threshold.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/framework/_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/framework/base.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/gaussian_process/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/gaussian_process/gaussian_process_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/gaussian_process/gaussian_process_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/impute/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/impute/iterative_imputer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/impute/knn_imputer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/impute/missing_indicator.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/impute/simple_imputer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/additive_chi2_sampler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/nystroem.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/polynomial_count_sketch.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/rbf_sampler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_approximation/skewed_chi2_sampler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_ridge/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/kernel_ridge/kernel_ridge.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/lightgbm/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/lightgbm/lgbm_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/lightgbm/lgbm_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ard_regression.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/bayesian_ridge.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/elastic_net.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/elastic_net_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/gamma_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/huber_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lars.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lars_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lasso.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lasso_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lasso_lars.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lasso_lars_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/lasso_lars_ic.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/linear_regression.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/logistic_regression.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/logistic_regression_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/multi_task_elastic_net.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/multi_task_elastic_net_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/multi_task_lasso.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/multi_task_lasso_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/orthogonal_matching_pursuit.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/passive_aggressive_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/passive_aggressive_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/perceptron.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/poisson_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ransac_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ridge.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ridge_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ridge_classifier_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/ridge_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/sgd_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/sgd_one_class_svm.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/sgd_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/theil_sen_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/linear_model/tweedie_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/manifold/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/manifold/isomap.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/manifold/mds.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/manifold/spectral_embedding.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/manifold/tsne.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/classification.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/correlation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/covariance.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/metrics_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/ranking.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/metrics/regression.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/mixture/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/mixture/bayesian_gaussian_mixture.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/mixture/gaussian_mixture.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/model_selection/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/model_selection/grid_search_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/model_selection/randomized_search_cv.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/multiclass/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/multiclass/one_vs_one_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/multiclass/one_vs_rest_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/multiclass/output_code_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/bernoulli_nb.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/categorical_nb.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/complement_nb.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/gaussian_nb.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/naive_bayes/multinomial_nb.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/k_neighbors_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/k_neighbors_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/kernel_density.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/local_outlier_factor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/nearest_centroid.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/nearest_neighbors.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/neighborhood_components_analysis.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/radius_neighbors_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neighbors/radius_neighbors_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neural_network/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neural_network/bernoulli_rbm.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neural_network/mlp_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/neural_network/mlp_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/parameters/disable_distributed_hpo.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/parameters/disable_model_tracer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/parameters/enable_anonymous_sproc.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/pipeline/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/pipeline/pipeline.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/binarizer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/k_bins_discretizer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/label_encoder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/max_abs_scaler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/min_max_scaler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/normalizer.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/one_hot_encoder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/ordinal_encoder.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/polynomial_features.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/robust_scaler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/preprocessing/standard_scaler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/semi_supervised/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/semi_supervised/label_propagation.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/semi_supervised/label_spreading.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/linear_svc.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/linear_svr.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/nu_svc.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/nu_svr.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/svc.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/svm/svr.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/tree/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/tree/decision_tree_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/tree/decision_tree_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/tree/extra_tree_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/tree/extra_tree_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/xgboost/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/xgboost/xgb_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/xgboost/xgb_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/xgboost/xgbrf_classifier.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/modeling/xgboost/xgbrf_regressor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/_client/model_monitor_sql_client.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/_client/queries/record_count.ssql +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/_client/queries/rmse.ssql +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/_manager/model_monitor_manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/entities/model_monitor_config.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/explain_visualize.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/model_monitor.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/monitoring/shap.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/registry/__init__.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/registry/_manager/model_manager.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/registry/_manager/model_parameter_reconciler.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/registry/registry.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/authentication.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/connection_params.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/html_utils.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/sparse.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/utils/sql_client.py +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake_ml_python.egg-info/SOURCES.txt +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake_ml_python.egg-info/dependency_links.txt +0 -0
- {snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake_ml_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.38.0
|
|
4
|
+
|
|
5
|
+
### New Features
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
### Behavior Changes
|
|
10
|
+
|
|
11
|
+
* Registry: For HuggingFace `text-generation` pipelines whose tokenizer defines a chat template, the
|
|
12
|
+
auto-inferred signature now matches the OpenAI Chat Completions API
|
|
13
|
+
(`_OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC`). Inputs are a single `messages` column and inference
|
|
14
|
+
controls (`temperature`, `max_completion_tokens`, `stop`, `n`, `stream`, `top_p`, `frequency_penalty`,
|
|
15
|
+
`presence_penalty`) move from `inputs` to `params` with default values. Predictions return the OpenAI
|
|
16
|
+
response shape (`id`, `object`, `created`, `model`, `choices`, `usage`); the generated text is at
|
|
17
|
+
`choices[0].message.content` instead of `outputs[0].generated_text`.
|
|
18
|
+
|
|
19
|
+
* Registry: For HuggingFace `image-text-to-text`, `video-text-to-text`, and `audio-text-to-text`
|
|
20
|
+
pipelines, the auto-inferred signature now uses `_OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC` instead of
|
|
21
|
+
`_OPENAI_CHAT_SIGNATURE_SPEC`. The input column set narrows to just `messages`, and the inference
|
|
22
|
+
controls move to `params` with default values; the output schema is unchanged.
|
|
23
|
+
|
|
24
|
+
### Deprecations
|
|
25
|
+
|
|
26
|
+
## 1.37.0 (2026-04-29)
|
|
4
27
|
|
|
5
28
|
### New Features
|
|
6
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: snowflake-ml-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.38.0
|
|
4
4
|
Summary: The machine learning client library that is used for interacting with Snowflake to build machine learning solutions.
|
|
5
5
|
Author-email: "Snowflake, Inc" <support@snowflake.com>
|
|
6
6
|
License:
|
|
@@ -250,7 +250,6 @@ Requires-Dist: pyjwt<3,>=2.0.0
|
|
|
250
250
|
Requires-Dist: pytimeparse<2,>=1.1.8
|
|
251
251
|
Requires-Dist: pyyaml<7,>=6.0
|
|
252
252
|
Requires-Dist: retrying<2,>=1.3.3
|
|
253
|
-
Requires-Dist: s3fs<2026,>=2024.6.1
|
|
254
253
|
Requires-Dist: scikit-learn<1.8
|
|
255
254
|
Requires-Dist: scipy<2,>=1.9
|
|
256
255
|
Requires-Dist: shap<1,>=0.46.0
|
|
@@ -417,7 +416,30 @@ NOTE: Version 1.7.0 is used as example here. Please choose the the latest versio
|
|
|
417
416
|
|
|
418
417
|
# Release History
|
|
419
418
|
|
|
420
|
-
## 1.
|
|
419
|
+
## 1.38.0
|
|
420
|
+
|
|
421
|
+
### New Features
|
|
422
|
+
|
|
423
|
+
### Bug Fixes
|
|
424
|
+
|
|
425
|
+
### Behavior Changes
|
|
426
|
+
|
|
427
|
+
* Registry: For HuggingFace `text-generation` pipelines whose tokenizer defines a chat template, the
|
|
428
|
+
auto-inferred signature now matches the OpenAI Chat Completions API
|
|
429
|
+
(`_OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC`). Inputs are a single `messages` column and inference
|
|
430
|
+
controls (`temperature`, `max_completion_tokens`, `stop`, `n`, `stream`, `top_p`, `frequency_penalty`,
|
|
431
|
+
`presence_penalty`) move from `inputs` to `params` with default values. Predictions return the OpenAI
|
|
432
|
+
response shape (`id`, `object`, `created`, `model`, `choices`, `usage`); the generated text is at
|
|
433
|
+
`choices[0].message.content` instead of `outputs[0].generated_text`.
|
|
434
|
+
|
|
435
|
+
* Registry: For HuggingFace `image-text-to-text`, `video-text-to-text`, and `audio-text-to-text`
|
|
436
|
+
pipelines, the auto-inferred signature now uses `_OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC` instead of
|
|
437
|
+
`_OPENAI_CHAT_SIGNATURE_SPEC`. The input column set narrows to just `messages`, and the inference
|
|
438
|
+
controls move to `params` with default values; the output schema is unchanged.
|
|
439
|
+
|
|
440
|
+
### Deprecations
|
|
441
|
+
|
|
442
|
+
## 1.37.0 (2026-04-29)
|
|
421
443
|
|
|
422
444
|
### New Features
|
|
423
445
|
|
|
@@ -8,7 +8,7 @@ description = "The machine learning client library that is used for interacting
|
|
|
8
8
|
classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Database", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Information Analysis",]
|
|
9
9
|
requires-python = ">=3.9, <3.14"
|
|
10
10
|
dynamic = [ "version", "readme",]
|
|
11
|
-
dependencies = [ "anyio>=3.5.0,<5", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=2024.6.1,<2026", "h2>=4.3.0,<5", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<3", "packaging>=20.9,<26", "pandas>=2.1.4,<3", "platformdirs<5", "pyarrow<19.0.0", "pydantic>=2.8.2, <3", "pyjwt>=2.0.0, <3", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "
|
|
11
|
+
dependencies = [ "anyio>=3.5.0,<5", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=2024.6.1,<2026", "h2>=4.3.0,<5", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<3", "packaging>=20.9,<26", "pandas>=2.1.4,<3", "platformdirs<5", "pyarrow<19.0.0", "pydantic>=2.8.2, <3", "pyjwt>=2.0.0, <3", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "scikit-learn<1.8", "scipy>=1.9,<2", "shap>=0.46.0,<1", "snowflake-connector-python[pandas]>=3.17.3,<5", "snowflake-snowpark-python>=1.17.0,<2,!=1.26.0", "sqlparse>=0.4,<1", "tqdm<5", "typing-extensions>=4.1.0,<5", "xgboost<4",]
|
|
12
12
|
[[project.authors]]
|
|
13
13
|
name = "Snowflake, Inc"
|
|
14
14
|
email = "support@snowflake.com"
|
{snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/_internal/env_utils.py
RENAMED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import collections
|
|
2
2
|
import copy
|
|
3
|
+
import os
|
|
3
4
|
import pathlib
|
|
4
5
|
import re
|
|
6
|
+
import sys
|
|
5
7
|
import textwrap
|
|
6
8
|
import warnings
|
|
7
9
|
from enum import Enum
|
|
@@ -54,6 +56,24 @@ def get_execution_context() -> str:
|
|
|
54
56
|
return "EXTERNAL"
|
|
55
57
|
|
|
56
58
|
|
|
59
|
+
def is_local_conda_environment() -> bool:
|
|
60
|
+
"""Return True if the active Python interpreter appears to run inside a conda env
|
|
61
|
+
or under conda session context (e.g. a venv created inside an activated conda env).
|
|
62
|
+
|
|
63
|
+
Uses the presence of a ``conda-meta`` directory under :py:data:`sys.prefix`, which is
|
|
64
|
+
standard for conda-created environments. A nested venv typically has ``sys.prefix``
|
|
65
|
+
pointing at the venv without ``conda-meta``; conda still sets ``CONDA_PREFIX`` when
|
|
66
|
+
an environment is activated, so a non-empty ``CONDA_PREFIX`` is treated as conda context.
|
|
67
|
+
|
|
68
|
+
Returns:
|
|
69
|
+
``True`` if ``sys.prefix`` contains ``conda-meta`` or ``CONDA_PREFIX`` is set and
|
|
70
|
+
non-empty, else ``False``.
|
|
71
|
+
"""
|
|
72
|
+
if os.path.isdir(os.path.join(sys.prefix, "conda-meta")):
|
|
73
|
+
return True
|
|
74
|
+
return bool(os.environ.get("CONDA_PREFIX", "").strip())
|
|
75
|
+
|
|
76
|
+
|
|
57
77
|
def _validate_pip_requirement_string(req_str: str) -> requirements.Requirement:
|
|
58
78
|
"""Validate the input pip requirement string according to PEP 508.
|
|
59
79
|
|
{snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/feature_store/feature.py
RENAMED
|
@@ -12,9 +12,12 @@ from typing import Any, Optional
|
|
|
12
12
|
from snowflake.ml.feature_store.aggregation import (
|
|
13
13
|
AggregationSpec,
|
|
14
14
|
AggregationType,
|
|
15
|
+
interval_to_seconds,
|
|
15
16
|
is_lifetime_window,
|
|
16
17
|
)
|
|
17
18
|
|
|
19
|
+
_NO_OFFSET = "0"
|
|
20
|
+
|
|
18
21
|
|
|
19
22
|
class Feature:
|
|
20
23
|
"""Fluent builder for defining features in a FeatureView.
|
|
@@ -96,6 +99,11 @@ class Feature:
|
|
|
96
99
|
else:
|
|
97
100
|
window_suffix = self._window.replace(" ", "").lower()
|
|
98
101
|
base_name = f"{self._column}_{self._function.value}_{window_suffix}"
|
|
102
|
+
|
|
103
|
+
offset_seconds = interval_to_seconds(self._offset) if self._offset != _NO_OFFSET else 0
|
|
104
|
+
if offset_seconds > 0:
|
|
105
|
+
offset_suffix = self._offset.replace(" ", "").lower()
|
|
106
|
+
base_name = f"{base_name}_offset_{offset_suffix}"
|
|
99
107
|
return base_name.upper()
|
|
100
108
|
|
|
101
109
|
# Factory methods for creating features
|
|
@@ -190,11 +190,6 @@ def create_online_service(
|
|
|
190
190
|
error_code=error_codes.INVALID_ARGUMENT,
|
|
191
191
|
original_exception=ValueError("producer_role and consumer_role must be non-empty."),
|
|
192
192
|
)
|
|
193
|
-
if producer_role.strip() == consumer_role.strip():
|
|
194
|
-
raise snowml_exceptions.SnowflakeMLException(
|
|
195
|
-
error_code=error_codes.INVALID_ARGUMENT,
|
|
196
|
-
original_exception=ValueError("producer_role and consumer_role must be different roles."),
|
|
197
|
-
)
|
|
198
193
|
payload = json.dumps(
|
|
199
194
|
{
|
|
200
195
|
"roles": {
|
{snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/jobs/_utils/payload_utils.py
RENAMED
|
@@ -7,7 +7,14 @@ import logging
|
|
|
7
7
|
import pickle
|
|
8
8
|
import sys
|
|
9
9
|
import textwrap
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from importlib.resources.abc import (
|
|
13
|
+
Traversable, # Python 3.12+; importlib.abc.Traversable is deprecated
|
|
14
|
+
)
|
|
15
|
+
except ImportError:
|
|
16
|
+
from importlib.abc import Traversable
|
|
17
|
+
|
|
11
18
|
from pathlib import Path, PurePath
|
|
12
19
|
from types import ModuleType
|
|
13
20
|
from typing import IO, Any, Callable, Optional, Union, cast, get_args, get_origin
|
|
@@ -24,7 +24,7 @@ class FillMaskTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
24
24
|
**kwargs: Any,
|
|
25
25
|
) -> Any:
|
|
26
26
|
input_data = X[signature.inputs[0].name].to_list()
|
|
27
|
-
return getattr(raw_model, target_method)(input_data)
|
|
27
|
+
return getattr(raw_model, target_method)(input_data, **kwargs)
|
|
28
28
|
|
|
29
29
|
@override
|
|
30
30
|
def _needs_list_wrapping(
|
|
@@ -27,7 +27,7 @@ class ImageClassificationTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
27
27
|
|
|
28
28
|
input_col = signature.inputs[0].name
|
|
29
29
|
images = [Image.open(io.BytesIO(img_bytes)) for img_bytes in X[input_col].to_list()]
|
|
30
|
-
return getattr(raw_model, target_method)(images)
|
|
30
|
+
return getattr(raw_model, target_method)(images, **kwargs)
|
|
31
31
|
|
|
32
32
|
@override
|
|
33
33
|
def _needs_list_wrapping(
|
|
@@ -27,4 +27,4 @@ class ImageFeatureExtractionTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
27
27
|
|
|
28
28
|
input_col = signature.inputs[0].name
|
|
29
29
|
images = [Image.open(io.BytesIO(img_bytes)) for img_bytes in X[input_col].to_list()]
|
|
30
|
-
return getattr(raw_model, target_method)(images)
|
|
30
|
+
return getattr(raw_model, target_method)(images, **kwargs)
|
|
@@ -28,7 +28,7 @@ class ObjectDetectionTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
28
28
|
|
|
29
29
|
input_col = signature.inputs[0].name
|
|
30
30
|
images = [Image.open(io.BytesIO(img_bytes)) for img_bytes in X[input_col].to_list()]
|
|
31
|
-
return getattr(raw_model, target_method)(images)
|
|
31
|
+
return getattr(raw_model, target_method)(images, **kwargs)
|
|
32
32
|
|
|
33
33
|
@override
|
|
34
34
|
def _needs_list_wrapping(
|
|
@@ -24,7 +24,7 @@ class QuestionAnsweringTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
24
24
|
**kwargs: Any,
|
|
25
25
|
) -> Any:
|
|
26
26
|
input_data = X.to_dict(orient="records")
|
|
27
|
-
return getattr(raw_model, target_method)(input_data)
|
|
27
|
+
return getattr(raw_model, target_method)(input_data, **kwargs)
|
|
28
28
|
|
|
29
29
|
@override
|
|
30
30
|
def _needs_list_wrapping(
|
|
@@ -25,7 +25,7 @@ class TableQuestionAnsweringTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
25
25
|
) -> Any:
|
|
26
26
|
X["table"] = X["table"].apply(json.loads)
|
|
27
27
|
input_data = X.to_dict(orient="records")
|
|
28
|
-
return getattr(raw_model, target_method)(input_data)
|
|
28
|
+
return getattr(raw_model, target_method)(input_data, **kwargs)
|
|
29
29
|
|
|
30
30
|
@override
|
|
31
31
|
def _needs_list_wrapping(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from typing import TYPE_CHECKING, Any
|
|
2
2
|
|
|
3
|
+
import numpy as np
|
|
3
4
|
import pandas as pd
|
|
4
5
|
from typing_extensions import override
|
|
5
6
|
|
|
@@ -24,7 +25,13 @@ class TextClassificationTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
24
25
|
**kwargs: Any,
|
|
25
26
|
) -> Any:
|
|
26
27
|
input_data = X[signature.inputs[0].name].to_list()
|
|
27
|
-
|
|
28
|
+
# TextClassificationPipeline._sanitize_parameters uses isinstance(top_k, int)
|
|
29
|
+
# which rejects np.int64 values arriving from Snowflake UDF DataFrames.
|
|
30
|
+
native_kwargs = {
|
|
31
|
+
k: int(v) if isinstance(v, np.integer) else float(v) if isinstance(v, np.floating) else v
|
|
32
|
+
for k, v in kwargs.items()
|
|
33
|
+
}
|
|
34
|
+
return getattr(raw_model, target_method)(input_data, **native_kwargs)
|
|
28
35
|
|
|
29
36
|
@override
|
|
30
37
|
def _needs_list_wrapping(
|
|
@@ -39,7 +39,7 @@ class VideoClassificationTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
39
39
|
temp_file.flush()
|
|
40
40
|
temp_file_paths.append(temp_file.name)
|
|
41
41
|
temp_files.append(temp_file)
|
|
42
|
-
return getattr(raw_model, target_method)(temp_file_paths)
|
|
42
|
+
return getattr(raw_model, target_method)(temp_file_paths, **kwargs)
|
|
43
43
|
finally:
|
|
44
44
|
for f in temp_files:
|
|
45
45
|
f.close()
|
|
@@ -37,7 +37,7 @@ class VisualQuestionAnsweringTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
37
37
|
def process_row(row: pd.Series) -> Any:
|
|
38
38
|
pil_image = Image.open(io.BytesIO(row[input_col]))
|
|
39
39
|
extra_kwargs = {k: row[k] for k in row.index if k != input_col}
|
|
40
|
-
return getattr(raw_model, target_method)(pil_image, **extra_kwargs)
|
|
40
|
+
return getattr(raw_model, target_method)(pil_image, **extra_kwargs, **kwargs)
|
|
41
41
|
|
|
42
42
|
return X.apply(process_row, axis=1).to_list()
|
|
43
43
|
|
|
@@ -24,7 +24,7 @@ class ZeroShotAudioClassificationTaskHandler(_task_handler.HuggingFaceTaskHandle
|
|
|
24
24
|
) -> Any:
|
|
25
25
|
def process_row(row: pd.Series) -> Any:
|
|
26
26
|
return getattr(raw_model, target_method)(
|
|
27
|
-
row[signature.inputs[0].name], candidate_labels=row["candidate_labels"]
|
|
27
|
+
row[signature.inputs[0].name], candidate_labels=row["candidate_labels"], **kwargs
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
return X.apply(process_row, axis=1).to_list()
|
|
@@ -27,6 +27,6 @@ class ZeroShotImageClassificationTaskHandler(_task_handler.HuggingFaceTaskHandle
|
|
|
27
27
|
|
|
28
28
|
def process_row(row: pd.Series) -> Any:
|
|
29
29
|
pil_image = Image.open(io.BytesIO(row[signature.inputs[0].name]))
|
|
30
|
-
return getattr(raw_model, target_method)(pil_image, candidate_labels=row["candidate_labels"])
|
|
30
|
+
return getattr(raw_model, target_method)(pil_image, candidate_labels=row["candidate_labels"], **kwargs)
|
|
31
31
|
|
|
32
32
|
return X.apply(process_row, axis=1).to_list()
|
|
@@ -27,6 +27,6 @@ class ZeroShotObjectDetectionTaskHandler(_task_handler.HuggingFaceTaskHandler):
|
|
|
27
27
|
|
|
28
28
|
def process_row(row: pd.Series) -> Any:
|
|
29
29
|
pil_image = Image.open(io.BytesIO(row[signature.inputs[0].name]))
|
|
30
|
-
return getattr(raw_model, target_method)(pil_image, candidate_labels=row["candidate_labels"])
|
|
30
|
+
return getattr(raw_model, target_method)(pil_image, candidate_labels=row["candidate_labels"], **kwargs)
|
|
31
31
|
|
|
32
32
|
return X.apply(process_row, axis=1).to_list()
|
|
@@ -24,7 +24,7 @@ class ZeroShotTextClassificationTaskHandler(_task_handler.HuggingFaceTaskHandler
|
|
|
24
24
|
) -> Any:
|
|
25
25
|
def process_row(row: pd.Series) -> Any:
|
|
26
26
|
return getattr(raw_model, target_method)(
|
|
27
|
-
row[signature.inputs[0].name], candidate_labels=row["candidate_labels"]
|
|
27
|
+
row[signature.inputs[0].name], candidate_labels=row["candidate_labels"], **kwargs
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
return X.apply(process_row, axis=1).to_list()
|
|
@@ -31,6 +31,32 @@ _SNOWFLAKE_PKG_NAME = "snowflake"
|
|
|
31
31
|
_SNOWFLAKE_ML_PKG_NAME = f"{_SNOWFLAKE_PKG_NAME}.ml"
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
def _resolve_prefer_pip(
|
|
35
|
+
*,
|
|
36
|
+
target_platforms: Optional[list[model_types.TargetPlatform]],
|
|
37
|
+
conda_dependencies: Optional[list[str]],
|
|
38
|
+
) -> bool:
|
|
39
|
+
"""Return whether automatic packaging deps should go on pip (vs conda).
|
|
40
|
+
|
|
41
|
+
True for SPCS-only ``target_platforms``, or when ``model_env._ENABLE_PIP_ONLY_PACKAGING``
|
|
42
|
+
is set (client import of ``enable_pip_only_packaging``), the user gave no conda
|
|
43
|
+
dependencies, and :func:`~snowflake.ml._internal.env_utils.is_local_conda_environment`
|
|
44
|
+
is false.
|
|
45
|
+
|
|
46
|
+
Args:
|
|
47
|
+
target_platforms: Deployment targets for the model, or ``None`` for defaults.
|
|
48
|
+
conda_dependencies: User-specified conda dependency strings, or ``None`` / empty if none.
|
|
49
|
+
|
|
50
|
+
Returns:
|
|
51
|
+
Whether ``ModelEnv`` should prefer pip when adding automatic packaging dependencies.
|
|
52
|
+
"""
|
|
53
|
+
if target_platforms == [model_types.TargetPlatform.SNOWPARK_CONTAINER_SERVICES]:
|
|
54
|
+
return True
|
|
55
|
+
return bool(
|
|
56
|
+
model_env._ENABLE_PIP_ONLY_PACKAGING and not conda_dependencies and not env_utils.is_local_conda_environment()
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
|
|
34
60
|
@contextmanager
|
|
35
61
|
def create_model_metadata(
|
|
36
62
|
*,
|
|
@@ -103,7 +129,10 @@ def create_model_metadata(
|
|
|
103
129
|
else:
|
|
104
130
|
raise ValueError("`snowflake.ml` is imported via a way that embedding local ML library is not supported.")
|
|
105
131
|
|
|
106
|
-
prefer_pip =
|
|
132
|
+
prefer_pip = _resolve_prefer_pip(
|
|
133
|
+
target_platforms=target_platforms,
|
|
134
|
+
conda_dependencies=conda_dependencies,
|
|
135
|
+
)
|
|
107
136
|
env = _create_env_for_model_metadata(
|
|
108
137
|
conda_dependencies=conda_dependencies,
|
|
109
138
|
pip_requirements=pip_requirements,
|
{snowflake_ml_python-1.37.0 → snowflake_ml_python-1.38.0}/snowflake/ml/model/_signatures/utils.py
RENAMED
|
@@ -139,6 +139,10 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
139
139
|
shape=(-1,),
|
|
140
140
|
),
|
|
141
141
|
],
|
|
142
|
+
params=[
|
|
143
|
+
core.ParamSpec(name="targets", dtype=core.DataType.STRING, default_value=None, shape=(-1,)),
|
|
144
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=None),
|
|
145
|
+
],
|
|
142
146
|
)
|
|
143
147
|
|
|
144
148
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.TokenClassificationPipeline
|
|
@@ -163,6 +167,15 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
163
167
|
|
|
164
168
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.QuestionAnsweringPipeline
|
|
165
169
|
if task == "question-answering":
|
|
170
|
+
qa_params = [
|
|
171
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=1),
|
|
172
|
+
core.ParamSpec(name="doc_stride", dtype=core.DataType.INT64, default_value=128),
|
|
173
|
+
core.ParamSpec(name="max_answer_len", dtype=core.DataType.INT64, default_value=15),
|
|
174
|
+
core.ParamSpec(name="max_seq_len", dtype=core.DataType.INT64, default_value=384),
|
|
175
|
+
core.ParamSpec(name="max_question_len", dtype=core.DataType.INT64, default_value=64),
|
|
176
|
+
core.ParamSpec(name="handle_impossible_answer", dtype=core.DataType.BOOL, default_value=False),
|
|
177
|
+
core.ParamSpec(name="align_to_words", dtype=core.DataType.BOOL, default_value=True),
|
|
178
|
+
]
|
|
166
179
|
# If top_k and topk is not set or set to 1, then the output is a dict per input, thus we could expand.
|
|
167
180
|
if params.get("top_k", 1) == 1 and params.get("topk", 1) == 1:
|
|
168
181
|
return core.ModelSignature(
|
|
@@ -176,6 +189,7 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
176
189
|
core.FeatureSpec(name="end", dtype=core.DataType.INT64),
|
|
177
190
|
core.FeatureSpec(name="answer", dtype=core.DataType.STRING),
|
|
178
191
|
],
|
|
192
|
+
params=qa_params,
|
|
179
193
|
)
|
|
180
194
|
# Else it is a list of dict per input.
|
|
181
195
|
return core.ModelSignature(
|
|
@@ -195,6 +209,7 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
195
209
|
shape=(-1,),
|
|
196
210
|
),
|
|
197
211
|
],
|
|
212
|
+
params=qa_params,
|
|
198
213
|
)
|
|
199
214
|
|
|
200
215
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.SummarizationPipeline
|
|
@@ -229,10 +244,19 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
229
244
|
core.FeatureSpec(name="cells", dtype=core.DataType.STRING, shape=(-1,)),
|
|
230
245
|
core.FeatureSpec(name="aggregator", dtype=core.DataType.STRING),
|
|
231
246
|
],
|
|
247
|
+
params=[
|
|
248
|
+
core.ParamSpec(name="sequential", dtype=core.DataType.BOOL, default_value=False),
|
|
249
|
+
core.ParamSpec(name="padding", dtype=core.DataType.STRING, default_value=None),
|
|
250
|
+
core.ParamSpec(name="truncation", dtype=core.DataType.STRING, default_value=None),
|
|
251
|
+
],
|
|
232
252
|
)
|
|
233
253
|
|
|
234
254
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.TextClassificationPipeline
|
|
235
255
|
if task == "text-classification" or task == "sentiment-analysis":
|
|
256
|
+
text_cls_params = [
|
|
257
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=1),
|
|
258
|
+
core.ParamSpec(name="function_to_apply", dtype=core.DataType.STRING, default_value=None),
|
|
259
|
+
]
|
|
236
260
|
# If top_k is set, return a list of dict per input
|
|
237
261
|
if params.get("top_k", None) is not None:
|
|
238
262
|
return core.ModelSignature(
|
|
@@ -249,6 +273,7 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
249
273
|
shape=(-1,),
|
|
250
274
|
),
|
|
251
275
|
],
|
|
276
|
+
params=text_cls_params,
|
|
252
277
|
)
|
|
253
278
|
# Else, return a dict per input
|
|
254
279
|
return core.ModelSignature(
|
|
@@ -259,6 +284,7 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
259
284
|
core.FeatureSpec(name="label", dtype=core.DataType.STRING),
|
|
260
285
|
core.FeatureSpec(name="score", dtype=core.DataType.DOUBLE),
|
|
261
286
|
],
|
|
287
|
+
params=text_cls_params,
|
|
262
288
|
)
|
|
263
289
|
|
|
264
290
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ImageClassificationPipeline
|
|
@@ -277,6 +303,11 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
277
303
|
shape=(-1,),
|
|
278
304
|
),
|
|
279
305
|
],
|
|
306
|
+
params=[
|
|
307
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=5),
|
|
308
|
+
core.ParamSpec(name="function_to_apply", dtype=core.DataType.STRING, default_value=None),
|
|
309
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
310
|
+
],
|
|
280
311
|
)
|
|
281
312
|
|
|
282
313
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.AutomaticSpeechRecognitionPipeline
|
|
@@ -319,6 +350,12 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
319
350
|
shape=(-1,),
|
|
320
351
|
),
|
|
321
352
|
],
|
|
353
|
+
params=[
|
|
354
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=5),
|
|
355
|
+
core.ParamSpec(name="num_frames", dtype=core.DataType.INT64, default_value=None),
|
|
356
|
+
core.ParamSpec(name="frame_sampling_rate", dtype=core.DataType.INT64, default_value=1),
|
|
357
|
+
core.ParamSpec(name="function_to_apply", dtype=core.DataType.STRING, default_value="softmax"),
|
|
358
|
+
],
|
|
322
359
|
)
|
|
323
360
|
|
|
324
361
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.DocumentQuestionAnsweringPipeline
|
|
@@ -359,6 +396,10 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
359
396
|
shape=(-1,),
|
|
360
397
|
),
|
|
361
398
|
],
|
|
399
|
+
params=[
|
|
400
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=5),
|
|
401
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
402
|
+
],
|
|
362
403
|
)
|
|
363
404
|
|
|
364
405
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ImageFeatureExtractionPipeline
|
|
@@ -370,6 +411,9 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
370
411
|
outputs=[
|
|
371
412
|
core.FeatureSpec(name="feature_extraction", dtype=core.DataType.DOUBLE, shape=(-1,)),
|
|
372
413
|
],
|
|
414
|
+
params=[
|
|
415
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
416
|
+
],
|
|
373
417
|
)
|
|
374
418
|
|
|
375
419
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ImageToTextPipeline
|
|
@@ -414,6 +458,10 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
414
458
|
shape=(-1,),
|
|
415
459
|
),
|
|
416
460
|
],
|
|
461
|
+
params=[
|
|
462
|
+
core.ParamSpec(name="threshold", dtype=core.DataType.DOUBLE, default_value=0.5),
|
|
463
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
464
|
+
],
|
|
417
465
|
)
|
|
418
466
|
|
|
419
467
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ZeroShotImageClassificationPipeline
|
|
@@ -433,6 +481,12 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
433
481
|
shape=(-1,),
|
|
434
482
|
),
|
|
435
483
|
],
|
|
484
|
+
params=[
|
|
485
|
+
core.ParamSpec(
|
|
486
|
+
name="hypothesis_template", dtype=core.DataType.STRING, default_value="This is a photo of {}."
|
|
487
|
+
),
|
|
488
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
489
|
+
],
|
|
436
490
|
)
|
|
437
491
|
|
|
438
492
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ZeroShotObjectDetectionPipeline
|
|
@@ -461,6 +515,11 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
461
515
|
shape=(-1,),
|
|
462
516
|
),
|
|
463
517
|
],
|
|
518
|
+
params=[
|
|
519
|
+
core.ParamSpec(name="threshold", dtype=core.DataType.DOUBLE, default_value=0.1),
|
|
520
|
+
core.ParamSpec(name="top_k", dtype=core.DataType.INT64, default_value=None),
|
|
521
|
+
core.ParamSpec(name="timeout", dtype=core.DataType.DOUBLE, default_value=None),
|
|
522
|
+
],
|
|
464
523
|
)
|
|
465
524
|
|
|
466
525
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.TextGenerationPipeline
|
|
@@ -470,28 +529,7 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
470
529
|
f"Auto deployment for HuggingFace pipeline {task} "
|
|
471
530
|
"when `return_tensors` set to `True` has not been supported yet."
|
|
472
531
|
)
|
|
473
|
-
|
|
474
|
-
return core.ModelSignature(
|
|
475
|
-
inputs=[
|
|
476
|
-
core.FeatureGroupSpec(
|
|
477
|
-
name="inputs",
|
|
478
|
-
specs=[
|
|
479
|
-
core.FeatureSpec(name="role", dtype=core.DataType.STRING),
|
|
480
|
-
core.FeatureSpec(name="content", dtype=core.DataType.STRING),
|
|
481
|
-
],
|
|
482
|
-
shape=(-1,),
|
|
483
|
-
),
|
|
484
|
-
],
|
|
485
|
-
outputs=[
|
|
486
|
-
core.FeatureGroupSpec(
|
|
487
|
-
name="outputs",
|
|
488
|
-
specs=[
|
|
489
|
-
core.FeatureSpec(name="generated_text", dtype=core.DataType.STRING),
|
|
490
|
-
],
|
|
491
|
-
shape=(-1,),
|
|
492
|
-
)
|
|
493
|
-
],
|
|
494
|
-
)
|
|
532
|
+
return openai_signatures._OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC
|
|
495
533
|
|
|
496
534
|
if task == "text-generation" and not has_chat_template:
|
|
497
535
|
if params.get("return_tensors", False):
|
|
@@ -523,8 +561,11 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
523
561
|
"when `return_tensors` set to `True` has not been supported yet."
|
|
524
562
|
)
|
|
525
563
|
# Always generate a dict per input
|
|
526
|
-
# defaulting to
|
|
527
|
-
|
|
564
|
+
# defaulting to OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC for image-text-to-text,
|
|
565
|
+
# video-text-to-text, and audio-text-to-text pipelines so inference controls
|
|
566
|
+
# (temperature, max_completion_tokens, etc.) are exposed as params with defaults
|
|
567
|
+
# rather than required input columns.
|
|
568
|
+
return openai_signatures._OPENAI_CHAT_SIGNATURE_WITH_PARAMS_SPEC
|
|
528
569
|
|
|
529
570
|
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.Text2TextGenerationPipeline
|
|
530
571
|
if task == "text2text-generation":
|
|
@@ -570,6 +611,36 @@ def huggingface_pipeline_signature_auto_infer(
|
|
|
570
611
|
core.FeatureSpec(name="labels", dtype=core.DataType.STRING, shape=(-1,)),
|
|
571
612
|
core.FeatureSpec(name="scores", dtype=core.DataType.DOUBLE, shape=(-1,)),
|
|
572
613
|
],
|
|
614
|
+
params=[
|
|
615
|
+
core.ParamSpec(
|
|
616
|
+
name="hypothesis_template", dtype=core.DataType.STRING, default_value="This example is {}."
|
|
617
|
+
),
|
|
618
|
+
core.ParamSpec(name="multi_label", dtype=core.DataType.BOOL, default_value=False),
|
|
619
|
+
],
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
# https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.ZeroShotAudioClassificationPipeline
|
|
623
|
+
if task == "zero-shot-audio-classification":
|
|
624
|
+
return core.ModelSignature(
|
|
625
|
+
inputs=[
|
|
626
|
+
core.FeatureSpec(name="audio", dtype=core.DataType.BYTES),
|
|
627
|
+
core.FeatureSpec(name="candidate_labels", dtype=core.DataType.STRING, shape=(-1,)),
|
|
628
|
+
],
|
|
629
|
+
outputs=[
|
|
630
|
+
core.FeatureGroupSpec(
|
|
631
|
+
name="labels",
|
|
632
|
+
specs=[
|
|
633
|
+
core.FeatureSpec(name="label", dtype=core.DataType.STRING),
|
|
634
|
+
core.FeatureSpec(name="score", dtype=core.DataType.DOUBLE),
|
|
635
|
+
],
|
|
636
|
+
shape=(-1,),
|
|
637
|
+
),
|
|
638
|
+
],
|
|
639
|
+
params=[
|
|
640
|
+
core.ParamSpec(
|
|
641
|
+
name="hypothesis_template", dtype=core.DataType.STRING, default_value="This is a sound of {}."
|
|
642
|
+
),
|
|
643
|
+
],
|
|
573
644
|
)
|
|
574
645
|
|
|
575
646
|
return None
|