kleinay commited on
Commit
e427166
·
1 Parent(s): bba233c

add / change examples

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -10,9 +10,11 @@ pipelines = {model: QANomEndToEndPipeline(model) for model in models}
10
 
11
  description = f"""This is a demo of the full QANom Pipeline - identifying deverbal nominalizations and parsing them with question-answer driven semantic role labeling (QASRL) """
12
  title="QANom End-to-End Pipeline Demo"
13
- examples = [[models[0], "The doctor was interested in Luke 's treatment .", 0.75],
14
- [models[1], "The Veterinary student was interested in Luke 's treatment of sea animals .", 0.75],
15
- [models[1], "Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.75]]
 
 
16
 
17
  input_sent_box_label = "Insert sentence here, or select from the examples below"
18
  links = """<p style='text-align: center'>
 
10
 
11
  description = f"""This is a demo of the full QANom Pipeline - identifying deverbal nominalizations and parsing them with question-answer driven semantic role labeling (QASRL) """
12
  title="QANom End-to-End Pipeline Demo"
13
+ examples = [[models[1], "the construction of the officer 's building finished right after the beginning of the destruction of the previous construction .", 0.7],
14
+ [models[1], "The doctor asked about the progress in Luke 's treatment .", 0.75],
15
+ [models[0], "The Veterinary student was interested in Luke 's treatment of sea animals .", 0.75],
16
+ [models[1], "Some reviewers agreed that the criticism raised by the AC is mostly justified .", 0.5]]
17
+
18
 
19
  input_sent_box_label = "Insert sentence here, or select from the examples below"
20
  links = """<p style='text-align: center'>