ZeroCommand commited on
Commit
3e88181
β€’
1 Parent(s): 6ce8c6e

change more wordings (#3)

Browse files

- add wording (34c767481227049dd14aec12b5b26b6ca7e22201)

Files changed (1) hide show
  1. wordings.py +4 -11
wordings.py CHANGED
@@ -14,7 +14,7 @@ CONFIRM_MAPPING_DETAILS_FAIL_MD = """
14
  <h1 style="text-align: center;">
15
  Confirm Pre-processing Details
16
  </h1>
17
- Sorry, we cannot align the input/output of your dataset with the model. <b>Pleaser double check your model and dataset.</b>
18
  """
19
 
20
  UNMATCHED_MODEL_DATASET = """
@@ -42,7 +42,7 @@ PREDICTION_SAMPLE_MD = """
42
 
43
  MAPPING_STYLED_ERROR_WARNING = """
44
  <h3 style="text-align: center;color: coral; background-color: #fff0f3; border-radius: 8px; padding: 10px; ">
45
- Sorry, we cannot auto-align the labels/features of your dataset and model. Please double check.
46
  </h3>
47
  """
48
 
@@ -51,21 +51,14 @@ NOT_TEXT_CLASSIFICATION_MODEL_RAW = """
51
  """
52
 
53
  USE_INFERENCE_API_TIP = """
54
- We recommend to use
55
  <a href="https://huggingface.co/docs/api-inference/detailed_parameters#text-classification-task">
56
  Hugging Face Inference API
57
  </a>
58
  for the evaluation,
59
  which requires your <a href="https://huggingface.co/settings/tokens">HF token</a>.
60
  <br/>
61
- Otherwise, an
62
- <a href="https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.TextClassificationPipeline">
63
- HF pipeline
64
- </a>
65
- will be created and run in this Space. It takes more time to get the result.
66
- <br/>
67
- <b>
68
- Do not worry, your HF token is only used in this Space for your evaluation.
69
  </b>
70
  """
71
 
 
14
  <h1 style="text-align: center;">
15
  Confirm Pre-processing Details
16
  </h1>
17
+ The format of your dataset with the model does not match. <b>Pleaser double check your model and dataset.</b>
18
  """
19
 
20
  UNMATCHED_MODEL_DATASET = """
 
42
 
43
  MAPPING_STYLED_ERROR_WARNING = """
44
  <h3 style="text-align: center;color: coral; background-color: #fff0f3; border-radius: 8px; padding: 10px; ">
45
+ We cannot auto-align the labels/features of your dataset and model. Please double check the info below and select correct mapping before submission.
46
  </h3>
47
  """
48
 
 
51
  """
52
 
53
  USE_INFERENCE_API_TIP = """
54
+ We are using
55
  <a href="https://huggingface.co/docs/api-inference/detailed_parameters#text-classification-task">
56
  Hugging Face Inference API
57
  </a>
58
  for the evaluation,
59
  which requires your <a href="https://huggingface.co/settings/tokens">HF token</a>.
60
  <br/>
61
+ Your HF token is only used in this Space for your evaluation.
 
 
 
 
 
 
 
62
  </b>
63
  """
64