cyberandy commited on
Commit
ba22fae
1 Parent(s): 2b4cce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -24,6 +24,18 @@ def load_model(model_name, entity_set):
24
  # Use the cached model
25
  refined_model = load_model(selected_model_name, selected_entity_set)
26
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  # Helper functions
28
  def get_wikidata_id(entity_string):
29
  entity_list = entity_string.split("=")
 
24
  # Use the cached model
25
  refined_model = load_model(selected_model_name, selected_entity_set)
26
 
27
+ # Addi citation
28
+ citation = """
29
+ @inproceedings{ayoola-etal-2022-refined,
30
+ title = "{R}e{F}in{ED}: An Efficient Zero-shot-capable Approach to End-to-End Entity Linking",
31
+ author = "Tom Ayoola, Shubhi Tyagi, Joseph Fisher, Christos Christodoulopoulos, Andrea Pierleoni",
32
+ booktitle = "NAACL",
33
+ year = "2022"
34
+ }
35
+ """
36
+ with st.sidebar.beta_expander('Citations'):
37
+ st.markdown(citation)
38
+
39
  # Helper functions
40
  def get_wikidata_id(entity_string):
41
  entity_list = entity_string.split("=")