Spaces:
Running
Running
ZeroCommand
commited on
Commit
•
1bcc148
1
Parent(s):
db8ac73
GSK-2730-wording-change (#111)
Browse files- change wordings (c781ff2501f90339b5f755f795c99a46d63076d5)
- wordings.py +11 -15
wordings.py
CHANGED
@@ -2,23 +2,23 @@ INTRODUCTION_MD = """
|
|
2 |
<h1 style="text-align: center;">
|
3 |
🐢Giskard Evaluator
|
4 |
</h1>
|
5 |
-
Welcome to Giskard Evaluator Space! Get
|
6 |
"""
|
7 |
CONFIRM_MAPPING_DETAILS_MD = """
|
8 |
<h1 style="text-align: center;">
|
9 |
Confirm Pre-processing Details
|
10 |
</h1>
|
11 |
-
|
12 |
"""
|
13 |
CONFIRM_MAPPING_DETAILS_FAIL_MD = """
|
14 |
<h1 style="text-align: center;">
|
15 |
Confirm Pre-processing Details
|
16 |
</h1>
|
17 |
-
|
18 |
"""
|
19 |
|
20 |
CONFIRM_MAPPING_DETAILS_FAIL_RAW = """
|
21 |
-
|
22 |
"""
|
23 |
|
24 |
CHECK_CONFIG_OR_SPLIT_RAW = """
|
@@ -33,12 +33,12 @@ PREDICTION_SAMPLE_MD = """
|
|
33 |
<h1 style="text-align: center;">
|
34 |
Model Prediction Sample
|
35 |
</h1>
|
36 |
-
Here
|
37 |
"""
|
38 |
|
39 |
MAPPING_STYLED_ERROR_WARNING = """
|
40 |
<h3 style="text-align: center;color: orange; background-color: #fff0f3; border-radius: 8px; padding: 10px; ">
|
41 |
-
⚠️ We
|
42 |
</h3>
|
43 |
"""
|
44 |
|
@@ -53,22 +53,18 @@ NOT_TEXT_CLASSIFICATION_MODEL_RAW = """
|
|
53 |
"""
|
54 |
|
55 |
USE_INFERENCE_API_TIP = """
|
56 |
-
|
57 |
<a href="https://huggingface.co/docs/api-inference/detailed_parameters#text-classification-task">
|
58 |
Hugging Face Inference API
|
59 |
</a>
|
60 |
-
|
61 |
-
which requires your <a href="https://huggingface.co/settings/tokens">HF token</a>.
|
62 |
<br/>
|
63 |
-
|
64 |
<a href="https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.TextClassificationPipeline">
|
65 |
-
|
66 |
</a>
|
67 |
-
will be
|
68 |
<br/>
|
69 |
-
<b>
|
70 |
-
Do not worry, your HF token is only used in this Space for your evaluation.
|
71 |
-
</b>
|
72 |
"""
|
73 |
|
74 |
HF_TOKEN_INVALID_STYLED= """
|
|
|
2 |
<h1 style="text-align: center;">
|
3 |
🐢Giskard Evaluator
|
4 |
</h1>
|
5 |
+
Welcome to the Giskard Evaluator Space! Get a model vulnerability report immediately by simply sharing your model and dataset id below.
|
6 |
"""
|
7 |
CONFIRM_MAPPING_DETAILS_MD = """
|
8 |
<h1 style="text-align: center;">
|
9 |
Confirm Pre-processing Details
|
10 |
</h1>
|
11 |
+
Make sure the output variable's labels and the input variable's name are accurately mapped across both the dataset and the model.
|
12 |
"""
|
13 |
CONFIRM_MAPPING_DETAILS_FAIL_MD = """
|
14 |
<h1 style="text-align: center;">
|
15 |
Confirm Pre-processing Details
|
16 |
</h1>
|
17 |
+
We're unable to automatically map the input variable's name and output variable's labels of your dataset with the model's. <b>Please manually check the mapping below.</b>
|
18 |
"""
|
19 |
|
20 |
CONFIRM_MAPPING_DETAILS_FAIL_RAW = """
|
21 |
+
We're unable to automatically map the input variable's name and output variable's labels of your dataset with the model's. <b>Please manually check the mapping below.</b>
|
22 |
"""
|
23 |
|
24 |
CHECK_CONFIG_OR_SPLIT_RAW = """
|
|
|
33 |
<h1 style="text-align: center;">
|
34 |
Model Prediction Sample
|
35 |
</h1>
|
36 |
+
Here's a sample of your model's prediction on an example from the dataset.
|
37 |
"""
|
38 |
|
39 |
MAPPING_STYLED_ERROR_WARNING = """
|
40 |
<h3 style="text-align: center;color: orange; background-color: #fff0f3; border-radius: 8px; padding: 10px; ">
|
41 |
+
⚠️ We're unable to automatically map the input variable's name and output variable's labels of your dataset with the model's. <b>Please manually check the mapping below.</b>
|
42 |
</h3>
|
43 |
"""
|
44 |
|
|
|
53 |
"""
|
54 |
|
55 |
USE_INFERENCE_API_TIP = """
|
56 |
+
To speed up the evaluation, we recommend using the
|
57 |
<a href="https://huggingface.co/docs/api-inference/detailed_parameters#text-classification-task">
|
58 |
Hugging Face Inference API
|
59 |
</a>
|
60 |
+
. Please input your <a href="https://huggingface.co/settings/tokens">Hugging Face token</a> to do so.
|
|
|
61 |
<br/>
|
62 |
+
Alternatively, a
|
63 |
<a href="https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.TextClassificationPipeline">
|
64 |
+
Hugging Face pipeline
|
65 |
</a>
|
66 |
+
will be run in this Space. This will take significantly more time to get results than via the Hugging Face Inference API.
|
67 |
<br/>
|
|
|
|
|
|
|
68 |
"""
|
69 |
|
70 |
HF_TOKEN_INVALID_STYLED= """
|