import gradio as gr title = "Model for Biomedical NER" description = "Gradio Demo of a pretrained model used for NER without fine-tuning. To test model predictions, simply add your text, or click one of the examples to load them. These predictions are used to perform NER as described in the link below." article = "
Model pretrained on biomedical corpus and used for NER without fine-tuning | HF model page
" examples = [ ["Lou Gehrig who works for XCorp suffers from [MASK]"],["A [MASK] level below 60 indicates chronic kidney disease"],["There are no specific treatment options specifically indicated for [MASK]"],["Paul Erdos died at [MASK]"] ] gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples, allow_flagging="never",enable_queue=True).launch()