INTRODUCTION_MD = """
š¢Giskard Evaluator
Welcome to Giskard Evaluator Space! Get your report immediately by simply input your model id and dataset id below. Follow our leads and improve your model in no time.
"""
CONFIRM_MAPPING_DETAILS_MD = """
Confirm Pre-processing Details
Please confirm the pre-processing details below. Align the column names of your model in the dropdown menu to your dataset's. If you are not sure, please double check your model and dataset.
"""
CONFIRM_MAPPING_DETAILS_FAIL_MD = """
Confirm Pre-processing Details
Sorry, we cannot align the input/output of your dataset with the model. Pleaser double check your model and dataset.
"""
CONFIRM_MAPPING_DETAILS_FAIL_RAW = """
Sorry, we cannot align the input/output of your dataset with the model. Pleaser double check your model and dataset.
"""
CHECK_CONFIG_OR_SPLIT_RAW = """
Please check your dataset config or split.
"""
PREDICTION_SAMPLE_MD = """
Model Prediction Sample
Here is a sample prediction from your model based on your dataset.
"""
MAPPING_STYLED_ERROR_WARNING = """
Sorry, we cannot auto-align the labels/features of your dataset and model. Please double check.
"""
NOT_TEXT_CLASSIFICATION_MODEL_RAW = """
Your model does not fall under the category of text classification. This page is specifically designated for the evaluation of text classification models.
"""
USE_INFERENCE_API_TIP = """
We recommend to use
Hugging Face Inference API
for the evaluation,
which requires your HF token.
Otherwise, an
HF pipeline
will be created and run in this Space. It takes more time to get the result.
Do not worry, your HF token is only used in this Space for your evaluation.
"""
def get_styled_input(input):
return f"""
Sample input: {input}
"""