Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ about_page_markdown = f"""# π Find Papers With Similar Task
|
|
27 |
|
28 |
See
|
29 |
- GitHub: https://github.com/malteos/aspect-document-embeddings
|
30 |
-
- Paper:
|
31 |
- Model hub: https://huggingface.co/malteos/aspect-scibert-task
|
32 |
|
33 |
"""
|
@@ -146,11 +146,11 @@ def find_related_papers(paper_id, user_aspect):
|
|
146 |
|
147 |
# Page
|
148 |
st.title('Aspect-based Paper Similarity')
|
149 |
-
st.markdown("""This demo showcases [Specialized Document Embeddings for Aspect-based Research Paper Similarity](
|
150 |
|
151 |
# Introduction
|
152 |
st.markdown(f"""The model was trained using a triplet loss on machine learning papers from the [paperswithcode.com](https://paperswithcode.com/) corpus with the objective of pulling embeddings of papers with the same task, method, or dataset close together.
|
153 |
-
For a more comprehensive overview of the model check out the [model card on π€ Model Hub]({model_hub_url}) or read [our paper](
|
154 |
st.markdown("""Enter a ArXiv ID or a DOI of a paper for that you want find similar papers. The title and abstract of the input paper must be available through the [Semantic Scholar API](https://www.semanticscholar.org/product/api).
|
155 |
|
156 |
Try it yourself! π""",
|
|
|
27 |
|
28 |
See
|
29 |
- GitHub: https://github.com/malteos/aspect-document-embeddings
|
30 |
+
- Paper: https://arxiv.org/abs/2203.14541
|
31 |
- Model hub: https://huggingface.co/malteos/aspect-scibert-task
|
32 |
|
33 |
"""
|
|
|
146 |
|
147 |
# Page
|
148 |
st.title('Aspect-based Paper Similarity')
|
149 |
+
st.markdown("""This demo showcases [Specialized Document Embeddings for Aspect-based Research Paper Similarity](https://arxiv.org/abs/2203.14541).""")
|
150 |
|
151 |
# Introduction
|
152 |
st.markdown(f"""The model was trained using a triplet loss on machine learning papers from the [paperswithcode.com](https://paperswithcode.com/) corpus with the objective of pulling embeddings of papers with the same task, method, or dataset close together.
|
153 |
+
For a more comprehensive overview of the model check out the [model card on π€ Model Hub]({model_hub_url}) or read [our paper](https://arxiv.org/abs/2203.14541).""")
|
154 |
st.markdown("""Enter a ArXiv ID or a DOI of a paper for that you want find similar papers. The title and abstract of the input paper must be available through the [Semantic Scholar API](https://www.semanticscholar.org/product/api).
|
155 |
|
156 |
Try it yourself! π""",
|