Spaces:
Runtime error
Runtime error
File size: 803 Bytes
98f2c32 aa75607 98f2c32 bd8211d |
1 2 3 4 5 6 7 8 9 |
import gradio as gr
title = "Model for Biomedical NER"
description = "Gradio Demo of a pretrained model used for NER without supervised. 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/2007.15779' target='_blank'>Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing</a> | <a href='https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext' target='_blank'>HF model page</a></p>"
examples = [
["Lou Gehrig who works for XCorp suffers from [MASK]"]
]
gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples,enable_queue=True).launch()
|