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