Commit
·
edd84ab
1
Parent(s):
96dc1a0
Update app.py
Browse files
app.py
CHANGED
@@ -29,4 +29,5 @@ gr.Interface(fn=predict,
|
|
29 |
inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),
|
30 |
title="Mask Language Modeling - Demo",
|
31 |
outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES),
|
|
|
32 |
examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()
|
|
|
29 |
inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),
|
30 |
title="Mask Language Modeling - Demo",
|
31 |
outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES),
|
32 |
+
description="Masked language modeling is the task of masking some of the words in a sentence and predicting which words should replace those masks",
|
33 |
examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()
|