import gradio as gr title = "PubMedBERT" description = "Gradio Demo for PubMedBERT. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "

Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing | HF model page

" examples = [ ["[MASK] is a tumor suppressor gene."] ] gr.Interface.load("huggingface/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()