# Copyright 2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
  name: mlx-config
  namespace: kubeflow
data:
  config.json: |
    {
      "pipelines":[
      ],
      "components": [
          {
            "name": "Train Spark Model - IBM Cloud",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/spark/train_spark/component.yaml"
          },
          {
            "name": "Serve PyTorch Model - Seldon Core",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/ffdl/serve/component.yaml"
          },
          {
            "name": "Deploy Model - Watson Machine Learning",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/watson/deploy/component.yaml"
          },
          {
            "name": "Train Model - Fabric for Deep Learning",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/ffdl/train/component.yaml"
          },
          {
            "name": "Model Robustness Check - PyTorch",
            "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/component-samples/metrics/robustness_checker/component.yaml"
          },
          {
            "name": "Model Fairness Check - PyTorch",
            "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/component-samples/metrics/bias_detector/component.yaml"
          },
          {
            "name": "Deploy Model - Kubernetes",
            "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/component-samples/kubernetes/kube_deployment/component.yaml"
          },
          {
            "name": "Deploy Model - Knative",
            "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/component-samples/knative/knative_container_deployment/component.yaml"
          },
          {
            "name": "Subscribe - Watson OpenScale",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/watson/manage/subscribe/component.yaml"
          },
          {
            "name": "Store model - Watson Machine Learning",
            "source": "https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/watson/store/component.yaml"
          },
          {
            "name": "Jupyter",
            "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/component-samples/jupyter/component.yaml"
          }
      ],
      "models": [
        {
          "name": "MAX Audio Classifier",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-audio-classifier.yaml"
        },
        {
          "name": "MAX Breast Cancer Mitosis Detector",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-breast-cancer-mitosis-detector.yaml"
        },
        {
          "name": "MAX Facial Age Estimator",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-facial-age-estimator.yaml"
        },
        {
          "name": "MAX Image Caption Generator",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-image-caption-generator.yaml"
        },
        {
          "name": "Image Completer",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/image-completer.yaml"
        },
        {
          "name": "MAX Image Segmenter",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-image-segmenter.yaml"
        },
        {
          "name": "MAX News Text Generator",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-news-text-generator.yaml"
        },
        {
          "name": "MAX Object Detector",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-object-detector.yaml"
        },
        {
          "name": "MAX Sports Video Classifier",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-sports-video-classifier.yaml"
        },
        {
          "name": "MAX Weather Forecaster",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-weather-forecaster.yaml"
        }
      ],
      "notebooks": [
        {
          "name": "AIF360 Gender Classification",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/aif360-gender.yaml"
        },
        {
          "name": "ART detector model",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/art-detector.yaml"
        },
        {
          "name": "ART poisoning attack",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/art-poison.yaml"
        },
        {
          "name": "AIF360 Bias detection example",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/aif-bias.yaml"
        },
        {
          "name": "Watson OpenScale",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/watson-openscale.yaml"
        },
        {
          "name": "Watson OpenScale Walkthrough",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/OpenScale.yaml"
        },
        {
          "name": "Train and deploy with Watson Machine Learning",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/notebook-samples/watson-ml.yaml"
        }
      ],
      "datasets": [
        {
          "name": "Thematic Clustering",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/thematic_clustering.yaml"
        },
        {
          "name": "Finance Proposition Bank",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/fpb.yaml"
        },
        {
          "name": "Groningen Meaning Bank",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/gmb.yaml"
        },
        {
          "name": "NOAA Weather Data",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/jfk.yaml"
        },
        {
          "name": "PubLayNet",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/publaynet.yaml"
        },
        {
          "name": "PubTabNet",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/pubtabnet.yaml"
        },
        {
          "name": "TensorFlow Speech Commands",
          "source": "https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/dataset-samples/tsc.yaml"
        }
      ]
    }
