Spaces:
Runtime error
Runtime error
import gradio as gr | |
title = "Mengzi-BERT" | |
description = "Gradio Demo for Mengzi-BERT base model (Chinese). To use it, simply add your text, or click one of the examples to load them. Read more at the links below." | |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2110.06696' target='_blank'>Mengzi: Towards Lightweight yet Ingenious Pre-trained Models for Chinese</a> | <a href='https://github.com/Langboat/Mengzi' target='_blank'>Github Repo</a></p>" | |
examples = [ | |
['ηζ΄»ηηθ°ζ―[MASK]γ'] | |
] | |
gr.Interface.load("huggingface/Langboat/mengzi-bert-base", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch() | |