hanyullai commited on
Commit
7bbae00
·
1 Parent(s): 86cd53a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -68,7 +68,6 @@ if __name__ == "__main__":
68
  gr.Markdown(
69
  """
70
  An Open Bilingual Pre-Trained Model. [Visit our github repo](https://github.com/THUDM/GLM-130B)
71
-
72
  GLM-130B uses two different mask tokens: `[MASK]` for short blank filling and `[gMASK]` for left-to-right long text generation. When the input does not contain any MASK token, `[gMASK]` will be automatically appended to the end of the text. We recommend that you use `[MASK]` to try text fill-in-the-blank to reduce wait time (ideally within seconds without queuing).
73
  """)
74
 
@@ -120,8 +119,7 @@ if __name__ == "__main__":
120
  gr.Markdown(
121
  """
122
  Try this! Disclaimer inspired from [BLOOM](https://huggingface.co/spaces/bigscience/bloom-book)
123
-
124
- As with all language models, it is hard to predict how GLM-130B will respond to particular prompts; harmful or otherwise offensive content may occur without warning. We prohibit users from knowingly generating or allowing others to knowingly generate harmful content, including Hateful, Harassment, Violence, Adult, Political, Deception, etc.
125
  """)
126
  gr_examples = gr.Examples(examples=examples, inputs=model_input)
127
 
 
68
  gr.Markdown(
69
  """
70
  An Open Bilingual Pre-Trained Model. [Visit our github repo](https://github.com/THUDM/GLM-130B)
 
71
  GLM-130B uses two different mask tokens: `[MASK]` for short blank filling and `[gMASK]` for left-to-right long text generation. When the input does not contain any MASK token, `[gMASK]` will be automatically appended to the end of the text. We recommend that you use `[MASK]` to try text fill-in-the-blank to reduce wait time (ideally within seconds without queuing).
72
  """)
73
 
 
119
  gr.Markdown(
120
  """
121
  Try this! Disclaimer inspired from [BLOOM](https://huggingface.co/spaces/bigscience/bloom-book)
122
+ As with all language models, it is hard to predict how GLM-130B will respond to particular prompts; harmful or otherwise offensive content may occur without warning. We prohibit users from knowingly generating or allowing others to knowingly generate harmful content, including Hateful, Harassment, Violence, Adult, Political, Deception, etc.
 
123
  """)
124
  gr_examples = gr.Examples(examples=examples, inputs=model_input)
125