Spaces:
Runtime error
Runtime error
Change hyperlinks to open in new windows
Browse files
app.py
CHANGED
@@ -63,11 +63,11 @@ footer = """
|
|
63 |
<hr>
|
64 |
This app automatically extracts drug names and adverse effects from the input text. An adverse effect occurs when a drug harms a patient in any way.
|
65 |
|
66 |
-
The extraction is done by a <a href=https://huggingface.co/jsylee/scibert_scivocab_uncased-finetuned-ner>SciBERT model</a> fine-tuned on the <a href=https://huggingface.co/datasets/ade_corpus_v2>`ade_corpus_v2`</a> dataset. Fine-tuning code <a href=https://github.com/jsylee/personal-projects/blob/master/Hugging%20Face%20ADR%20Fine-Tuning/SciBERT%20ADR%20Fine-Tuning.ipynb>here</a>.
|
67 |
|
68 |
This was made during the November 2021 Hugging Face Community Event.
|
69 |
|
70 |
-
By <a href=http://www.columbia.edu/~jsl2239/>Justin S. Lee</a>
|
71 |
"""
|
72 |
|
73 |
iface = gr.Interface(fn=extract_entities, inputs=gr.inputs.Textbox(lines=5, placeholder="Abortion, miscarriage or uterine hemorrhage associated with misoprostol..."),
|
|
|
63 |
<hr>
|
64 |
This app automatically extracts drug names and adverse effects from the input text. An adverse effect occurs when a drug harms a patient in any way.
|
65 |
|
66 |
+
The extraction is done by a <a target="_blank" rel="noopener noreferrer" href=https://huggingface.co/jsylee/scibert_scivocab_uncased-finetuned-ner>SciBERT model</a> fine-tuned on the <a target="_blank" rel="noopener noreferrer" href=https://huggingface.co/datasets/ade_corpus_v2>`ade_corpus_v2`</a> dataset. Fine-tuning code <a target="_blank" rel="noopener noreferrer" href=https://github.com/jsylee/personal-projects/blob/master/Hugging%20Face%20ADR%20Fine-Tuning/SciBERT%20ADR%20Fine-Tuning.ipynb>here</a>.
|
67 |
|
68 |
This was made during the November 2021 Hugging Face Community Event.
|
69 |
|
70 |
+
By <a target="_blank" rel="noopener noreferrer" href=http://www.columbia.edu/~jsl2239/>Justin S. Lee</a>
|
71 |
"""
|
72 |
|
73 |
iface = gr.Interface(fn=extract_entities, inputs=gr.inputs.Textbox(lines=5, placeholder="Abortion, miscarriage or uterine hemorrhage associated with misoprostol..."),
|