Spaces:
Runtime error
Runtime error
ajitrajasekharan
commited on
Commit
·
e5f9e95
1
Parent(s):
5bd546a
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
title = "Model for Biomedical NER"
|
3 |
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."
|
4 |
-
article = "<p style='text-align: center'><a href='https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html' target='_blank'>Model pretrained on biomedical corpus and used for NER without fine-tuning</a> | <a href='https://huggingface.co/ajitrajasekharan/biomedical' target='_blank'>HF model page</a></p><p style='text-align: left; color: #6f6f6f'><a href='https://huggingface.co/spaces/ajitrajasekharan/Qualitative-pretrained-model-evaluation' target='_blank'><br/><
|
5 |
examples = [
|
6 |
["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]"]
|
7 |
]
|
|
|
1 |
import gradio as gr
|
2 |
title = "Model for Biomedical NER"
|
3 |
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."
|
4 |
+
article = "<p style='text-align: center'><a href='https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html' target='_blank'>Model pretrained on biomedical corpus and used for NER without fine-tuning</a> | <a href='https://huggingface.co/ajitrajasekharan/biomedical' target='_blank'>HF model page</a></p><p style='text-align: left; color: #6f6f6f'><a href='https://huggingface.co/spaces/ajitrajasekharan/Qualitative-pretrained-model-evaluation' target='_blank'><br/><I><u>Note:Streamlit version of this app is a better choice to examine model than this app:-</u> <br/>- Control over number of results to display<br/>- Examine both masked position and [CLS] predictions <br/>- Compare this model results with other pretrained BERT models.</i></a></p>"
|
5 |
examples = [
|
6 |
["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]"]
|
7 |
]
|